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>

Reply via email to