tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Kewl" <>
Subject Re: Regarding Service Unavailable
Date Thu, 07 Aug 2008 10:59:58 GMT

----- Original Message ----- 
From: "welcome.partha" <>
To: <>
Sent: Thursday, August 07, 2008 9:47 AM
Subject: Regarding Service Unavailable

> i run my web application after started my apache-tomcat server,it 
> displayed
> service unavailable.If i refreshed it its run successfully.Actually
> sometimes its working initially ,sometimes i give refresh then only its 
> run
> successfully.

That message you getting in your browser sounds like its a custom message 
and not a browser error..

I think you have two webapps that depend on each other... guessing here

webapps dont start, when tomcat starts, they start only when called the 
first time...

So if one is called, and the other one is still sleeping... you get your 
but now the other one has woken up, and so the second time ... all is good.

To make them wake up... try this...

add this to the one that should be awake first


add this to the one that you calling...


you stick it in web.xml..


Have fun?
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action :

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message