tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rickard <David.Rick...@techbooks.com>
Subject Tomcat Startup/Shutdown and mod_jk Issues
Date Wed, 19 Jan 2005 00:22:12 GMT
System: SunOS 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V440
Apache: 2.0.52
Tomcat: 5.5.4
Connector: jk-1.2.6
Java: JDK 1.5.0.01

We're attempting an upgrade from Tomcat 4.1.31 to 5.5.4; we are using JK 1 
as a connector to Apache (due to prior experience and relative simplicity);
We are encountering three issues:
1) During start-up, Tomcat throws the following error messages:

java.lang.NoSuchMethodError: 
org.apache.naming.NamingContextEnumeration.<init>(Ljava/util/Iterator;)V [ 
for each application it attempts to deploy]

SEVERE: Catalina.start:
LifecycleException:  Protocol handler start failed: java.net.BindException: 
Address already in use:8080
[presumably from Tomcat not releasing 8080 properly during previous 
start-up/shut-down cycles]

2) During shut-down, Tomcat throws the following error:
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
         at org.apache.jk.server.JkMain.pause(JkMain.java:655)

3) The mod_jk.conf file does not build; its entire contents are:
########## Auto generated on Tue Jan 18 16:24:18 PST 2005##########

<IfModule !mod_jk.c>
   LoadModule jk_module 
"/usr/apache/modules/jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-2.0.43_
native.so"
</IfModule>

JkWorkersFile "/var/apache/tomcat/conf/jk/workers.properties"
JkLogFile "/var/apache/tomcat/logs/mod_jk.log"

JkLogLevel emerg



<VirtualHost spinach.techbooks.com>
     ServerName spinach.techbooks.com
</VirtualHost>

[presumably this is from applications not loading during start-up; but 
could it be from some other cause?]


--

David Rickard
Software Engineer

TechBooks/GTS
Your Single Source Solution!
Los Angeles CA * York, PA * Boston,MA * New Delhi, India
Visit us on the World Wide Web 
<http://www.techbooks.com>http://www.techbooks.com

david.rickard@techbooks.com
5650 Jillson St., Los Angeles, CA 90040
(323) 888-8889 x331
(323) 888-1849 (Fax)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message