Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread armalai
Hi.,
   I'm getting lot of issues in this combination in windows.
In did not find any document or forums discussion on that.
1.Can any one suggest me to change ot right vesrion or i can stick on with this one?
2.when i hit my application i'm getting this WARNING message..is this causing any 
probs...anyway application is working..but it is very slow.
Tomcat Log:-
Apr 5, 2004 6:14:02 PM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request

Thanks.,
MALAI

RE: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread Carl Olivier
Hi.

That is apprently when jk is trying to register the request with JMX.  You
can disable that (and hence stop the error message) by adding the following
line at the end if your jk2.properties:

request.registerRequests=false

With regards problems and stability the most stable I have been able to get
it is with:

Apache 2.0.46
Tomcat 5.0.19
mod_jk2.03 - mod_jk2.04
J2SDK1.4.2_01

I would recommend that you compile mod_jk2 for your version of Apache
(although I am not clear on how much of a difference this makes?)

Regards,

Carl

-Original Message-
From: armalai [mailto:[EMAIL PROTECTED] 
Sent: 06 April 2004 03:04 PM
To: Tomcat Users List
Subject: Tomcat 5.X - Apache2.X - Mod-JK2 


Hi.,
   I'm getting lot of issues in this combination in windows.
In did not find any document or forums discussion on that.
1.Can any one suggest me to change ot right vesrion or i can stick on with
this one?
2.when i hit my application i'm getting this WARNING message..is this
causing any probs...anyway application is working..but it is very slow.
Tomcat Log:-
Apr 5, 2004 6:14:02 PM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request

Thanks.,
MALAI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread armalai
Hi. Carl ,
Thanks for your reply..that works for me.
I have another few error in my apache log file.
Can you please look at this..and give me your suggestion..

[Tue Apr 06 09:11:17 2004] [error] mod_jk child init 1 0
[Tue Apr 06 09:11:17 2004] [notice] Child 2452: Acquired the start mutex.
[Tue Apr 06 09:11:17 2004] [notice] Child 2452: Starting 250 worker threads.
[Tue Apr 06 09:12:39 2004] [notice] shm.createSlot() Create 1 0x52
0x522000
[Tue Apr 06 09:12:39 2004] [notice] workerEnv.init() create slot epStat.0
[Tue Apr 06 09:12:39 2004] [error] lb.service() worker failed 12 for
ajp13:jni
[Tue Apr 06 09:12:39 2004] [error] lb.service() unrecoverable error...
[Tue Apr 06 09:12:39 2004] [notice] vm.detach() ok
[Tue Apr 06 09:12:39 2004] [error] mod_jk.handler() Error connecting to
tomcat 12
[Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
localhost:8029 61 Unknown error
[Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
localhost:8019 61 Unknown error
[Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
ajp13:localhost:8029
[Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
ajp13:localhost:8019


Thanks.,
MALAI
- Original Message - 
From: Carl Olivier [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 9:06 AM
Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


 Hi.

 That is apprently when jk is trying to register the request with JMX.  You
 can disable that (and hence stop the error message) by adding the
following
 line at the end if your jk2.properties:

 request.registerRequests=false

 With regards problems and stability the most stable I have been able to
get
 it is with:

 Apache 2.0.46
 Tomcat 5.0.19
 mod_jk2.03 - mod_jk2.04
 J2SDK1.4.2_01

 I would recommend that you compile mod_jk2 for your version of Apache
 (although I am not clear on how much of a difference this makes?)

 Regards,

 Carl

 -Original Message-
 From: armalai [mailto:[EMAIL PROTECTED]
 Sent: 06 April 2004 03:04 PM
 To: Tomcat Users List
 Subject: Tomcat 5.X - Apache2.X - Mod-JK2


 Hi.,
I'm getting lot of issues in this combination in windows.
 In did not find any document or forums discussion on that.
 1.Can any one suggest me to change ot right vesrion or i can stick on with
 this one?
 2.when i hit my application i'm getting this WARNING message..is this
 causing any probs...anyway application is working..but it is very slow.
 Tomcat Log:-
 Apr 5, 2004 6:14:02 PM org.apache.jk.common.HandlerRequest decodeRequest
 WARNING: Error registering request

 Thanks.,
 MALAI

 -
 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]



RE: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread Chippada , Sreeni
Hi Malai,
I just got this configuration working for me. I still get the
following 3 errors in my mod_jk2.log file. Do you get these errors? 
As per the errors you are getting, I understand you are trying multiple
instances of tomcat. If that is the case, why don't you try with on instance
and test.



[Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (211)]
workerEnv.initChannel() init failed for channel.jni:jni
[Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
workerJni.Init() Skipping initialization for the 460 460
[Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
workerEnv.initWorkers() init failed for worker.jni:onStartup
[Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
workerJni.Init() Skipping initialization for the 460 460
[Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
workerEnv.initWorkers() init failed for worker.jni:onShutdown




-Sreeni

-Original Message-
From: armalai [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 9:20 AM
To: Tomcat Users List
Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2 

Hi. Carl ,
Thanks for your reply..that works for me.
I have another few error in my apache log file.
Can you please look at this..and give me your suggestion..

[Tue Apr 06 09:11:17 2004] [error] mod_jk child init 1 0
[Tue Apr 06 09:11:17 2004] [notice] Child 2452: Acquired the start mutex.
[Tue Apr 06 09:11:17 2004] [notice] Child 2452: Starting 250 worker threads.
[Tue Apr 06 09:12:39 2004] [notice] shm.createSlot() Create 1 0x52
0x522000
[Tue Apr 06 09:12:39 2004] [notice] workerEnv.init() create slot epStat.0
[Tue Apr 06 09:12:39 2004] [error] lb.service() worker failed 12 for
ajp13:jni
[Tue Apr 06 09:12:39 2004] [error] lb.service() unrecoverable error...
[Tue Apr 06 09:12:39 2004] [notice] vm.detach() ok
[Tue Apr 06 09:12:39 2004] [error] mod_jk.handler() Error connecting to
tomcat 12
[Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
localhost:8029 61 Unknown error
[Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
localhost:8019 61 Unknown error
[Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
ajp13:localhost:8029
[Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
ajp13:localhost:8019


Thanks.,
MALAI
- Original Message - 
From: Carl Olivier [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 9:06 AM
Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


 Hi.

 That is apprently when jk is trying to register the request with JMX.  You
 can disable that (and hence stop the error message) by adding the
following
 line at the end if your jk2.properties:

 request.registerRequests=false

 With regards problems and stability the most stable I have been able to
get
 it is with:

 Apache 2.0.46
 Tomcat 5.0.19
 mod_jk2.03 - mod_jk2.04
 J2SDK1.4.2_01

 I would recommend that you compile mod_jk2 for your version of Apache
 (although I am not clear on how much of a difference this makes?)

 Regards,

 Carl

 -Original Message-
 From: armalai [mailto:[EMAIL PROTECTED]
 Sent: 06 April 2004 03:04 PM
 To: Tomcat Users List
 Subject: Tomcat 5.X - Apache2.X - Mod-JK2


 Hi.,
I'm getting lot of issues in this combination in windows.
 In did not find any document or forums discussion on that.
 1.Can any one suggest me to change ot right vesrion or i can stick on with
 this one?
 2.when i hit my application i'm getting this WARNING message..is this
 causing any probs...anyway application is working..but it is very slow.
 Tomcat Log:-
 Apr 5, 2004 6:14:02 PM org.apache.jk.common.HandlerRequest decodeRequest
 WARNING: Error registering request

 Thanks.,
 MALAI

 -
 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]



Re: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread armalai
Hi.,
   I just disabled the onstart,onstop option.
For me its working well.
I think that Auto start for multiple instance is not supporting.
I didn't get any docus on that.

So i'm decided to go with this..i mean manual start of Tomcat instances.

My only error is..
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path

can you tell me about this?

Thanks.,
MALAI
- Original Message - 
From: Chippada , Sreeni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 10:35 AM
Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


 Hi Malai,
 I just got this configuration working for me. I still get the
 following 3 errors in my mod_jk2.log file. Do you get these errors?
 As per the errors you are getting, I understand you are trying multiple
 instances of tomcat. If that is the case, why don't you try with on
instance
 and test.



 [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (211)]
 workerEnv.initChannel() init failed for channel.jni:jni
 [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
 workerJni.Init() Skipping initialization for the 460 460
 [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
 workerEnv.initWorkers() init failed for worker.jni:onStartup
 [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
 workerJni.Init() Skipping initialization for the 460 460
 [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
 workerEnv.initWorkers() init failed for worker.jni:onShutdown




 -Sreeni

 -Original Message-
 From: armalai [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 9:20 AM
 To: Tomcat Users List
 Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2

 Hi. Carl ,
 Thanks for your reply..that works for me.
 I have another few error in my apache log file.
 Can you please look at this..and give me your suggestion..

 [Tue Apr 06 09:11:17 2004] [error] mod_jk child init 1 0
 [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Acquired the start mutex.
 [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Starting 250 worker
threads.
 [Tue Apr 06 09:12:39 2004] [notice] shm.createSlot() Create 1 0x52
 0x522000
 [Tue Apr 06 09:12:39 2004] [notice] workerEnv.init() create slot epStat.0
 [Tue Apr 06 09:12:39 2004] [error] lb.service() worker failed 12 for
 ajp13:jni
 [Tue Apr 06 09:12:39 2004] [error] lb.service() unrecoverable error...
 [Tue Apr 06 09:12:39 2004] [notice] vm.detach() ok
 [Tue Apr 06 09:12:39 2004] [error] mod_jk.handler() Error connecting to
 tomcat 12
 [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
 localhost:8029 61 Unknown error
 [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
 localhost:8019 61 Unknown error
 [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
 ajp13:localhost:8029
 [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
 ajp13:localhost:8019


 Thanks.,
 MALAI
 - Original Message - 
 From: Carl Olivier [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 9:06 AM
 Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


  Hi.
 
  That is apprently when jk is trying to register the request with JMX.
You
  can disable that (and hence stop the error message) by adding the
 following
  line at the end if your jk2.properties:
 
  request.registerRequests=false
 
  With regards problems and stability the most stable I have been able to
 get
  it is with:
 
  Apache 2.0.46
  Tomcat 5.0.19
  mod_jk2.03 - mod_jk2.04
  J2SDK1.4.2_01
 
  I would recommend that you compile mod_jk2 for your version of Apache
  (although I am not clear on how much of a difference this makes?)
 
  Regards,
 
  Carl
 
  -Original Message-
  From: armalai [mailto:[EMAIL PROTECTED]
  Sent: 06 April 2004 03:04 PM
  To: Tomcat Users List
  Subject: Tomcat 5.X - Apache2.X - Mod-JK2
 
 
  Hi.,
 I'm getting lot of issues in this combination in windows.
  In did not find any document or forums discussion on that.
  1.Can any one suggest me to change ot right vesrion or i can stick on
with
  this one?
  2.when i hit my application i'm getting this WARNING message..is this
  causing any probs...anyway application is working..but it is very slow.
  Tomcat Log:-
  Apr 5, 2004 6:14:02 PM org.apache.jk.common.HandlerRequest decodeRequest
  WARNING: Error registering request
 
  Thanks.,
  MALAI
 
  -
  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]





-
To unsubscribe, e-mail: [EMAIL PROTECTED

RE: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread Chippada , Sreeni
I built jkjni.dll from the jk2 source, renamed it as jkjni.so and dropped
into the $APACHE_HOME/modules directory. 

At this point are you able to access the Servlets/Webapps? I am asking
because, if jkjni.dll is required, how can it work?



-Original Message-
From: armalai [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 11:09 AM
To: Tomcat Users List
Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2 

Hi.,
   I just disabled the onstart,onstop option.
For me its working well.
I think that Auto start for multiple instance is not supporting.
I didn't get any docus on that.

So i'm decided to go with this..i mean manual start of Tomcat instances.

My only error is..
java.lang.UnsatisfiedLinkError: no jkjni in java.library.path

can you tell me about this?

Thanks.,
MALAI
- Original Message - 
From: Chippada , Sreeni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 10:35 AM
Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


 Hi Malai,
 I just got this configuration working for me. I still get the
 following 3 errors in my mod_jk2.log file. Do you get these errors?
 As per the errors you are getting, I understand you are trying multiple
 instances of tomcat. If that is the case, why don't you try with on
instance
 and test.



 [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (211)]
 workerEnv.initChannel() init failed for channel.jni:jni
 [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
 workerJni.Init() Skipping initialization for the 460 460
 [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
 workerEnv.initWorkers() init failed for worker.jni:onStartup
 [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
 workerJni.Init() Skipping initialization for the 460 460
 [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
 workerEnv.initWorkers() init failed for worker.jni:onShutdown




 -Sreeni

 -Original Message-
 From: armalai [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 9:20 AM
 To: Tomcat Users List
 Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2

 Hi. Carl ,
 Thanks for your reply..that works for me.
 I have another few error in my apache log file.
 Can you please look at this..and give me your suggestion..

 [Tue Apr 06 09:11:17 2004] [error] mod_jk child init 1 0
 [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Acquired the start mutex.
 [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Starting 250 worker
threads.
 [Tue Apr 06 09:12:39 2004] [notice] shm.createSlot() Create 1 0x52
 0x522000
 [Tue Apr 06 09:12:39 2004] [notice] workerEnv.init() create slot epStat.0
 [Tue Apr 06 09:12:39 2004] [error] lb.service() worker failed 12 for
 ajp13:jni
 [Tue Apr 06 09:12:39 2004] [error] lb.service() unrecoverable error...
 [Tue Apr 06 09:12:39 2004] [notice] vm.detach() ok
 [Tue Apr 06 09:12:39 2004] [error] mod_jk.handler() Error connecting to
 tomcat 12
 [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
 localhost:8029 61 Unknown error
 [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
 localhost:8019 61 Unknown error
 [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
 ajp13:localhost:8029
 [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
 ajp13:localhost:8019


 Thanks.,
 MALAI
 - Original Message - 
 From: Carl Olivier [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 9:06 AM
 Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


  Hi.
 
  That is apprently when jk is trying to register the request with JMX.
You
  can disable that (and hence stop the error message) by adding the
 following
  line at the end if your jk2.properties:
 
  request.registerRequests=false
 
  With regards problems and stability the most stable I have been able to
 get
  it is with:
 
  Apache 2.0.46
  Tomcat 5.0.19
  mod_jk2.03 - mod_jk2.04
  J2SDK1.4.2_01
 
  I would recommend that you compile mod_jk2 for your version of Apache
  (although I am not clear on how much of a difference this makes?)
 
  Regards,
 
  Carl
 
  -Original Message-
  From: armalai [mailto:[EMAIL PROTECTED]
  Sent: 06 April 2004 03:04 PM
  To: Tomcat Users List
  Subject: Tomcat 5.X - Apache2.X - Mod-JK2
 
 
  Hi.,
 I'm getting lot of issues in this combination in windows.
  In did not find any document or forums discussion on that.
  1.Can any one suggest me to change ot right vesrion or i can stick on
with
  this one?
  2.when i hit my application i'm getting this WARNING message..is this
  causing any probs...anyway application is working..but it is very slow.
  Tomcat Log:-
  Apr 5, 2004 6:14:02 PM org.apache.jk.common.HandlerRequest decodeRequest
  WARNING: Error registering request
 
  Thanks.,
  MALAI
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED

Re: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread armalai
Hi,
   Yest i'm able to browse my application well.
Is there a way to get the JKJNI.dll ?
Till now i hav'nt build anything..

Thanks.,
MALAI
- Original Message - 
From: Chippada , Sreeni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 11:18 AM
Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


 I built jkjni.dll from the jk2 source, renamed it as jkjni.so and dropped
 into the $APACHE_HOME/modules directory.

 At this point are you able to access the Servlets/Webapps? I am asking
 because, if jkjni.dll is required, how can it work?



 -Original Message-
 From: armalai [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 11:09 AM
 To: Tomcat Users List
 Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2

 Hi.,
I just disabled the onstart,onstop option.
 For me its working well.
 I think that Auto start for multiple instance is not supporting.
 I didn't get any docus on that.

 So i'm decided to go with this..i mean manual start of Tomcat instances.

 My only error is..
 java.lang.UnsatisfiedLinkError: no jkjni in java.library.path

 can you tell me about this?

 Thanks.,
 MALAI
 - Original Message - 
 From: Chippada , Sreeni [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 10:35 AM
 Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


  Hi Malai,
  I just got this configuration working for me. I still get the
  following 3 errors in my mod_jk2.log file. Do you get these errors?
  As per the errors you are getting, I understand you are trying multiple
  instances of tomcat. If that is the case, why don't you try with on
 instance
  and test.
 
 
 
  [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (211)]
  workerEnv.initChannel() init failed for channel.jni:jni
  [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
  workerJni.Init() Skipping initialization for the 460 460
  [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
  workerEnv.initWorkers() init failed for worker.jni:onStartup
  [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
  workerJni.Init() Skipping initialization for the 460 460
  [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
  workerEnv.initWorkers() init failed for worker.jni:onShutdown
 
 
 
 
  -Sreeni
 
  -Original Message-
  From: armalai [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, April 06, 2004 9:20 AM
  To: Tomcat Users List
  Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2
 
  Hi. Carl ,
  Thanks for your reply..that works for me.
  I have another few error in my apache log file.
  Can you please look at this..and give me your suggestion..
 
  [Tue Apr 06 09:11:17 2004] [error] mod_jk child init 1 0
  [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Acquired the start
mutex.
  [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Starting 250 worker
 threads.
  [Tue Apr 06 09:12:39 2004] [notice] shm.createSlot() Create 1 0x52
  0x522000
  [Tue Apr 06 09:12:39 2004] [notice] workerEnv.init() create slot
epStat.0
  [Tue Apr 06 09:12:39 2004] [error] lb.service() worker failed 12 for
  ajp13:jni
  [Tue Apr 06 09:12:39 2004] [error] lb.service() unrecoverable error...
  [Tue Apr 06 09:12:39 2004] [notice] vm.detach() ok
  [Tue Apr 06 09:12:39 2004] [error] mod_jk.handler() Error connecting to
  tomcat 12
  [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
  localhost:8029 61 Unknown error
  [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
  localhost:8019 61 Unknown error
  [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
  ajp13:localhost:8029
  [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
  ajp13:localhost:8019
 
 
  Thanks.,
  MALAI
  - Original Message - 
  From: Carl Olivier [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Sent: Tuesday, April 06, 2004 9:06 AM
  Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2
 
 
   Hi.
  
   That is apprently when jk is trying to register the request with JMX.
 You
   can disable that (and hence stop the error message) by adding the
  following
   line at the end if your jk2.properties:
  
   request.registerRequests=false
  
   With regards problems and stability the most stable I have been able
to
  get
   it is with:
  
   Apache 2.0.46
   Tomcat 5.0.19
   mod_jk2.03 - mod_jk2.04
   J2SDK1.4.2_01
  
   I would recommend that you compile mod_jk2 for your version of Apache
   (although I am not clear on how much of a difference this makes?)
  
   Regards,
  
   Carl
  
   -Original Message-
   From: armalai [mailto:[EMAIL PROTECTED]
   Sent: 06 April 2004 03:04 PM
   To: Tomcat Users List
   Subject: Tomcat 5.X - Apache2.X - Mod-JK2
  
  
   Hi.,
  I'm getting lot of issues in this combination in windows.
   In did not find any document or forums discussion on that.
   1.Can any one suggest me to change ot right vesrion or i can stick on
 with
   this one?
   2.when i hit my application i'm

RE: Tomcat 5.X - Apache2.X - Mod-JK2

2004-04-06 Thread Chippada , Sreeni
I tried to send it to the news group. Apparently it did not go through our
mail server.

-Sreeni

-Original Message-
From: armalai [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 06, 2004 11:36 AM
To: Tomcat Users List
Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2 

Hi,
   Yest i'm able to browse my application well.
Is there a way to get the JKJNI.dll ?
Till now i hav'nt build anything..

Thanks.,
MALAI
- Original Message - 
From: Chippada , Sreeni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 11:18 AM
Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


 I built jkjni.dll from the jk2 source, renamed it as jkjni.so and dropped
 into the $APACHE_HOME/modules directory.

 At this point are you able to access the Servlets/Webapps? I am asking
 because, if jkjni.dll is required, how can it work?



 -Original Message-
 From: armalai [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 11:09 AM
 To: Tomcat Users List
 Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2

 Hi.,
I just disabled the onstart,onstop option.
 For me its working well.
 I think that Auto start for multiple instance is not supporting.
 I didn't get any docus on that.

 So i'm decided to go with this..i mean manual start of Tomcat instances.

 My only error is..
 java.lang.UnsatisfiedLinkError: no jkjni in java.library.path

 can you tell me about this?

 Thanks.,
 MALAI
 - Original Message - 
 From: Chippada , Sreeni [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Tuesday, April 06, 2004 10:35 AM
 Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2


  Hi Malai,
  I just got this configuration working for me. I still get the
  following 3 errors in my mod_jk2.log file. Do you get these errors?
  As per the errors you are getting, I understand you are trying multiple
  instances of tomcat. If that is the case, why don't you try with on
 instance
  and test.
 
 
 
  [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (211)]
  workerEnv.initChannel() init failed for channel.jni:jni
  [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
  workerJni.Init() Skipping initialization for the 460 460
  [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
  workerEnv.initWorkers() init failed for worker.jni:onStartup
  [Tue Apr 06 10:26:07 2004] ( info ) [jk_worker_jni.c (204)]
  workerJni.Init() Skipping initialization for the 460 460
  [Tue Apr 06 10:26:07 2004] (error ) [jk_workerEnv.c (178)]
  workerEnv.initWorkers() init failed for worker.jni:onShutdown
 
 
 
 
  -Sreeni
 
  -Original Message-
  From: armalai [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, April 06, 2004 9:20 AM
  To: Tomcat Users List
  Subject: Re: Tomcat 5.X - Apache2.X - Mod-JK2
 
  Hi. Carl ,
  Thanks for your reply..that works for me.
  I have another few error in my apache log file.
  Can you please look at this..and give me your suggestion..
 
  [Tue Apr 06 09:11:17 2004] [error] mod_jk child init 1 0
  [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Acquired the start
mutex.
  [Tue Apr 06 09:11:17 2004] [notice] Child 2452: Starting 250 worker
 threads.
  [Tue Apr 06 09:12:39 2004] [notice] shm.createSlot() Create 1 0x52
  0x522000
  [Tue Apr 06 09:12:39 2004] [notice] workerEnv.init() create slot
epStat.0
  [Tue Apr 06 09:12:39 2004] [error] lb.service() worker failed 12 for
  ajp13:jni
  [Tue Apr 06 09:12:39 2004] [error] lb.service() unrecoverable error...
  [Tue Apr 06 09:12:39 2004] [notice] vm.detach() ok
  [Tue Apr 06 09:12:39 2004] [error] mod_jk.handler() Error connecting to
  tomcat 12
  [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
  localhost:8029 61 Unknown error
  [Tue Apr 06 09:12:43 2004] [error] channelSocket.open() connect failed
  localhost:8019 61 Unknown error
  [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
  ajp13:localhost:8029
  [Tue Apr 06 09:12:43 2004] [error] ajp13.connect() failed
  ajp13:localhost:8019
 
 
  Thanks.,
  MALAI
  - Original Message - 
  From: Carl Olivier [EMAIL PROTECTED]
  To: 'Tomcat Users List' [EMAIL PROTECTED]
  Sent: Tuesday, April 06, 2004 9:06 AM
  Subject: RE: Tomcat 5.X - Apache2.X - Mod-JK2
 
 
   Hi.
  
   That is apprently when jk is trying to register the request with JMX.
 You
   can disable that (and hence stop the error message) by adding the
  following
   line at the end if your jk2.properties:
  
   request.registerRequests=false
  
   With regards problems and stability the most stable I have been able
to
  get
   it is with:
  
   Apache 2.0.46
   Tomcat 5.0.19
   mod_jk2.03 - mod_jk2.04
   J2SDK1.4.2_01
  
   I would recommend that you compile mod_jk2 for your version of Apache
   (although I am not clear on how much of a difference this makes?)
  
   Regards,
  
   Carl
  
   -Original Message-
   From: armalai [mailto:[EMAIL PROTECTED]
   Sent: 06 April 2004 03:04 PM
   To: Tomcat Users List
   Subject: Tomcat 5.X - Apache2.X - Mod

Tomcat 5 with Apache2

2003-12-30 Thread Shawn Zernik
Gurus:

I installed the Tomcat per these directions
(http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html) with
tomcat in C:\tomcat and Apache HTTPd in c:\apache2.  It starts to load but
dies.  I have stoped the httpd server, deleted the log file, and started.
The following errors are in the log:

[Tue Dec 30 22:34:35 2003] [notice] Parent: Created child process 1852
[Tue Dec 30 22:34:35 2003] [notice] Child 1852: Child process is running
[Tue Dec 30 22:34:35 2003] [notice] jk2_init() Found child 1852 in
scoreboard slot 0
[Tue Dec 30 22:34:35 2003] [notice] vm.init(): Jni lib: C:\Program
Files\Java\j2re1.4.2\bin\client\jvm.dll
[Tue Dec 30 22:34:35 2003] [notice] vm.open2() done
[Tue Dec 30 22:34:35 2003] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Tue Dec 30 22:34:35 2003] [error] Can't find class
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Tue Dec 30 22:34:35 2003] [notice] vm.detach() ok
[Tue Dec 30 22:34:35 2003] [error] workerEnv.initWorkers() init failed for
worker.jni:onStartup
[Tue Dec 30 22:34:35 2003] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Tue Dec 30 22:34:35 2003] [error] Can't find class
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Tue Dec 30 22:34:35 2003] [notice] vm.detach() ok
[Tue Dec 30 22:34:35 2003] [error] workerEnv.initWorkers() init failed for
worker.jni:onShutdown
[Tue Dec 30 22:34:35 2003] [notice] uriMap: creating context */tomcat-docs
[Tue Dec 30 22:34:35 2003] [notice] workerEnv.init() ok
C:/apache2/conf/workers2.properties
[Tue Dec 30 22:34:35 2003] [error] mod_jk child init 1 0
[Tue Dec 30 22:34:35 2003] [notice] Child 1852: Acquired the start mutex.
[Tue Dec 30 22:34:35 2003] [notice] Child 1852: Starting 250 worker threads.




After searching on the internet, I found a VM option that includes just
about everything:

OPT=-Djava.class.path=C:/Tomcat/bin/tomcat-jni.jar;C:/Tomcat/server/lib/tomc
at-jk2.jar;C:/Tomcat/server/lib/commons-logging.jar;C:/Tomcat/common/lib/com
mons-collections.jar;C:/Tomcat/common/lib/naming-common.jar;C:/Tomcat/common
/lib/naming-resources.jar;C:/Tomcat/server/lib/catalina.jar;C:/Tomcat/server
/lib/commons-digester.jar;C:/TomCat/server/lib/commons-beanutils.jar;C:/Tomc
at/server/lib/mx4j-jmx.jar;C:/Tomcat/server/lib/commons-modeler.jar;C:/Tomca
t/common/lib/servlet.jar;C:/Tomcat/server/lib/tomcat-http11.jar;C:/Tomcat/se
rver/lib/servlets-invoker.jar;C:/Tomcat/server/lib/servlets-default.jar;C:/T
omcat/server/lib/servlets-webdav.jar;C:/Tomcat/server/lib/servlets-manager.j
ar;C:/Tomcat/server/lib/servlets-common.jar;c:/j2sdk/j2sdk1.4.2/lib/tools.ja
r;c:/tomcat/bin/BootStrap.jar;c:/tomcat/server/lib/tomcat-util.jar;c:/tomcat
/server/lib/tomcat-coyote.jar



This get past the prevoius error, but dies in a stack trace:

[Tue Dec 30 22:40:12 2003] [notice] Parent: Created child process 1448
[Tue Dec 30 22:40:12 2003] [notice] Child 1448: Child process is running
[Tue Dec 30 22:40:12 2003] [notice] jk2_init() Found child 1448 in
scoreboard slot 0
[Tue Dec 30 22:40:12 2003] [notice] vm.init(): Jni lib: C:\Program
Files\Java\j2re1.4.2\bin\client\jvm.dll
[Tue Dec 30 22:40:12 2003] [notice] vm.open2() done
[Tue Dec 30 22:40:12 2003] [notice] jni.validate() class=
org/apache/jk/apr/TomcatStarter
[Tue Dec 30 22:40:12 2003] [notice] Loaded org/apache/jk/apr/TomcatStarter
[Tue Dec 30 22:40:12 2003] [error] Can't find class
org/apache/jk/apr/AprImpl
java.lang.NoClassDefFoundError: javax/management/MBeanRegistration
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at