bbaley Posted May 11, 2012 Share Posted May 11, 2012 Hi,My jasperserver app was running fine until I came in this AM.Now, when I try to go to http://myserver:8080/jasperserver/or, when I attempt to nagivate to the app from within Tomcat/manager - I simply get a 404 on home.html.My logs are clean and no errors. Tomcat manager will start/stop the app just fine.postgres is running just fine - and all other apps within Tomcat are working as well.I do not see an actual file for home.html - should there be ?I only see a home.jsp in ./tomcat55/webapps/jasperserver/WEB-INF/jsp/modulesCan anyone help me figure out what I should check ? Thanks for any help or guidance ! I have included below, what appear to me to be normal, error free log files form tomcat;Code:catalina.outMay 11, 2012 8:53:34 AM org.apache.coyote.http11.Http11Protocol initINFO: Initializing Coyote HTTP/1.1 on http-8080May 11, 2012 8:53:34 AM org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 3503 msMay 11, 2012 8:53:34 AM org.apache.catalina.core.StandardService startINFO: Starting service CatalinaMay 11, 2012 8:53:34 AM org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/6.0.35May 11, 2012 8:53:34 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor manager.xmlMay 11, 2012 8:53:36 AM org.apache.catalina.startup.HostConfig deployDescriptorINFO: Deploying configuration descriptor host-manager.xmlMay 11, 2012 8:53:36 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory jasperserverMay 11, 2012 8:53:40 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory ROOTMay 11, 2012 8:53:40 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory examplesMay 11, 2012 8:53:41 AM org.apache.catalina.startup.HostConfig deployDirectoryINFO: Deploying web application directory docsMay 11, 2012 8:53:41 AM org.apache.coyote.http11.Http11Protocol startINFO: Starting Coyote HTTP/1.1 on http-8080May 11, 2012 8:53:41 AM org.apache.jk.common.ChannelSocket initINFO: JK: ajp13 listening on /0.0.0.0:8009May 11, 2012 8:53:41 AM org.apache.jk.server.JkMain startINFO: Jk running ID=0 time=0/109 config=nullMay 11, 2012 8:53:41 AM org.apache.catalina.startup.Catalina startINFO: Server startup in 7422 msMay 11, 2012 8:55:11 AM org.apache.catalina.core.StandardContext reloadINFO: Reloading Context with name [/jasperserver] has startedlocalhost.x.logMay 11, 2012 8:53:41 AM org.apache.catalina.core.ApplicationContext logINFO: ContextListener: contextInitialized()May 11, 2012 8:53:41 AM org.apache.catalina.core.ApplicationContext logINFO: SessionListener: contextInitialized()manager*.logMay 11, 2012 8:55:32 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: start: Starting web application at '/jasperserver'May 11, 2012 8:55:34 AM org.apache.catalina.core.ApplicationContext logINFO: HTMLManager: list: Listing contexts for virtual host 'localhost' Link to comment Share on other sites More sharing options...
sarahllong Posted May 18, 2012 Share Posted May 18, 2012 Hi Bbaley I had a simialr issue last week Thursday when trying to access: http://myserver:8080/jasperserver/login.htmlI also got a 404 "resource not found" error. All logs were fine, so I originally thought an update had upset things.My problem was a missing file - re-instating the file solved it. Perhaps this might help you too? jasperserver\apache-tomcat\conf\Catalina\localhost\host-manager.xml Good luckSarah Link to comment Share on other sites More sharing options...
komuw05 Posted January 30, 2014 Share Posted January 30, 2014 Hi,I had an almost similar problem, I solved it by stopping tomcat and postgres and then restarting the jasper server.ie;$ cd <jasper-install-folder>$ ./ctlscript.sh stop postgres$ ./ctlscript.sh stop tomcatthen go and restart the jasper server;$ ./ctlscript.sh startHowever, when you do$ ./ctlscript.sh stop tomcat you may get a message that tomcat was not stopped. What you need to do in such a case is remove tomcats catalina.pid, ie;$ cd <jasper-install-folder>/apache-tomcat/temp$ ls$ rm catalina.pidThat will definitely kill tomcat. now go and start jasper server$ cd <jasper-install-folder>$ ./ctlscript.sh start Good Luck, Komu W.komuw05 AT googlemail DOT com Link to comment Share on other sites More sharing options...
vgaikwad Posted April 21, 2016 Share Posted April 21, 2016 [Win based hosting]Check both services jasperreportsTomcat and jasperreportsPostgreSQL, sometimes tomcat gives 404 when the PostgreSQL is not running. 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