tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@shareowner.com
Subject mod_jk child init 1 0
Date Tue, 11 Feb 2003 14:46:16 GMT
Yesterday I built apache 2.0.44 and tomcat connector 4.1.18. I loaded module
mod_jk2.so in apache. There are two issues.

 

Issue 1:

 

If I create a jk2.properties like this

 

Handlers.list=apr,channleUnix,request

Channel.Unix blah blah

apr.NativeSo=/usr/local/jakarta-tomcat-4.1.18/lib/libjkjni.so

 

I got following error after I launched apachectl start:

 

Feb 10, 2003 12:30:11 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on port 8080

Starting service Tomcat-Standalone

Apache Tomcat/4.1.18

Feb 10, 2003 12:30:27 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on port 8080

Feb 10, 2003 12:30:27 PM org.apache.jk.server.JkMain newHandler

SEVERE: Can't create apr

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

      at org.apache.jk.apr.AprImpl.<clinit>(AprImpl.java:340)

      at java.lang.Class.forName0(Native Method)

      at java.lang.Class.forName(Class.java:140)

      at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)

      at org.apache.jk.server.JkMain.start(JkMain.java:341)

      at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)

      at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1056)

      at
org.apache.catalina.core.StandardService.start(StandardService.java:506)

      at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)

      at org.apache.catalina.startup.Catalina.start(Catalina.java:512)

      at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)

      at org.apache.catalina.startup.Catalina.process(Catalina.java:180)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Feb 10, 2003 12:30:27 PM org.apache.jk.server.JkMain newHandler

SEVERE: Can't create apr

java.lang.NoClassDefFoundError

      at java.lang.Class.forName0(Native Method)

      at java.lang.Class.forName(Class.java:140)

      at org.apache.jk.server.JkMain.newHandler(JkMain.java:556)

      at org.apache.jk.server.JkMain.processProperty(JkMain.java:537)

      at org.apache.jk.server.JkMain.processProperties(JkMain.java:505)

      at org.apache.jk.server.JkMain.start(JkMain.java:346)

      at
org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:169)

      at
org.apache.coyote.tomcat4.CoyoteConnector.start(CoyoteConnector.java:1056)

      at
org.apache.catalina.core.StandardService.start(StandardService.java:506)

      at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)

      at org.apache.catalina.startup.Catalina.start(Catalina.java:512)

      at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)

      at org.apache.catalina.startup.Catalina.process(Catalina.java:180)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)

      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Feb 10, 2003 12:30:27 PM org.apache.jk.common.ChannelSocket init

INFO: JK2: ajp13 listening on /0.0.0.0:8009

Feb 10, 2003 12:30:27 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=3/244
config=/usr/local/jakarta-tomcat-4.1.18/conf/jk2.properties

 

Issue 2:

 

If I use default jk2.properties - that is nothing in the file, after I
launched apachectl start, I got following error

 

[error] mod_jk child init 1 0

 

I can still access tomcat examples http://myhost.mydomain/examples

 

 

Regards,

 

 

 

PQ

 

"This Guy Thinks He Knows Everything"

"This Guy Thinks He Knows What He Is Doing"

 


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