RE: tomcat5 in-process (more info for you guys)

2004-01-28 Thread Yiannis Mavroukakis
That's just saying that it tried to guess the path to your JVM shared
library and could not find it.
Make sure that in your [vm:] section you have the following
JVM=/opt/j2sdk1.4.2_03/jre/lib/i386/server/libjvm.so

Of course this is for my JVM, adjust accordingly for yours.

Yiannis

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 27 January 2004 17:40
To: Tomcat Users List
Subject: RE: tomcat5 in-process (more info for you guys)


I tried that, I ended up with this:

  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

I put the apr libs in my LD_LIBRARY_PATH along with my libjvm.so and I got a
bunch of vm path information (see below a snippet) in my logs that just kept
cycling over and over and filling the logs up, and the process would neither
startup nor shutdown, I had to kill it process by process to get it to
finally stop.  I then just went back to using channelSocket, it works just
fine.

 This just keeps cycling and cycling through the error_log **
[Fri Jan 23 15:29:22 2004] [notice] jk2_init() Found child 18657 in
scoreboard slot 1
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() failed
/usr/java/j2sdk1.4.2_03/jre/bin/classic/libjvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() failed
/usr/java/j2sdk1.4.2_03/jre/bin/client/jvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() failed
/usr/java/j2sdk1.4.2_03/jre/lib/i386/classic/libjvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() trying
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() found
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so in
/usr/java/j2sdk1.4.2_03/jre/lib.
[Fri Jan 23 15:29:22 2004] [notice] vm.init(): Jni lib:
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so

Then I get this in my catalina.out
***
Jan 23, 2004 3:28:44 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jan 23, 2004 3:28:44 PM org.apache.jk.server.JkMain start
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
Jan 23, 2004 3:28:44 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/87  config=/www/apache2/conf/jk2.properties
Jan 23, 2004 3:28:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5284 ms


Thanks for taking the time to help me with this...

Drew
-Original Message-
From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 12:06 PM
To: 'Tomcat Users List'
Subject: RE: tomcat5 in-process (more info for you guys)


NP. As far as your error is concerned, you can rectify this by adding the
following
option under your [vm:] section:

OPT=-Djava.library.path=/path/to/jkjni.so

And see what other errors it spits back at you :)

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 27 January 2004 15:33
To: Tomcat Users List
Subject: RE: tomcat5 in-process (more info for you guys)


Thanks, Yiannis.  I'll stop waisting my time trying to figure out why it
won't work.  I was beginning to think I was too ignorant...

Drew

-Original Message-
From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 4:38 AM
To: 'Tomcat Users List'
Subject: RE: tomcat5 in-process (more info for you guys)


JNI will only work for a single worker model, from my questions to Mladen
Turk,if memory serves me 
right, so JNI won't work on Linux (yet). The good people involved on the
connectors project
however will probably come up with something.

Yiannis

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 23 January 2004 19:30
To: Tomcat Users List
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

RE: tomcat5 in-process (more info for you guys)

2004-01-27 Thread Hamilton Andrew
Thanks, Yiannis.  I'll stop waisting my time trying to figure out why it
won't work.  I was beginning to think I was too ignorant...

Drew

-Original Message-
From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 4:38 AM
To: 'Tomcat Users List'
Subject: RE: tomcat5 in-process (more info for you guys)


JNI will only work for a single worker model, from my questions to Mladen
Turk,if memory serves me 
right, so JNI won't work on Linux (yet). The good people involved on the
connectors project
however will probably come up with something.

Yiannis

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 23 January 2004 19:30
To: Tomcat Users List
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.  h...

[Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
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 12 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 12
[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 12 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 12


- 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

RE: tomcat5 in-process (more info for you guys)

2004-01-27 Thread Yiannis Mavroukakis
NP. As far as your error is concerned, you can rectify this by adding the
following
option under your [vm:] section:

OPT=-Djava.library.path=/path/to/jkjni.so

And see what other errors it spits back at you :)

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 27 January 2004 15:33
To: Tomcat Users List
Subject: RE: tomcat5 in-process (more info for you guys)


Thanks, Yiannis.  I'll stop waisting my time trying to figure out why it
won't work.  I was beginning to think I was too ignorant...

Drew

-Original Message-
From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 4:38 AM
To: 'Tomcat Users List'
Subject: RE: tomcat5 in-process (more info for you guys)


JNI will only work for a single worker model, from my questions to Mladen
Turk,if memory serves me 
right, so JNI won't work on Linux (yet). The good people involved on the
connectors project
however will probably come up with something.

Yiannis

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 23 January 2004 19:30
To: Tomcat Users List
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.  h...

[Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
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 12 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 12
[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 12 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 12


- 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

RE: tomcat5 in-process (more info for you guys)

2004-01-27 Thread Hamilton Andrew
I tried that, I ended up with this:

  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

I put the apr libs in my LD_LIBRARY_PATH along with my libjvm.so and I got a
bunch of vm path information (see below a snippet) in my logs that just kept
cycling over and over and filling the logs up, and the process would neither
startup nor shutdown, I had to kill it process by process to get it to
finally stop.  I then just went back to using channelSocket, it works just
fine.

 This just keeps cycling and cycling through the error_log **
[Fri Jan 23 15:29:22 2004] [notice] jk2_init() Found child 18657 in
scoreboard slot 1
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() failed
/usr/java/j2sdk1.4.2_03/jre/bin/classic/libjvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() failed
/usr/java/j2sdk1.4.2_03/jre/bin/client/jvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() failed
/usr/java/j2sdk1.4.2_03/jre/lib/i386/classic/libjvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() trying
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so
[Fri Jan 23 15:29:22 2004] [notice] jni.guessJvmDll() found
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so in
/usr/java/j2sdk1.4.2_03/jre/lib.
[Fri Jan 23 15:29:22 2004] [notice] vm.init(): Jni lib:
/usr/java/j2sdk1.4.2_03/jre/lib/i386/client/libjvm.so

Then I get this in my catalina.out
***
Jan 23, 2004 3:28:44 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jan 23, 2004 3:28:44 PM org.apache.jk.server.JkMain start
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
Jan 23, 2004 3:28:44 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/87  config=/www/apache2/conf/jk2.properties
Jan 23, 2004 3:28:44 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5284 ms


Thanks for taking the time to help me with this...

Drew
-Original Message-
From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 12:06 PM
To: 'Tomcat Users List'
Subject: RE: tomcat5 in-process (more info for you guys)


NP. As far as your error is concerned, you can rectify this by adding the
following
option under your [vm:] section:

OPT=-Djava.library.path=/path/to/jkjni.so

And see what other errors it spits back at you :)

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 27 January 2004 15:33
To: Tomcat Users List
Subject: RE: tomcat5 in-process (more info for you guys)


Thanks, Yiannis.  I'll stop waisting my time trying to figure out why it
won't work.  I was beginning to think I was too ignorant...

Drew

-Original Message-
From: Yiannis Mavroukakis [mailto:[EMAIL PROTECTED]
Sent: Monday, January 26, 2004 4:38 AM
To: 'Tomcat Users List'
Subject: RE: tomcat5 in-process (more info for you guys)


JNI will only work for a single worker model, from my questions to Mladen
Turk,if memory serves me 
right, so JNI won't work on Linux (yet). The good people involved on the
connectors project
however will probably come up with something.

Yiannis

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 23 January 2004 19:30
To: Tomcat Users List
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.  h...

[Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
0x642000

RE: tomcat5 in-process (more info for you guys)

2004-01-26 Thread Yiannis Mavroukakis
mod_jk2.c :) I refer to the Mladen's source whenever I get a message
that won't make sense, it clears up things for me a lot.

Yiannis

-Original Message-
From: Phil Adams [mailto:[EMAIL PROTECTED]
Sent: 23 January 2004 21:36
To: Tomcat Users List
Subject: Re: tomcat5 in-process (more info for you guys)


where did you find this blurb of code

- 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

RE: tomcat5 in-process (more info for you guys)

2004-01-26 Thread Yiannis Mavroukakis
JNI will only work for a single worker model, from my questions to Mladen
Turk,if memory serves me 
right, so JNI won't work on Linux (yet). The good people involved on the
connectors project
however will probably come up with something.

Yiannis

-Original Message-
From: Hamilton Andrew [mailto:[EMAIL PROTECTED]
Sent: 23 January 2004 19:30
To: Tomcat Users List
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.  h...

[Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
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 12 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 12
[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 12 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 12


- 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

RE: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Yiannis Mavroukakis
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 

Re: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Phil Adams
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.  h...

[Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
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 12 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 12
[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 12 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 12


- 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

RE: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Hamilton Andrew
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.  h...

[Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
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 12 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 12
[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 12 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 12


- 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

Re: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Phil Adams
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.  h...

 [Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
 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 12 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 12
 [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 12 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 12


 - 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

RE: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Hamilton Andrew
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.  h...

 [Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
 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 12 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 12
 [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 12 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 12


 - 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

Re: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Phil Adams
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.
h...
 
  [Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
  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 12 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 12
  [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 12 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 12
 
 
  - 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

RE: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Hamilton Andrew
Absolutely, I built them myself and even rebuilt them this afternoon.
Matter of fact I did that before I even posted my issues.  If I use the
channelSocket it works just fine.  It's just I can't seem to get the apr
libs to load...

Thanks,

Drew

-Original Message-
From: Phil Adams [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 3:49 PM
To: Tomcat Users List
Subject: Re: tomcat5 in-process (more info for you guys)


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.
h...
 
  [Fri Jan 23 11:37:02 2004] [notice] shm.createSlot() Create 1 0x64
  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 12 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 12
  [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 12 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 12
 
 
  - 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

Re: tomcat5 in-process (more info for you guys)

2004-01-23 Thread Phil Adams
where did you find this blurb of code

- 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