tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Sales" <sa...@sealsco.com>
Subject mod_jk2/unixsocket: can't create apr
Date Thu, 16 Jan 2003 15:35:23 GMT
Hello,

I'm having the same problem as a thread that was running in mid-november,
but there was never a resolution posted.
I'm trying to use unixsockets with mod_jk2 (TC 4.1.18/Apache 2.0.40, RH
7.2).

I've tried putting log4j.jar into TC_HOME/common/lib, puting the libapr.so &
libjkjni.so into JRE/lib...  Apparently, it's a class loader problem.  Is
anyone running unix sockets with tomcat 4.1.18?  I've had it working with
4.1.10...


I get the following error in catalina.out on startup:

10048 [main] INFO http11.Http11Protocol  - Starting Coyote HTTP/1.1 on port
8080
Deep stack trace
XXX public java.lang.Throwable java.lang.Throwable.getCause()
10053 [main] ERROR server.JkMain  - 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)
Deep stack trace
XXX public java.lang.Throwable java.lang.Throwable.getCause()
10079 [main] ERROR server.JkMain  - 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)



Thanks for your help.


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message