You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Danny_HY052 <hy...@cummins.com> on 2008/10/22 09:26:42 UTC

Tomcat is running but page is not displayed

Hi, I am using Tomcat 5 for my j2ee application which uses JSP, servlets ,
java and oracle 10g at the backend.

When the tomcat is running i am able to access the application, however,
after some time when i try again to access the application i get "Page
cannot be Displayed". (ensured that the tomcat was still running)

I need to restart the tomcat server manually to get the page to be
displayed. 

Can anyone please provide with a solution?
-- 
View this message in context: http://www.nabble.com/Tomcat-is-running-but-page-is-not-displayed-tp20105344p20105344.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat is running but page is not displayed

Posted by Pid <p...@pidster.com>.
Danny_HY052 wrote:
> Hi, I am using Tomcat 5 for my j2ee application which uses JSP, servlets ,
> java and oracle 10g at the backend.
> 
> When the tomcat is running i am able to access the application, however,
> after some time when i try again to access the application i get "Page
> cannot be Displayed". (ensured that the tomcat was still running)
> 
> I need to restart the tomcat server manually to get the page to be
> displayed. 
> 
> Can anyone please provide with a solution?

Not without some more information.

What do your logs say:

1. when you hit the page the first time?
2. when you hit the page and get a 404?
3. in between the two hits?

How long is the interval "some time" and is it consistently the same period?

Do you have Apache or IIS fronting Tomcat?


p



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat is running but page is not displayed

Posted by Peter Crowther <Pe...@melandra.com>.
> From: Danny_HY052 [mailto:hy052@cummins.com]
> When the tomcat is running i am able to access the
> application, however,
> after some time when i try again to access the application i get "Page
> cannot be Displayed". (ensured that the tomcat was still running)
>
> I need to restart the tomcat server manually to get the page to be
> displayed.

I'm guessing that you have a memory leak in your application, and that after a while your JVM runs out of heap.  You could test this by increasing or decreasing the heap space available to the JVM, and seeing whether this increases or decreases the time to failure.  Then you have the fun job of finding the leak - there are many threads in the Tomcat archive on doing this, just search for "memory leak" and follow the threads.

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org