RE: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread Robert L Sowders
When you install the mod_jk2 module to the module directory of Apache 
don't forget to rename the module to mod_jk2.dll or change the LoadModule 
line in httpd.conf to match the name of the module to do copy there. 

The developers started version naming the dll files to avoid confusion.

My docs haven't caught up yet.

rls

P.S.  The class path lines in the workers2.properties examples that are in 
my docs, didn't work with TC 4.1.14 for some reason.  I reverted them to 
the old format and everything is fine.  If you get an old copy of my docs 
early than 30 Oct@23:30 PST then just get them again.

rls





Turner, John [EMAIL PROTECTED]
10/30/2002 06:03 AM
Please respond to Tomcat Users List

 
To: 'Tomcat Users List' [EMAIL PROTECTED]
cc: 
Subject:RE: need help connecting Tomcat 4.1.12, Apache 2.0.43 using 
jk2 ( 
mod_jk2-2.0.43.dll)



This should be all you need, courtesy of Robert Sowders:

ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip

John


 -Original Message-
 From: dave m [mailto:learning_tomcat;hotmail.com]
 Sent: Wednesday, October 30, 2002 9:00 AM
 To: [EMAIL PROTECTED]
 Subject: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2
 (mod_jk2-2.0.43.dll)
 
 
 I've tried to find info under this mailing list's archives 
 and I've looked 
 under the jk2 HOW-TOs and under Tomcat's documentation, but 
 I'm still in the 
 dark about this.  I am 'EXTREMELY' new (ultra-newbie?) to 
 Apache and to 
 Tomcat.  I can find no step-by-step tutorial on how to set 
 the two products 
 up under Windows 2000 (specifically the newer versions like 
 Apache 2.0.43 
 and Tomcat 4.1.12).  Would someone be willing to help me? 
 (I'll be happy to 
 write up my 'process' for the next person who asks this once I am 
 successful).
 
 To give you a hint of where I'm at in the installation, I've 
 installed both 
 Apache and Tomcat on my Windows 2000 machine (I changed the working 
 directory from C:\Program files\Apache Group to just C:\Apache as 
 someone had mentioned space names give Tomcat problems.
 
 I have also downloaded the appropriate .dll file 
 (mod_jk2-2.0.43) which 
 matches my version of Apache.
 
 Where do I go from here?.
 
 Thanks
 
 Learning_Tomcat
 
 
 
 
 
 _
 Surf the Web without missing calls! Get MSN Broadband. 
 http://resourcecenter.msn.com/access/plans/freeactivation.asp
 
 
 --
 To unsubscribe, e-mail: 
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread Robert L Sowders
Sorry for the confusion guys,

The classpath statements of the [vm] section provided in the example 
worker2.properties that I included in the How To I wrote do not work.  I 
was copying from CVS sources I maintain before I tested.  I've since tried 
to install TC 4.1.14 with them and I got these errors too.

I corrected the docs to use the old method of setting the classpaths and 
it works again.

You should delete both classpath lines in the worker2.properties file and 
replace with the following:

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar

The document has been updated now.

rls





M. Hockings [EMAIL PROTECTED]
10/30/2002 07:00 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using 
jk2 ( 
mod_jk2-2.0.43.dll)


Hello,

I too am trying to get this configuration working to give me a test 
environment that duplicates a remote server.  I have followed the 
instructions pointed to by John Turner very closely and only modified 
the line in workers2.properties that points to the jvm.dll.  When I 
start Apache I see the following in logs\error.log.   If you have any 
hints or suggestions about what I have set up incorrectly please let me 
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike

[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Parent: Created child process 728
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Child 728: Child process is running
[Wed Oct 30 21:48:39 2002] [notice] vm.init(): Jni lib: 
C:\Progra~1\j2sdk1.4.0_01\jre\bin\client\jvm.dll
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: 
-Dtomcat.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: 
-Dcatalina.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: -Xmx128M
[Wed Oct 30 21:48:39 2002] [notice] vm.open2() done
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class= 
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class 
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed 
for worker.jni:onStartup
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class= 
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class 
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed 
for worker.jni:onShutdown
[Wed Oct 30 21:48:40 2002] [notice] workerEnv.init() ok 
C:/ApacheGroup/Apache2/conf/workers2.properties
[Wed Oct 30 21:48:40 2002] [notice] mod_jk child init 1 -1
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Acquired the start mutex.
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Starting 250 worker 
threads.





Turner, John wrote:

This should be all you need, courtesy of Robert Sowders:

ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip

John



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org





--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-31 Thread Robert L Sowders
Don't know why but the classpath lines in the new workers2.properties file 
has changed.  I tried the old method and it works again.  Don't know why 
it pitched a fit.  Perhaps it needs to be quoted or something.

To fix it just replace both class path lines in the [VM] section of 
workers2.properties with the following.

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar

Sorry for the confusion.

rls
 




M. Hockings [EMAIL PROTECTED]
10/30/2002 07:59 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using 
jk2 ( 
mod_jk2-2.0.43.dll)


Hi Newbie,

In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar. 
 I've tried hard-coding it with forward slashes but the result was the 
same.  There is probably something very simple that I'm overlooking.

Thanks,

Mike

Tomcat Newbie wrote:

How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
  ^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 
(
mod_jk2-2.0.43.dll)


 

Hello,

I too am trying to get this configuration working to give me a test
environment that duplicates a remote server.  I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll.  When I
start Apache I see the following in logs\error.log.   If you have any
hints or suggestions about what I have set up incorrectly please let me
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike
 



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

 


-- 

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org






--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (mod_jk2-2.0.43.dll)

2002-10-31 Thread M. Hockings
Thanks Robert,

That almost did the trick.  With the path set up correctly then Tomcat 
seemed to init OK but still had errors in connecting.  To finally get it 
to work I found that I needed to explicitly state 
channelSocket.port=8009 in the jk2.properties.  For the classpath I 
defined it using the $(TOMCAT_HOME) variable to keep things as adaptive 
as possible and it worked fine.

I must say that your document was invaluable in getting this to work  -- 
it should be included in the official Tomcat docs (IMHO).

Kind regards,

Mike

Robert L Sowders wrote:

Don't know why but the classpath lines in the new workers2.properties file 
has changed.  I tried the old method and it works again.  Don't know why 
it pitched a fit.  Perhaps it needs to be quoted or something.

To fix it just replace both class path lines in the [VM] section of 
workers2.properties with the following.

OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/commons-logging.jar

Sorry for the confusion.

rls





M. Hockings [EMAIL PROTECTED]
10/30/2002 07:59 PM
Please respond to Tomcat Users List


   To: Tomcat Users List [EMAIL PROTECTED]
   cc: 
   Subject:Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( 
mod_jk2-2.0.43.dll)


Hi Newbie,

In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar. 
I've tried hard-coding it with forward slashes but the result was the 
same.  There is probably something very simple that I'm overlooking.

Thanks,

Mike

Tomcat Newbie wrote:

 

How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 
   

(
 

mod_jk2-2.0.43.dll)




   

Hello,

I too am trying to get this configuration working to give me a test
environment that duplicates a remote server.  I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll.  When I
start Apache I see the following in logs\error.log.   If you have any
hints or suggestions about what I have set up incorrectly please let me
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike


 

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



   


 


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org





RE: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (mod_jk2-2.0.43.dll)

2002-10-30 Thread Turner, John

This should be all you need, courtesy of Robert Sowders:

ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip

John


 -Original Message-
 From: dave m [mailto:learning_tomcat;hotmail.com]
 Sent: Wednesday, October 30, 2002 9:00 AM
 To: [EMAIL PROTECTED]
 Subject: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2
 (mod_jk2-2.0.43.dll)
 
 
 I've tried to find info under this mailing list's archives 
 and I've looked 
 under the jk2 HOW-TOs and under Tomcat's documentation, but 
 I'm still in the 
 dark about this.  I am 'EXTREMELY' new (ultra-newbie?) to 
 Apache and to 
 Tomcat.  I can find no step-by-step tutorial on how to set 
 the two products 
 up under Windows 2000 (specifically the newer versions like 
 Apache 2.0.43 
 and Tomcat 4.1.12).  Would someone be willing to help me? 
 (I'll be happy to 
 write up my 'process' for the next person who asks this once I am 
 successful).
 
 To give you a hint of where I'm at in the installation, I've 
 installed both 
 Apache and Tomcat on my Windows 2000 machine (I changed the working 
 directory from C:\Program files\Apache Group to just C:\Apache as 
 someone had mentioned space names give Tomcat problems.
 
 I have also downloaded the appropriate .dll file 
 (mod_jk2-2.0.43) which 
 matches my version of Apache.
 
 Where do I go from here?.
 
 Thanks
 
 Learning_Tomcat
 
 
 
 
 
 _
 Surf the Web without missing calls! Get MSN Broadband.  
 http://resourcecenter.msn.com/access/plans/freeactivation.asp
 
 
 --
 To unsubscribe, e-mail:   
mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:tomcat-user-help;jakarta.apache.org

--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (mod_jk2-2.0.43.dll)

2002-10-30 Thread M. Hockings
Hello,

I too am trying to get this configuration working to give me a test 
environment that duplicates a remote server.  I have followed the 
instructions pointed to by John Turner very closely and only modified 
the line in workers2.properties that points to the jvm.dll.  When I 
start Apache I see the following in logs\error.log.   If you have any 
hints or suggestions about what I have set up incorrectly please let me 
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike

[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Parent: Created child process 728
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
[Wed Oct 30 21:48:39 2002] [notice] config.setAttribute() Error setting 
vm: classpath C:\ApacheGroup\Tomcat4.1/server/lib/commons-logging.jar
[Wed Oct 30 21:48:39 2002] [notice] Child 728: Child process is running
[Wed Oct 30 21:48:39 2002] [notice] vm.init(): Jni lib: 
C:\Progra~1\j2sdk1.4.0_01\jre\bin\client\jvm.dll
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: 
-Dtomcat.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: 
-Dcatalina.home=C:\ApacheGroup\Tomcat4.1
[Wed Oct 30 21:48:39 2002] [notice] vm.openJvm2() Option: -Xmx128M
[Wed Oct 30 21:48:39 2002] [notice] vm.open2() done
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class= 
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class 
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed 
for worker.jni:onStartup
[Wed Oct 30 21:48:40 2002] [notice] jni.validate() class= 
org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [error] Can't find class 
org/apache/jk/apr/TomcatStarter
java.lang.NoClassDefFoundError: org/apache/jk/apr/TomcatStarter
[Wed Oct 30 21:48:40 2002] [notice] vm.detach() ok
[Wed Oct 30 21:48:40 2002] [error] workerEnv.initWorkers() init failed 
for worker.jni:onShutdown
[Wed Oct 30 21:48:40 2002] [notice] workerEnv.init() ok 
C:/ApacheGroup/Apache2/conf/workers2.properties
[Wed Oct 30 21:48:40 2002] [notice] mod_jk child init 1 -1
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Acquired the start mutex.
[Wed Oct 30 21:48:40 2002] [notice] Child 728: Starting 250 worker threads.





Turner, John wrote:

This should be all you need, courtesy of Robert Sowders:

ftp://pokey.wr.usgs.gov/pub/rsowders/Apache2_Jk2_TC4.1.x_JSDK1.4.x.zip

John




--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 ( mod_jk2-2.0.43.dll)

2002-10-30 Thread Tomcat Newbie
How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
  ^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (
mod_jk2-2.0.43.dll)


 Hello,

 I too am trying to get this configuration working to give me a test
 environment that duplicates a remote server.  I have followed the
 instructions pointed to by John Turner very closely and only modified
 the line in workers2.properties that points to the jvm.dll.  When I
 start Apache I see the following in logs\error.log.   If you have any
 hints or suggestions about what I have set up incorrectly please let me
 know.  Both Apache and Tomcat seem to work fine individually.

 Thanks,

 Mike


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (mod_jk2-2.0.43.dll)

2002-10-30 Thread M. Hockings
Hi Newbie,

In the workers2.properties it is ${TOMCAT_HOME}/bin/tomcat-jni.jar. 
I've tried hard-coding it with forward slashes but the result was the 
same.  There is probably something very simple that I'm overlooking.

Thanks,

Mike

Tomcat Newbie wrote:

How about the slashes in your path?

C:\ApacheGroup\Tomcat4.1/bin/tomcat-jni.jar
 ^^^

- Original Message -
From: M. Hockings [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, October 30, 2002 10:00 PM
Subject: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2 (
mod_jk2-2.0.43.dll)


 

Hello,

I too am trying to get this configuration working to give me a test
environment that duplicates a remote server.  I have followed the
instructions pointed to by John Turner very closely and only modified
the line in workers2.properties that points to the jvm.dll.  When I
start Apache I see the following in logs\error.log.   If you have any
hints or suggestions about what I have set up incorrectly please let me
know.  Both Apache and Tomcat seem to work fine individually.

Thanks,

Mike
   



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

 


--

Note new email address - [EMAIL PROTECTED] -

Mike's Page   :  http://www.hockings.net/~mike
Rifle Shooting in Ontario :  http://www.hockings.net/rso/
Scarborough Rifle Club:  http://www.hockings.net/rso/src/
Canadian Shooting Sports  :  http://www.CdnShootingSports.org
Ontario Rifle Association :  http://www.OntarioRifleAssociation.org