Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
tomcat shutdown.sh doesn 't kill tomcat processes

tomcat shutdown.sh doesn 't kill tomcat processes

2003-09-25       - By Patrice Seyed

 Back
Reply:     1     2     3     4  

So the symptom is /usr/local/tomcat/bin/shutdown.sh does not stop
tomcat.
By the way tomcat is running jk2 connector on port 8080 to apache on
port 80

Even after i stop tomcat, I will see in netstat -nap | grep 8080 that
the
socket is still open, and ps -elf | grep tomcat that the process for
tomcat
are still running.
Any ideas or seen this?


When I try to stop it again of course it complains, because it thinks
its stopped;
# service tomcat stop
Stopping Tomcat
Using CATALINA_BASE:   /usr/local/tomcat
Using CATALINA_HOME:   /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JAVA_HOME:       /usr/local/java
Catalina.stop: java.net.ConnectException Source code of java.net.ConnectException: Connection refused
java.net.ConnectException Source code of java.net.ConnectException: Connection refused
       at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(Native Method)
       at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(PlainSocketImpl.java:305)
       at
java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(PlainSocketImpl.java:171)
       at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(PlainSocketImpl.java:158)
       at java.net.Socket Source code of java.net.Socket(Socket.java:426)
       at java.net.Socket Source code of java.net.Socket(Socket.java:376)
       at java.net.Socket Source code of java.net.Socket<init>(Socket.java:291)
       at java.net.Socket Source code of java.net.Socket<init>(Socket.java:119)
       at org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:581)
       at
org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:402)
       at
org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:180)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39
)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl
.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:324)
       at
org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:203)


the corresponding out in  catalina.out is:
Catalina.start: LifecycleException:  Protocol handler initialization
failed:
java.net.BindException Source code of java.net.BindException: Address already in use:8080
LifecycleException:  Protocol handler initialization failed:
java.net.BindException Source code of java.net.BindException: Address already in use:8080
       at
org.apache.coyote.tomcat4.CoyoteConnector Source code of org.apache.coyote.tomcat4.CoyoteConnector(CoyoteConnector.jav
a:11
19)
       at
org.apache.catalina.core.StandardService Source code of org.apache.catalina.core.StandardService(StandardService.java
:579
)
       at
org.apache.catalina.core.StandardServer Source code of org.apache.catalina.core.StandardServer(StandardServer.java:2
246)
       at org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:511)
       at
org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:400)
       at
org.apache.catalina.startup.Catalina Source code of org.apache.catalina.startup.Catalina(Catalina.java:180)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39
)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl
.java:25)
       at java.lang.reflect.Method Source code of java.lang.reflect.Method(Method.java:324)
       at
org.apache.catalina.startup.Bootstrap Source code of org.apache.catalina.startup.Bootstrap(Bootstrap.java:203)
Catalina.stop: LifecycleException:  This server has not yet been started




Regards,

Patrice Seyed, System Administrator
RHCE, SCSA
Genetics Program, BU School of Medicine



©2008 junlu.com - Jax Systems, LLC, U.S.A.