I am running tomcat6 on my Ubuntu9.10 server. everythings fine while starting tomcat, but i
cant shut it down. it seems like hang when i run shutdown.sh, the command doesnt finish. And also i cant access and run war files from remote client.Anyone help me please .... I have reinstalled the tomcat but nothings different. Anyone here have met a problem like this?
I don't know anything about a specific Ubuntu Tomcat packaging, but Tomcat won't shut down as long as any of the threads of any of the applications under Tomcat are still running.
While you should never spawn threads in servlets*, JSPs, or EJBs (or in code called by them), it is sometimes useful to spawn offline processor threads - *which can be safely in in a servlet's init() method - and otherwise use thread-spawning facilities such as Quartz.
If you do spawn threads in a webapp, you must terminate them when a Tomcat shutdown is initiated or Tomcat will hang.
The problem with accessing apps from other machines is probably just the standard firewall problem.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Aug 02, 2009
i even shutdown the server machine , but after restarting the server and tomcat, i am not able to access the wep app under webapps dir of tomcat. and i cant still shut it down . Really strange things ....
all are happening on Ubuntu server , everything is fine on ubuntu desktop.