404 The requested resource (/jasperserver/home.html) is not available.

0

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/modules

Can 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.out
May 11, 2012 8:53:34 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 11, 2012 8:53:34 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3503 ms
May 11, 2012 8:53:34 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 11, 2012 8:53:34 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
May 11, 2012 8:53:34 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
May 11, 2012 8:53:36 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
May 11, 2012 8:53:36 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory jasperserver
May 11, 2012 8:53:40 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
May 11, 2012 8:53:40 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
May 11, 2012 8:53:41 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
May 11, 2012 8:53:41 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 11, 2012 8:53:41 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 11, 2012 8:53:41 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/109  config=null
May 11, 2012 8:53:41 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7422 ms
May 11, 2012 8:55:11 AM org.apache.catalina.core.StandardContext reload
INFO: Reloading Context with name [/jasperserver] has started
 
 
localhost.x.log
May 11, 2012 8:53:41 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
May 11, 2012 8:53:41 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
 
manager*.log
 
May 11, 2012 8:55:32 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application at '/jasperserver'
May 11, 2012 8:55:34 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'</td></tr></tbody></table>
bbaley's picture
23
Joined: Dec 9 2011 - 7:28am
Last seen: 1 month 3 weeks ago

3 Answers:

-1
Hi Bbaley

I had a simialr issue last week Thursday when trying to access: http://myserver:8080/jasperserver/login.html
I 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 luck
Sarah


sarahllong's picture
Joined: Mar 10 2010 - 6:16am
Last seen: 4 years 3 months ago
0

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 tomcat

then go and restart the jasper server;

$ ./ctlscript.sh start

However, 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.pid
That 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
 
komuw05's picture
Joined: Jan 29 2014 - 2:46am
Last seen: 5 years 10 months ago
0

[Win based hosting]

Check both services jasperreportsTomcat and jasperreportsPostgreSQL, sometimes tomcat gives 404 when the PostgreSQL is not running.

vgaikwad's picture
Joined: Oct 19 2015 - 10:25pm
Last seen: 2 months 2 weeks ago
Feedback
randomness