Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Tomcat and the fly likes Strange Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Strange "Stop" of Tomcat" Watch "Strange "Stop" of Tomcat" New topic

Strange "Stop" of Tomcat

Like Zhang

Joined: Jan 19, 2004
Posts: 16
I setup tomcat in my office, and it works fine.
Then I went back home, and the tomcat looks still OK(i can browse my webpage made by jsp).
However, after 2-3 hours, I cannot connect to the server from home.
Then I went back to office, and find I can still connect to the server from other PCs in office and the tomcat works OK.

So the problem is: Tomcat works fine at the first 1-2 hours(for both intranet and from other isp), but I cannot connect to the server from other isp after several hours.
Could anyone help me out? Thanks!!
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12913
That is pretty mysterious! When you say "can't connect" what actually happens?
Sounds like Tomcat is not actually stopping, you just are not getting through. Is there a firewall involved?
Rich Dominelli

Joined: Sep 21, 2004
Posts: 5
How are you starting Tomcat?
If this is running on a Unix Server are you starting it with nohup?
It is sorta covered in the JavaRanch Style Guide.
subject: Strange "Stop" of Tomcat