Sorry for the confusion guys,
The classpath statements of the [vm] section provided in the example
worker2.properties that I included in the How To I wrote do not work. I
was copying from CVS sources I maintain before I tested. I've since tried
to install TC 4.1.14 with them and I got these errors too.
I corrected the docs to use the old method of setting the classpaths and
it works again.
You should delete both classpath lines in the worker2.properties file and
replace with the following:
OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar
The document has been updated now.
rls
"M. Hockings" <[EMAIL PROTECTED]>
10/30/2002 07:00 PM
Please respond to "Tomcat Users List"
To: Tomcat Users List <[EMAIL PROTECTED]>
cc:
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using
jk2 (
mod_jk2-2.0.43.dll)
Hello,
I too am trying to get this configuration working to give me a test
environment that duplicates a remote server. I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll. When I
start Apache I see the following in logs\error.log. If you have any
hints or suggestions about what I have set up incorrectly please let me
know. Both Apache and Tomcat seem to work fine individually.
Thanks,
Mike
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Parent: Created child process 728
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Child 728: Child process is running
[Wed Oct 30 21:48:39 2002] [notice] vm.init(): Jni lib:
C:\Progra~1\j2sdk1.4.0_01\jre\bin\client\jvm.dll
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option:
-Dtomcat.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option:
-Dcatalina.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: -Xmx128M
[Wed Oct 30 21:48:39 2002] [notice] vm.open2() done
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed
for worker.jni:onStartup
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed
for worker.jni:onShutdown
[Wed Oct 30 21:48:40 2002] [notice] workerEnv.init() ok
C:/ApacheGroup/Apache2/conf/workers2.properties
[Wed Oct 30 21:48:40 2002] [notice] mod_jk child init 1 -1
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Acquired the start mutex.
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Starting 250 worker
threads.
Turner, John wrote:
>This should be all you need, courtesy of Robert Sowders:
>
>ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip
>
>John
>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>