hi mike,
thanks for your reply. but i got the updated document before. here is
the updated [VM] section in the document which confused me:
[vm:]
info=Parameters used to load a JVM in the server process
#JVM=C:\jdk\jre\bin\hotspot\jvm.dll
OPT=-Djava.class.path=c:/Tomcat/bin/tomcat-jni.jar;c:/Tomcat/server/lib/comm
ons-logging.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=0
you see, there are no two 'class.path' lines.
i will try your version and let you know if i succeed.
reagards from germany
Rainer
-----Ursprungliche Nachricht-----
Von: M. Hockings [mailto:veeshooter@;hockings.net]
Gesendet: Freitag, 1. November 2002 01:15
An: Tomcat Users List
Betreff: Re: AW: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43
using jk2 ( mod_jk2-2.0.43.dll)
Hi Rainer,
I think he has updated the document to reflect how it needs to be for
the current stuff. In any case, this is what works for me on Win2K pro.
[vm:]
info=Parameters used to load a JVM in the server process
JVM=C:\Progra~1\j2sdk1.4.0_01\jre\bin\client\jvm.dll
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}\serve
r\lib\commons-logging.jar
disabled=0
The '\' slashes seem to work ok for Win2K but probably would not work
for non-windows boxes.
Mike
Rainer Bruch wrote:
>hi mike,
>thanks for reply but i still do not understand which 'two lines' have to be
>removed.
>under [VM] section in r. sowders very good installation manual there is
only
>one
>line with '-Djava.class.path='etc., namely
>
>OPT=-Djava.class.path=C:/Tomcat/bin/tomcat-jni.jar;C:/Tomcat/server/lib/com
m
>ons-logging.jar
>
>- maybe i am dumm, but where is the second line to be removed?
>- in your example you use '\' slashes, r. sowders uses '/' slashes. which
>are correct for win2k?
>
>please mail me or to the list your complete functioning [VM] section
>listing.
>thanks in advance.
>regards
>Rainer
>
>
>
>-----Ursprungliche Nachricht-----
>Von: M. Hockings [mailto:veeshooter@;hockings.net]
>Gesendet: Donnerstag, 31. Oktober 2002 21:20
>An: Tomcat Users List
>Betreff: Re: AW: need help connecting Tomcat 4.1.12, Apache 2.0.43 using
>jk2 ( mod_jk2-2.0.43.dll)
>
>
>Hi Rainer,
>
>I think that by "replace both" he means remove the two existing lines
>and insert the line like what you have below. In my case I used the
>TOMCAT_ROOT var as follows:
>
>OPT=-Djava.class.path=${TOMCAT_HOME}\bin\tomcat-jni.jar;${TOMCAT_HOME}\serv
e
>r\lib\commons-logging.jar
>
>It seems to work for me though I did have to explicitily point to the
>jvm.dll in the vm section of workers2.properties. Also I had to set the
>channel socket in the jk2.properties.
>
>Could be that all these things are not required but it now works for me.
>
>Kind regards,
>
>Mike
>
>Rainer Bruch wrote:
>
>
>
>>hi rls,
>>before installing i read this e-mail and your corresponding installation
>>instruction.
>>your e-mail says:
>>
>>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/co
m
>>
>>
>m
>
>
>>ons-logging.jar
>>
>>does that mean that there are 2 lines in [VM] with such a classpath ?
>>in your installation instruction there is only 1 class path line in the
>>
>>
>[VM]
>
>
>>section
>>of workers2.properties !
>>since i am a bit confused about that, and to avoid possible installation
>>errors before my
>>installation, please reply the correct [VM] class path line entries.
>>
>>thanks
>>raibru
>>
>>-----Ursprungliche Nachricht-----
>>Von: Robert L Sowders [mailto:rsowders@;usgs.gov]
>>Gesendet: Donnerstag, 31. Oktober 2002 10:24
>>An: Tomcat Users List
>>Betreff: Re: need help connecting Tomcat 4.1.12, Apache 2.0.43 using jk2
>>( mod_jk2-2.0.43.dll)
>>
>>
>>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/co
m
>>
>>
>m
>
>
>>ons-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>
>>
>>
>>
>>--
>>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>
>
>
>
--
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>