Hi., I'm almost done with Tomcat 5.X + Apache 2.X + Mod_Jk2. My problem is Apache is looking for Server.xml.So i just copied over my Tomcat's server.xml to apache conf directory. When i start my Apache i'm getting this msgs in Apache/conf/error.log. Can any look in this problem...I did not get any dodcument specifi for this combination(Apache2+Tomcat5+Mod_jk2).
========error.Log============ [Mon Apr 05 11:16:29 2004] [notice] Parent: Created child process 1856 [Mon Apr 05 11:16:29 2004] [notice] Child 1856: Child process is running [Mon Apr 05 11:16:29 2004] [notice] jk2_init() Found child 1856 in scoreboard slot 0 [Mon Apr 05 11:16:29 2004] [notice] vm.init(): Jni lib: C:\Program Files\Java\j2re1.4.2_03\bin\client\jvm.dll [Mon Apr 05 11:16:29 2004] [notice] vm.open2() done [Mon Apr 05 11:16:29 2004] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Mon Apr 05 11:16:30 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter [Mon Apr 05 11:16:30 2004] [notice] jni.init() setting stdout=C:/$Java/3_AS/Apache2/logs/stdout.log... [Mon Apr 05 11:16:30 2004] [notice] jni.init() setting stderr=C:/$Java/3_AS/Apache2/logs/stderr.log... [Mon Apr 05 11:16:30 2004] [notice] jni.init() ARG start [Mon Apr 05 11:16:30 2004] [notice] jni.init() calling main()... [Mon Apr 05 11:16:30 2004] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Mon Apr 05 11:16:30 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter [Mon Apr 05 11:16:30 2004] [notice] jni.init() disabling the non init hook worker [Mon Apr 05 11:16:30 2004] [notice] workerEnv.init() ok C:/$Java/3_AS/Apache2/conf/workers2.properties [Mon Apr 05 11:16:30 2004] [error] mod_jk child init 1 0 [Mon Apr 05 11:16:30 2004] [notice] Child 1856: Acquired the start mutex. [Mon Apr 05 11:16:30 2004] [notice] Child 1856: Starting 250 worker threads. [Mon Apr 05 11:18:50 2004] [notice] shm.createSlot() Create 1 0x520000 0x522000 [Mon Apr 05 11:18:50 2004] [notice] workerEnv.init() create slot epStat.0 [Mon Apr 05 11:18:50 2004] [error] lb.service() worker failed 120000 for ajp13:jni [Mon Apr 05 11:18:50 2004] [error] lb.service() unrecoverable error... [Mon Apr 05 11:18:50 2004] [notice] vm.detach() ok [Mon Apr 05 11:18:50 2004] [error] mod_jk.handler() Error connecting to tomcat 120000 [Mon Apr 05 11:18:57 2004] [error] channelSocket.open() connect failed localhost:8019 61 Unknown error [Mon Apr 05 11:18:57 2004] [error] ajp13.connect() failed ajp13:localhost:8019 [Mon Apr 05 11:18:57 2004] [error] ajp13.service() failed to connect endpoint errno=61 Unknown error [Mon Apr 05 11:18:57 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8019 1 1 [Mon Apr 05 11:18:57 2004] [notice] ajp13.done() close endpoint ajp13:localhost:8019 error_state 1 [Mon Apr 05 11:18:57 2004] [error] lb.service() worker failed 120000 for ajp13:localhost:8019 [Mon Apr 05 11:18:58 2004] [error] channelSocket.open() connect failed localhost:8029 61 Unknown error [Mon Apr 05 11:18:58 2004] [error] ajp13.connect() failed ajp13:localhost:8029 [Mon Apr 05 11:18:58 2004] [error] ajp13.service() failed to connect endpoint errno=61 Unknown error [Mon Apr 05 11:18:58 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8029 1 1 [Mon Apr 05 11:18:58 2004] [notice] ajp13.done() close endpoint ajp13:localhost:8029 error_state 1 [Mon Apr 05 11:18:58 2004] [error] lb.service() worker failed 120000 for ajp13:localhost:8029 [Mon Apr 05 11:20:12 2004] [error] lb.getWorker() reenable ajp13:localhost:8019 [Mon Apr 05 11:20:12 2004] [error] lb.getWorker() reenable ajp13:localhost:8029 [Mon Apr 05 11:20:12 2004] [error] lb.getWorker() reenable ajp13:jni [Mon Apr 05 11:20:16 2004] [error] channelSocket.open() connect failed localhost:8019 61 Unknown error [Mon Apr 05 11:20:16 2004] [error] ajp13.connect() failed ajp13:localhost:8019 [Mon Apr 05 11:20:16 2004] [error] ajp13.service() failed to connect endpoint errno=61 Unknown error [Mon Apr 05 11:20:16 2004] [error] ajp13.service() Error forwarding ajp13:localhost:8019 1 1 [Mon Apr 05 11:20:16 2004] [notice] ajp13.done() close endpoint ajp13:localhost:8019 error_state 1 Thanks., MALAI
