BIG problem with restarting Tomcat 4

2002-02-25 Thread twrichter

Hi,

there are already messages in this forum, but: nevertheless it doesn't work.
When starting Tomcat 4 (Linux) for the first time, everything works fine. But when 
stopping Tomcat and restarting there is the following message:
Catalina.start: LifecycleException:  Error creating server socket 
(java.net.BindException):  java.net.BindException: Die Adresse wird bereits verwendet
LifecycleException:  Error creating server socket (java.net.BindException):  
java.net.BindException: Die Adresse wird bereits verwendet
at 
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.java:491)
at 
org.apache.catalina.core.StandardService.initialize(StandardService.java:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -

I don't see what application should listen to some of the used ports, too (how to find 
out??). And everything worked fine with Jakarta 3.3.  I tried the 
-XdoCloseWithReadPending parameter, but this does#nt work (JVM doesn't start).
Please help me - I'm at the end of the rope...No ideas any more.

Best regards and thanks in advance

Thomas


:-) As sceptical as one can be! (-:



--
Get personalised email addresses at http://another.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


Re: BIG problem with restarting Tomcat 4 - it's Expresso!

2002-02-25 Thread twrichter

Hi,

just to answer myself: it is definitely not Tomcat 4 - it's Expresso. When deploying 
Expresso something is being used but I don't know what.
Any ideas from the Expresso community?

Regards Thomas

:-) As sceptical as one can be! (-:



--
Get personalised email addresses at http://another.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


SV: BIG problem with restarting Tomcat 4

2002-02-25 Thread Klosa Uwe

Hi Thomas,

I've got the same problem. I found out that I have to wait a few seconds
after I stopped catalina. 

Uwe

-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Skickat: den 25 februari 2002 17:02
Till: [EMAIL PROTECTED]
Ämne: BIG problem with restarting Tomcat 4


Hi,

there are already messages in this forum, but: nevertheless it doesn't work.
When starting Tomcat 4 (Linux) for the first time, everything works fine.
But when stopping Tomcat and restarting there is the following message:
Catalina.start: LifecycleException:  Error creating server socket
(java.net.BindException):  java.net.BindException: Die Adresse wird bereits
verwendet
LifecycleException:  Error creating server socket (java.net.BindException):
java.net.BindException: Die Adresse wird bereits verwendet
at
org.apache.catalina.connector.warp.WarpConnector.initialize(WarpConnector.ja
va:491)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:454
)
at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -

I don't see what application should listen to some of the used ports, too
(how to find out??). And everything worked fine with Jakarta 3.3.  I tried
the -XdoCloseWithReadPending parameter, but this does#nt work (JVM doesn't
start).
Please help me - I'm at the end of the rope...No ideas any more.

Best regards and thanks in advance

Thomas


:-) As sceptical as one can be! (-:



--
Get personalised email addresses at http://another.com

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: restarting Tomcat 4

2002-02-15 Thread Christos Karras

It works fine if you wait long enough between calling the stop and start script,
but not if you write a restart script which
calls catalina.sh start and immediately after, catalina.sh stop, because
then there's no delay between the two, and tomcat doesn't have the
time to shutdown before you try (and fail) to restart it.

In my case, I need to wait 10 seconds between doing a shutdown and a startup,
but this varies depending on the number
of webapps you have (in the case of the original poster, it's 40 seconds), so I
agree with him there should be a more elegant
way to restart the server.


Thanh Duong wrote:

 Hi,
 to start tomcat in a separate window use
 $CATALINA_HOME/bin/catalina.sh start

 to stop tomcat use
 $CATALINA_HOME/bin/catalina.sh stop

 It works fine so you don't need to wait for ending the tomcat process.

 Bye
 Thanh

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Donnerstag, 14. Februar 2002 16:02
 To: [EMAIL PROTECTED]
 Subject: restarting Tomcat 4

 Hi.

  I was wondering if anyone out there has a good way of restarting Tomcat
 4...?  In version 3, I used to just be able to do
 $TOMCAT_HOME/bin/shutdown.sh; $TOMCAT_HOME/bin/startup.sh.  Now, in
 version
 4 though, since the starting and stopping scripts seem to have been modified
 to be background processes, this no longer works since it won't wait for the
 first script to finish anymore before starting the second one.  Now, my
 restart alias looks like this: $CATALINA_HOME/bin/shutdown.sh; sleep 40;
 $CATALINA_HOME/bin/startup.sh.  Pretty lame, and I just arrived at the
 sleep
 value by trial and error (actually as I add more stuff in my server.xml
 file,
 I think the shutdown might even take longer, so I may need to bump this
 value
 up).  Does anyone have any more elegant/exact ways of doing this?


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




restarting Tomcat 4

2002-02-14 Thread jeff . guttadauro

Hi.

 I was wondering if anyone out there has a good way of restarting Tomcat
4...?  In version 3, I used to just be able to do
$TOMCAT_HOME/bin/shutdown.sh; $TOMCAT_HOME/bin/startup.sh.  Now, in version
4 though, since the starting and stopping scripts seem to have been modified
to be background processes, this no longer works since it won't wait for the
first script to finish anymore before starting the second one.  Now, my
restart alias looks like this: $CATALINA_HOME/bin/shutdown.sh; sleep 40;
$CATALINA_HOME/bin/startup.sh.  Pretty lame, and I just arrived at the sleep
value by trial and error (actually as I add more stuff in my server.xml file,
I think the shutdown might even take longer, so I may need to bump this value
up).  Does anyone have any more elegant/exact ways of doing this?

Thanks,
-Jeff



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: restarting Tomcat 4

2002-02-14 Thread Thanh Duong

Hi,
to start tomcat in a separate window use
$CATALINA_HOME/bin/catalina.sh start

to stop tomcat use
$CATALINA_HOME/bin/catalina.sh stop

It works fine so you don't need to wait for ending the tomcat process.

Bye
Thanh

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 14. Februar 2002 16:02
To: [EMAIL PROTECTED]
Subject: restarting Tomcat 4


Hi.

 I was wondering if anyone out there has a good way of restarting Tomcat
4...?  In version 3, I used to just be able to do
$TOMCAT_HOME/bin/shutdown.sh; $TOMCAT_HOME/bin/startup.sh.  Now, in
version
4 though, since the starting and stopping scripts seem to have been modified
to be background processes, this no longer works since it won't wait for the
first script to finish anymore before starting the second one.  Now, my
restart alias looks like this: $CATALINA_HOME/bin/shutdown.sh; sleep 40;
$CATALINA_HOME/bin/startup.sh.  Pretty lame, and I just arrived at the
sleep
value by trial and error (actually as I add more stuff in my server.xml
file,
I think the shutdown might even take longer, so I may need to bump this
value
up).  Does anyone have any more elegant/exact ways of doing this?

Thanks,
-Jeff



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]