Re: Problem in restarting Tomcat

2002-05-20 Thread Mats Nyberg

hi, yourself,

Zhongwen Zhu (LMC) wrote:

Hi

In linux OS, when Tomcat is shut down, the port which is used by Tomcat is

not released. Hence it is impossible to re-start Tomcat. Do you have any

solution so that the system is forced to release the port when Tomcat is

shut down?

yes, don't shut down by Ctrl-C. use shutdown.sh
i sometimes have troubles using

[tim-mn@spiderman tim-mn]$ shutdown.sh  startup.sh

and in those cases have to resort to  doing this in two lines

[tim-mn@spiderman tim-mn]$ shutdown.sh
[tim-mn@spiderman tim-mn]$ startup.sh

this *allways* work for me

~mats


Thank you for your hints.

michael zhu


  




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Problem in restarting Tomcat

2002-05-19 Thread Chris Campbell


We had this problem the other day. We fixed it by putting 'killall java' in
the restart script before attempting to restart tomcat... of course this is
no good if you want other java processes to keep running though.

ChrisC

 -Original Message-
 From: Zhongwen Zhu (LMC) [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 20, 2002 11:55 AM
 To: '[EMAIL PROTECTED]'
 Subject: Problem in restarting Tomcat
 
 
 Hi
 
 In linux OS, when Tomcat is shut down, the port which is used 
 by Tomcat is
 
 not released. Hence it is impossible to re-start Tomcat. Do 
 you have any
 
 solution so that the system is forced to release the port 
 when Tomcat is
 
 shut down?
 
 Thank you for your hints.
 
 michael zhu
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Problem in restarting Tomcat

2002-05-19 Thread Oki DZ

On 05/20 09:54 Zhongwen Zhu (LMC) wrote:
 In linux OS, when Tomcat is shut down, the port which is used by Tomcat is
 
 not released. Hence it is impossible to re-start Tomcat. Do you have any

What version of Tomcat do you use?
I use 4.0.3, on a Linux machine. /usr/local/tomcat/bin/catalina.sh start or 
/usr/local/tomcat/bin/catalina.sh stop works fine; ie: another catalina.sh 
start will start it again.

Try to connect to port 8005, using telnet on the localhost, and type 
SHUTDOWN; and see whether Tomcat gets shutdown properly.

Oki



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]