Looks like you are having problems with your class path.  Guess you didn't 
update the workers2.properties file when you updated to 4.1.12.

In the [VM] section of workers2.properties, try replacing the line: 

OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar

with the following

OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/server/lib/commons-logging.jar

Not sure but I think at some point the OPT lines will be replaced with 
simple class path lines.

rls





"Max" <[EMAIL PROTECTED]>
10/24/2002 02:39 PM
Please respond to "Tomcat Users List"

 
        To:     "Tomcat Users List" <[EMAIL PROTECTED]>
        cc: 
        Subject:        connector and  tomcat 4.1.12 !!

Hi

I have a tomcat 4.1.12, an apache 2.0.40 and mod_jk2 
(tomcat-connectors-4.1.12)

since i put this simple jk2.properties in my $CATALINA/conf dir :
#
handler.list=apr,channelUnix,request
channelUnix.file=${jkHome}/work/jk2.socket
apr.NativeSo=${jkHome}/lib/libjkjni.so

(it works great with a tomcat 4.1.10)
tomcat doesn't start and my catalina.out looks like this :

Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
24 oct. 2002 17:26:38 org.apache.jk.server.JkMain newHandler
GRAVE: 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:130)
        at org.apache.jk.server.JkMain.newHandler(JkMain.java:494)

and the socket file is not created .

Can you help me ?

THANKS !

my server.xml :

<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Standalone">

         <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
                    port="8009" minProcessors="5" maxProcessors="75"
                    enableLookups="true" redirectPort="8443"
                    acceptCount="10" debug="0" connectionTimeout="20000"
 protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

        <Engine name="Standalone" defaultHost="phobos" debug="0">

                <Host name="phobos" debug="0" appBase="webapps" 
unpackWARs="true">

                        [...]

                </Host>

        </Engine>

  </Service>

</Server>





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

Reply via email to