Phil, here is the code related to your error rc = worker->service(env, worker, s); [....] rc1=worker->rPoolCache->put( env, worker->rPoolCache, rPool ); if( rc1 == JK_OK ) { rPool=NULL; } if( rPool!=NULL ) { rPool->close(env, rPool); }
if(rc==JK_OK) { workerEnv->globalEnv->releaseEnv( workerEnv->globalEnv, env ); return OK; /* NOT r->status, even if it has changed. */ } env->l->jkLog(env, env->l, JK_LOG_ERROR, "mod_jk.handler() Error connecting to tomcat %d\n", rc); workerEnv->globalEnv->releaseEnv( workerEnv->globalEnv, env ); return 500; the worker is derived from the apache pool of workers (i think), so I'd need to look at the worker code to make more sense of it..worker->service(env, worker, s) is returning something else other than the equivalent of JK_OK, so this is where it fails.. Dig in the source code for workers, it might help..The lad who wrote mod_jk2 is also frequenting the list so he might be able to enlighten us on the specifics :) Yiannis. -----Original Message----- From: Phil Adams [mailto:[EMAIL PROTECTED] Sent: 23 January 2004 17:12 To: Tomcat Users List; [EMAIL PROTECTED] Subject: tomcat5 in-process (more info for you guys) here is my error.log file from just a few minutes ago when I started apache [Fri Jan 23 11:09:57 2004] [notice] config.update(): done logger [Fri Jan 23 11:09:57 2004] [notice] config.update(): done config: [Fri Jan 23 11:09:57 2004] [notice] config.update(): done uriMap: [Fri Jan 23 11:09:57 2004] [notice] config.update(): done shm [Fri Jan 23 11:09:57 2004] [notice] config.update(): done workerEnv: [Fri Jan 23 11:09:57 2004] [notice] config.update(): done lb:lb [Fri Jan 23 11:09:57 2004] [notice] config.update(): done channel.jni:jni [Fri Jan 23 11:09:57 2004] [notice] config.update(): done worker.jni:onStartup [Fri Jan 23 11:09:57 2004] [notice] config.update(): done worker.jni:onShutdown [Fri Jan 23 11:09:57 2004] [notice] config.update(): done vm: [Fri Jan 23 11:09:57 2004] [notice] config.update(): done uri:/servlets-examples/* [Fri Jan 23 11:09:57 2004] [notice] config.update(): done uri:/jsp-examples/* [Fri Jan 23 11:09:57 2004] [notice] config.update(): done uri:/tomcat-docs/* [Fri Jan 23 11:09:57 2004] [notice] config.update(): done uri:/jetspeed/* [Fri Jan 23 11:09:57 2004] [notice] config.update(): done status: [Fri Jan 23 11:09:57 2004] [notice] config.update(): done uri:/jkstatus/* [Fri Jan 23 11:09:58 2004] [notice] Parent: Created child process 2432 [Fri Jan 23 11:09:58 2004] [notice] config.update(): done logger [Fri Jan 23 11:09:58 2004] [notice] config.update(): done config: [Fri Jan 23 11:09:58 2004] [notice] config.update(): done uriMap: [Fri Jan 23 11:09:58 2004] [notice] config.update(): done shm [Fri Jan 23 11:09:58 2004] [notice] config.update(): done workerEnv: [Fri Jan 23 11:09:58 2004] [notice] config.update(): done lb:lb [Fri Jan 23 11:09:58 2004] [notice] config.update(): done channel.jni:jni [Fri Jan 23 11:09:58 2004] [notice] config.update(): done worker.jni:onStartup [Fri Jan 23 11:09:58 2004] [notice] config.update(): done worker.jni:onShutdown [Fri Jan 23 11:09:58 2004] [notice] config.update(): done vm: [Fri Jan 23 11:09:58 2004] [notice] config.update(): done uri:/servlets-examples/* [Fri Jan 23 11:09:58 2004] [notice] config.update(): done uri:/jsp-examples/* [Fri Jan 23 11:09:58 2004] [notice] config.update(): done uri:/tomcat-docs/* [Fri Jan 23 11:09:58 2004] [notice] config.update(): done uri:/jetspeed/* [Fri Jan 23 11:09:58 2004] [notice] config.update(): done status: [Fri Jan 23 11:09:58 2004] [notice] config.update(): done uri:/jkstatus/* [Fri Jan 23 11:09:58 2004] [notice] Child 2432: Child process is running [Fri Jan 23 11:09:58 2004] [notice] jk2_init() Setting scoreboard slot 0 for child 2432 [Fri Jan 23 11:09:58 2004] [notice] vm.init(): Jni lib: C:\Program Files\Java\j2re1.4.2_03\bin\client\jvm.dll [Fri Jan 23 11:09:59 2004] [notice] vm.open2() done [Fri Jan 23 11:09:59 2004] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Fri Jan 23 11:09:59 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter [Fri Jan 23 11:09:59 2004] [notice] jni.init() setting stdout=c:/Apache2/logs/stdout.log... [Fri Jan 23 11:09:59 2004] [notice] jni.init() setting stderr=c:/Apache2/logs/stderr.log... [Fri Jan 23 11:09:59 2004] [notice] jni.init() ARG start [Fri Jan 23 11:09:59 2004] [notice] jni.init() calling main()... [Fri Jan 23 11:09:59 2004] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Fri Jan 23 11:09:59 2004] [notice] Loaded org/apache/jk/apr/TomcatStarter [Fri Jan 23 11:09:59 2004] [notice] jni.init() disabling the non init hook worker [Fri Jan 23 11:09:59 2004] [notice] uriMap: creating context */servlets-examples [Fri Jan 23 11:09:59 2004] [notice] uriMap: creating context */jsp-examples [Fri Jan 23 11:10:00 2004] [notice] uriMap: creating context */tomcat-docs [Fri Jan 23 11:10:00 2004] [notice] uriMap: creating context */jetspeed [Fri Jan 23 11:10:00 2004] [notice] workerEnv.init() ok C:/Apache2/conf/workers2.properties [Fri Jan 23 11:10:00 2004] [notice] mod_jk child 0 initialized [Fri Jan 23 11:10:00 2004] [notice] Child 2432: Acquired the start mutex. [Fri Jan 23 11:10:00 2004] [notice] Child 2432: Starting 250 worker threads. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__________________________________________________________________ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.