cheeseburger Posted July 22, 2014 Posted July 22, 2014 I'm trying to install JasperServer CE 5.6.0 from a WAR file on CentOS 6 against MySQL + yum-installed Tomcat 6.I followed the PDF guide for WAR file installation.The js-install-ce.sh script completes successfully. No errors.When I restart tomcat6, I see no errors. /var/log/tomcat6/catalina.out follows:Jul 22, 2014 8:18:36 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: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/libJul 22, 2014 8:18:36 AM org.apache.coyote.http11.Http11Protocol initINFO: Initializing Coyote HTTP/1.1 on http-8080Jul 22, 2014 8:18:36 AM org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 710 msJul 22, 2014 8:18:36 AM org.apache.catalina.core.StandardService startINFO: Starting service CatalinaJul 22, 2014 8:18:36 AM org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/6.0.24Jul 22, 2014 8:18:36 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor manager.xmlJul 22, 2014 8:18:37 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor host-manager.xmlJul 22, 2014 8:18:37 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory jasperserverJul 22, 2014 8:18:37 AM org.apache.coyote.http11.Http11Protocol startINFO: Starting Coyote HTTP/1.1 on http-8080Jul 22, 2014 8:18:37 AM org.apache.jk.common.ChannelSocket initINFO: JK: ajp13 listening on /0.0.0.0:8009Jul 22, 2014 8:18:37 AM org.apache.jk.server.JkMain startINFO: Jk running ID=0 time=0/24 config=nullJul 22, 2014 8:18:37 AM org.apache.catalina.startup.Catalina startINFO: Server startup in 1147 ms[/code]The latest APR is in /usr/lib, btw. Go figure.When I bring up a browser against http:localhost:8080/jasperserver/ I get a 404 error on home.htmlJDK 1.7 u65 (is this the problem?)/var/lib/tomcat6/webapps/jasperserver is owned by user tomcatI'm stumped.
hozawa Posted July 23, 2014 Posted July 23, 2014 Go to the Tomcat manager to check if JasperReports Server is actually running.With linux installations most often, it's not setting the headless in setenv.sh that cause the problem.-Djava.awt.headless=true
cheeseburger Posted July 23, 2014 Author Posted July 23, 2014 The CentOS Tomcat 6 package is broken. The farthest you can get with that package is a stream of ObjectUndef exceptions. It's not worth debugging unless one is very very very bored. Install the binary dist from Apache. In my case, Tomcat 7. Adjust the default_master.properties file, and run jsinstall-ce.sh again. "Java: build once, debug (slowly) everywhere..."
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