The problem is the same as I'm running into, but I'm not using APR as
you can see by my log trace
INFO: The Apache Portable Runtime which allows optimal performance in
production environments was not found on the java.library.path:
/usr/local/jdk1.5.0_05/jre/lib/i386/server:/usr/local/jdk1.5.0
_05/jre/lib/i386:/usr/local/jdk1.5.0_05/jre/../lib/i386
Fenlason, Josh wrote:
Take a look at this thread to fix this problem.
http://marc.theaimsgroup.com/?l=tomcat-user&m=114062756728076&w=2
,
Josh.
-----Original Message-----
From: Joey Geiger [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 9:24 AM
To: users@tomcat.apache.org
Subject: Issue with ajp13 socket after tomcat shutdown
After I manually shutdown tomcat (shutdown.sh) the ajp socket
seems to stay open for an extended period of time. If I
attempt to restart, I get the following output in
catalina.out. The problem is that ajp13 should be listening
on 8889, but this port is never released, and for some odd
reason, it decides to move up one. If I shutdown again, it
will switch the port to 8891. I noticed another thread in the
archives that discussed a similar problem, but the solution
was for the apr connector.
The ports do release after a waiting period, but this isn't
helpful during development, and I think it might also be the
cause of a few errors with tomcat restarting on it's own.
(The site seems unavailable but it's just not listening on
the correct port)
Any help is appreciated. Thank you.
>>Subject: RE: Re: Re: APR Connector Shutdown Problem
>>From: "Fenlason, Josh" <jfenlason () ptc ! com>
>>Date: 2006-01-31 22:45:57
>>...
>>I added the following line to
tomcat-native.1.1.1/jni/native/src/network.c (added at line
388): >>apr_socket_opt_set( s, APR_SO_REUSEADDR, 1 ); >>But
I'm still running into the same problem.
Feb 24, 2006 9:29:02 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Portable Runtime which allows optimal performance in
production environments was not found on the java.library.path:
/usr/local/jdk1.5.0_05/jre/lib/i386/server:/usr/local/jdk1.5.0
_05/jre/lib/i386:/usr/local/jdk1.5.0_05/jre/../lib/i386
Feb 24, 2006 9:29:03 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1190 ms
Feb 24, 2006 9:29:03 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 24, 2006 9:29:03 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
Feb 24, 2006 9:29:03 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
AbandonedObjectPool is used
([EMAIL PROTECTED])
LogAbandoned: false
RemoveAbandoned: true
RemoveAbandonedTimeout: 300
Feb 24, 2006 9:29:30 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8889 java.net.BindException: Address already
in use Feb 24, 2006 9:29:30 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8890
Feb 24, 2006 9:29:30 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/170 config=null
Feb 24, 2006 9:29:30 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 27445 ms
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]