I'm sorry,

I keep confusing the issue.  Last week when the test release of TC4.1.14 
came out I downloaded the new source for Tomcat and the connectors and 
built everything for windows.  I then installed everything without 
modifying the configs and it worked.  Later that day I realized that the 
default workers2.properties file had changed and I did not test it in my 
configuration.  I went ahead and updated my docs on the server anyway, 
figuring that it would just work.  I came in the next day and turned 
everything on with the new config file and it blew up.

When I saw your email I assumed that you had happened onto my instructions 
at a time when it had the bogus config examples.  I emailed you after I 
had corrected the docs and had a working system again.

You may have downloaded the docs before I fuxed them up the first time.

The new config file from CVS has a different method of applying the 
classpaths during startup.   For example the [vm] section of the new 
default workers2.properties file has this:

[vm:]
info=Parameters used to load a JVM in the server process
#JVM=C:\jdk\jre\bin\hotspot\jvm.dll
classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar
classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=0

The old configuration has this:

[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/commons-logging.jar
OPT=-Dtomcat.home=${TOMCAT_HOME}
OPT=-Dcatalina.home=${TOMCAT_HOME}
OPT=-Xmx128M
#OPT=-Djava.compiler=NONE
disabled=0

Notice the double classpath lines in the new config.  This is not working 
on my machine.  I suspect it due to some windows problem or other.  All I 
know is the old config still works, so that is what I recommend until the 
new one is fixed.

I hope this clears this up.

rls






[EMAIL PROTECTED] (Rainer Bruch)
10/31/2002 11:20 AM
Please respond to "Tomcat Users List"

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


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/comm
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/comm
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>





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

Reply via email to