jdlh Posted July 17, 2012 Share Posted July 17, 2012 I've tried installing the JasperSoft commercial trial version of JasperServer on my Mac OS X 10.5.8 machine. Each time, the install appears to complete, and Tomcat is running, but the page at the JasperServer Pro URL, http://localhost:8080/jasperserver-pro/ , displays a page complaining about an HTTP Status 503 "This application is not currently available". The URL above, http://localhost:8080/, shows a Tomcat page which appears to indicate Tomcat is running.Any suggestions for how to diagnose this problem?The JasperServer Installation Guide for 4.7 isn't much help. It talks about manually deleting the catalina.pid file in order to allow Tomcat to start. However, I think Tomcat is starting. It's JasperServer that is not starting. I think.Thanks in advance for any tips. --Jim DeLaHunt, Vancouver BC Link to comment Share on other sites More sharing options...
jdlh Posted July 17, 2012 Author Share Posted July 17, 2012 I found some useful logs, in <js-install> /apache-tomcat/logs/*, esp catalina.out . It looks like Jasperserver is failing to start because my Java environment isn't sufficient. The trigger for the failure appears to be class com.jaspersoft.ji.adhoc.service.AdhocTempARUKiller .For what it's worth, my machine has Apple's JDK 1.6 installed:% java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-9M3425) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)But, this 1.6 applies only to 64-bit Java code. 32-bit Java code is given Java SE 1.5, not 1.6.The 4.7 Installation Guide says, "1.2 Java Version SupportedJasperReports Server supports Java 1.6 and 1.7. Versions earlier than Java 1.6 are not supported." So this might be my problem.Here's the contents of catalina.out:Jul 17, 2012 9:22:56 AM org.apache.catalina.core.AprLifecycleListener initINFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Applications/jasperreports-server-4.7/postgresql/lib:/Applications/jasperreports-server-4.7/common/lib::.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/javaJul 17, 2012 9:23:26 AM org.apache.coyote.http11.Http11Protocol initINFO: Initializing Coyote HTTP/1.1 on http-8080Jul 17, 2012 9:23:26 AM org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 31231 msJul 17, 2012 9:23:27 AM org.apache.catalina.core.StandardService startINFO: Starting service CatalinaJul 17, 2012 9:23:27 AM org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/6.0.26Jul 17, 2012 9:23:27 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor host-manager.xmlJul 17, 2012 9:23:27 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor jasperserver-pro.xmlJul 17, 2012 9:23:30 AM org.apache.tomcat.util.modeler.Registry registerComponentSEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/jasperserver-pro,J2EEApplication=none,J2EEServer=noneJul 17, 2012 9:23:30 AM org.apache.catalina.startup.HostConfig deployDescriptorSEVERE: Error deploying configuration descriptor jasperserver-pro.xmljava.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.jaspersoft.ji.adhoc.service.AdhocTempARUKiller) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2531) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361) at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1074) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4377) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)Jul 17, 2012 9:23:30 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor manager.xmlJul 17, 2012 9:23:30 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory docsJul 17, 2012 9:23:30 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory examplesJul 17, 2012 9:23:31 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory jasperserver-proJul 17, 2012 9:23:31 AM org.apache.tomcat.util.modeler.Registry registerComponentSEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/jasperserver-pro,J2EEApplication=none,J2EEServer=noneJul 17, 2012 9:23:31 AM org.apache.catalina.startup.HostConfig deployDirectorySEVERE: Error deploying web application directory jasperserver-projava.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.jaspersoft.ji.adhoc.service.AdhocTempARUKiller) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2531) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361) at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1074) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4377) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)Next step, see if I can find the code for class com.jaspersoft.ji.adhoc.service.AdhocTempARUKiller, and see what JDK it's asking for. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now