I would at least build the mod_jk2 and jkjni these are the 2 that I had to build in order to get past alot of the errors
----- Original Message ----- From: "Hamilton Andrew" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, January 23, 2004 2:33 PM Subject: RE: tomcat5 in-process (more info for you guys) > I figured out where to put the jkjni.so file for it to be picked up by the > JVM, but now instead of: > > INFO: APR not loaded, disabling jni components: java.io.IOException: > java.lang.UnsatisfiedLinkError: no jkjni in java.library.path > > I get: > > INFO: APR not loaded, disabling jni components: java.io.IOException: > java.lang.UnsatisfiedLinkError: > /usr/java/j2sdk1.4.2_03/jre/lib/i386/libjkjni.so: > /usr/java/j2sdk1.4.2_03/jre/lib/i386/libjkjni.so: undefined symbol: > apr_md5_final > > It's not loading the apr libs and I can't figure out how to get it to do so. > I've tried adding it to ld.so.conf, but no luck. Not sure what else to do. > I don't know if building Tomcat myself would help. I haven't tried to build > tomcat5 yet. The apache2_home var didn't seem to help...anything else? > > Thanks, > > Drew > > > -----Original Message----- > From: Phil Adams [mailto:[EMAIL PROTECTED] > Sent: Friday, January 23, 2004 3:16 PM > To: Tomcat Users List > Subject: Re: tomcat5 in-process (more info for you guys) > > > I was getting this also. > it has to do with the 'libapr' library files > I believe this is the one I fixed by adding 'apache2_home' to my environment > vars > I do remember digging thru some code and finding a reference to this var as > I > was working on this specific problem. > let me know, I have other suggestions > > > ----- Original Message ----- > From: "Hamilton Andrew" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, January 23, 2004 1:29 PM > Subject: RE: tomcat5 in-process (more info for you guys) > > > > I'm attempting this on a Linux machine and I keep getting this: > > > > INFO: APR not loaded, disabling jni components: java.io.IOException: > > java.lang.UnsatisfiedLinkError: no jkjni in java.library.path > > > > I followed the install directions and put the jkjni.so file in > > $APACHE_HOME/modules. Can anyone help me with this? > > > > Thanks, > > > > Drew > > > > -----Original Message----- > > From: Phil Adams [mailto:[EMAIL PROTECTED] > > Sent: Friday, January 23, 2004 12:53 PM > > To: Tomcat Users List > > Subject: Re: tomcat5 in-process (more info for you guys) > > > > > > now that I have apache started without error > > and it would appear that it has tomcat started in-process (maybe) > > I went to a cmd line to start tomcat and received an error that port 8005 > > is already in use, which a netstat proves to be true. > > the only place that port 8005 is configured to be used is in server.xml > > for tomcat. therefore, this lends some credence to the logic that > > apache is starting tomcat in-process. > > But... apache cannot talk to it. Why-not? > > I still believe it must have something to do with a lack of a connector. > > > > Now when I surf to my uri's and get the 500 server failure the log shows > > this. > > notice on the second attempt that it 'reenable'd ajp13:jni. > > this is not something that I have configured. must be a default. hmmmm... > > > > [Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x640000 > > 0x642000 > > [Fri Jan 23 11:37:02 2004] [notice] workerEnv.init() create slot epStat.0 > > [Fri Jan 23 11:37:02 2004] [error] lb.service() worker failed 120000 for > > ajp13:jni > > [Fri Jan 23 11:37:02 2004] [error] lb.service() unrecoverable error... > > [Fri Jan 23 11:37:02 2004] [notice] vm.detach() ok > > [Fri Jan 23 11:37:02 2004] [error] mod_jk.handler() Error connecting to > > tomcat 120000 > > [Fri Jan 23 11:39:03 2004] [error] lb.getWorker() reenable ajp13:jni > > [Fri Jan 23 11:39:03 2004] [notice] lb.getWorker() All workers in error > > state, use the one with oldest error > > [Fri Jan 23 11:39:03 2004] [error] lb.service() worker failed 120000 for > > ajp13:jni > > [Fri Jan 23 11:39:03 2004] [error] lb.service() unrecoverable error... > > [Fri Jan 23 11:39:04 2004] [notice] vm.detach() ok > > [Fri Jan 23 11:39:04 2004] [error] mod_jk.handler() Error connecting to > > tomcat 120000 > > > > > > ----- Original Message ----- > > From: "Yiannis Mavroukakis" <[EMAIL PROTECTED]> > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > > Sent: Friday, January 23, 2004 11:36 AM > > Subject: RE: tomcat5 in-process (more info for you guys) > > > > > > > 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. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]