Answers to LifecycleException Questions
Georg: I tried twice to send this to your e-mail address and it came back as undeliverable both times(it said because: User georg.burkhardt/ew/rbg/de ([EMAIL PROTECTED]) not listed in public Name Address Book). In answer to your question as to how to stop the IM program: it runs in the system tray so you just have right click on the icon and choose exit from the list. I can't run the IM program and Tomcat simultaneously or the IM program will interfere. As Anton Brazhnyk suggested, I tried to telnet to the port to use the Tomcat shutdown command and it would not even connect. I ran netstat -a and saw the IM program listed in there and suddenly a light bulb went on in my head. As I mentioned in one of my Tomcat Users posts, at one point, using netstat I found the shutdown port (8005) in a TIME_WAIT mode. It struck me that IM is the kind of software that is programmed to pursue and hold onto a connection on a continuous basis, so I decided to try exiting the IM program to see if that could be the source of the interference and sure enough it was. I uninstalled and reinstalled Tomcat and ran it without the IM program running and the problem was solved. So there you have it. Regards, Bill Saur Spokane, WA [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: LifecycleException
All: I solved the problem I was having and I wanted to post the solution in case others may learn from this. Tomcat was not shutting down properly on my computer because of the Microsoft Instant Messaging program that typically runs in my system tray. Until I exited the IM program the connection was held open. I want to thank Anton Brazhnyk, Oliver Lauer, and Ralph Einfeldt for providing me with the information I needed to gain insight into the problem. It was nice of you to take the time to help. So my first experience with the Tomcat Users Mailing List has been good... Bill Saur Spokane, WA [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: LifecycleException
Oliver and Anton, I understand the concept of what you are saying but I am in need of practical details. I have checked the server.xml file and the ports shown there are the Tomcat defaults - 8005 for shutdown, and 8080 for the HTTP port. How do I go about checking further? I am not familiar with the command netstat -a, is that a Tomcat command? How do I go about implementing this command? I think you guys are onto something, I just need some practical elaboration on how to proceed. Thanks again for your help - I am looking to learn from this problem. Bill Saur Spokane, WA [EMAIL PROTECTED] -Original Message- From: Lauer, Oliver [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 12:12 AM To: 'Tomcat Users List' Subject: AW: LifecycleException Yes, it seems TC is still listening and the shutdown didn't work properly ? Have a look at the port that is used for the shutdown. Maybe another thread is using that, so that the shutdown-command doesn't receive TC. Oliver AXA eSolutions GmbH AXA Konzern AG Germany Oliver Lauer Web Architect Wörthstraße 34 D-50668 Köln Germany Tel.: +49 221 148 31277 Fax: +49 221 148 43963 Mobil: +49 179 59 064 59 e-Mail: [EMAIL PROTECTED] _ -Ursprüngliche Nachricht- Von: Anton Brazhnyk [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 28. Januar 2002 09:05 An: Tomcat Users List Betreff: RE: LifecycleException Hi, -Original Message- From: Bill Saur [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25, 2002 11:12 PM To: [EMAIL PROTECTED] Subject: LifecycleException Hello: I have just installed Tomcat 4.0.1 (Win2000 OS) and the program works one time and then once I shut it down and restart it I am getting the following message: Catalina.start: LifecycleException: null.open: java.net.BindException: Address In use: JVM_Bind - followed by a long list of addresses where JVM_Bind is in use. It seems somebody (possibly another Tomcat) is already listening on the port Tomcat tries to bind. Check netstat -a Anyone have any ideas on what is going on here and how to fix this? Thanks in advance for your help. Regards, Bill Saur Spokane, WA [EMAIL PROTECTED] Anton. -- 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]
RE: LifecycleException
Thanks Ralph Einfeldt - your post was helpful. So after I run the netstat -a command I get a table that displays the following relevant information: Protocol: TCP Local Address: billsaur:1651 Foreign Address: billsaur:8005 State: TIME_WAIT The port 8005 is the Tomcat default shutdown port and it is occupied in a TIME_WAIT state - this appears to be the reason behind the LifecycleException and JVM_Bind problem I'm experiencing. I have run the shutdown.bat file and it is apparently not working. Any ideas on what's going on and how to get it to shutdown properly and get the port out of the TIME_WAIT state? Bill Saur Spokane, WA [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
LifecycleException
Hello: I have just installed Tomcat 4.0.1 (Win2000 OS) and the program works one time and then once I shut it down and restart it I am getting the following message: Catalina.start: LifecycleException: null.open: java.net.BindException: Address In use: JVM_Bind - followed by a long list of addresses where JVM_Bind is in use. Anyone have any ideas on what is going on here and how to fix this? Thanks in advance for your help. Regards, Bill Saur Spokane, WA [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]