Maxime wrote:

Hi

What do you meen by "*all* the jar files" ?

there are a couple jar files in the $CATALINA_HOME/bin, several jar files in $CATALINA_HOME/server/lib these are the jar files that I'm speaking of.

apache & tomcat run on the same machine
and socket file has better performace ?
what's the pb with Tomcat 4.1.12/jk2 and file socket ?

Other than the CLASS LOADER issues you are experiencing, nothing. I have gotten the connector to work without using the ChannelUnix socket, but was disappointed that I couldn't get the AF_UNIX socket stuff to function without moving the server jar files to common/lib.

tks

----- Original Message -----
From: "Brzezinski, Paul J" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 10:59 AM
Subject: RE: mod_jk2 with tomcat 4.1.12



A workaround for this might be to put the commons-logging.jar into
$CATALINA_HOME/common/lib. I was receiving the same error on my system

and

the root of the problem seemed to be the class-loader hierarchy -- so if

you

put *all* the jar files in common/lib it does work, but it defeats the
purpose of having separate class loaders.

If you don't need the ChannelUnix (AF_UNIX) sockets, you may be able to

get

Tomcat 4.1.12/jk2 working...

: -----Original Message-----
: From: Maxime [mailto:[EMAIL PROTECTED]]
: Sent: Tuesday, November 19, 2002 10:37 AM
: To: Tomcat Users List
: Subject: mod_jk2 with tomcat 4.1.12
:
:
: Hi
:
: I compiled & used mod_jk2 with tomcat 4.1.10 & apache 2.0.43,
: but after upgrading tomcat to 4.1.12 and compile connector
: mod_jk2 4.1.12
:
: my catalina.out look like this :
:
: Starting service Tomcat-Standalone
: Apache Tomcat/4.1.12-LE-jdk14
: Nov 18, 2002 2:44:24 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:494)
: at org.apache.jk.server.JkMain.start(JkMain.java:316)
: at
: org.apache.jk.server.JkCoyoteHandler.start(JkCoyoteHandler.java:164)
: [...]
: Nov 18, 2002 2:44:24 PM org.apache.jk.server.JkMain start
: INFO: Jk running ID=0 time=6/156
: config=/usr/local/tomcat/conf/jk2.properties
: Stopping service Tomcat-Standalone
:
:
: smbody have an idea ?
:
: Thanks
:
: my jk2.properties :
:
: handler.list=apr,channelUnix,request
: channelUnix.file=${jkHome}/work/jk2.socket
: apr.NativeSo=${jkHome}/lib/libjkjni.so
:
: my workers2.properties :
:
: [shm]
: file=${serverRoot}/logs/shm.file
: size=1048576
: [channel.un:unixsocket]
: file=/usr/local/tomcat/work/jk2.socket
: [ajp13:unixsocket]
: channel=channel.un:unixsocket
: [uri:/app/*]
: worker=ajp13:unixsocket
:
: something wrong in these files ?
:
: _
: M
:
:

--
To unsubscribe, e-mail:

<mailto:[EMAIL PROTECTED]>

For additional commands, e-mail:

<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to