tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Isaacs" <Larry.Isa...@sas.com>
Subject RE: CLASSPATH problems on 3.3.1
Date Tue, 15 Oct 2002 17:36:18 GMT


> -----Original Message-----
> From: Michael Finney [mailto:lovefinney@yahoo.com] 
> Sent: Tuesday, October 15, 2002 11:25 AM
> To: Tomcat Users List
> Subject: Re: CLASSPATH problems on 3.3.1
> 
> 
> So something like this for the wrapper.jvm.options:
> 
> wrapper.jvm.options=-Dorg.apache.tomcat.apps.classpath=C:\Sour
> ceW\VSS\src;C:\SourceW\ja\src;C:\SourceW\VSS\lib\xerces.jar;C:
> \SourceW\lib\xml4j.jar
> -Xrs 
> 
> right?

The above should work.

>   Can a person use quotes?

As long as they are valid in the resulting Java command. 

> 
> Did you learn about wrapper.jvm.options from the
> RELEASE-NOTES-3.3.1.txt and what you could pass in
> from the source code or is wrapper.jvm.options
> documented in detail somewhere?  google did not reveal
> anything more.  (As they say, I appreciate the fish.
> However, I want to learn how to fish too.)

The main purpose of wrapper.properties is to tell jk_nt_service
how to construct the Java command to execute to start tomcat.
This command supports the same capabilities as starting
Tomcat from the batch scripts.  The batch scripts just
build the command through different means.  Any option
that works for the batch scripts can be incorporated into
wrapper.properties in some fashion.  For example, starting
the "Tomcat" service with a security manager is possible, but
not specifially addressed in the default wrapper.properties

Cheers,
Larry

> 
> Thanks,
> Michael
> 
> --- Bill Barker <res0ob23@verizon.net> wrote:
> > Out of the box, the NT service also ignores your
> > CLASSPATH.  You are always
> > free to add "wrapper.classpath" properties to your
> > "wrapper.properties" file
> > to include additional locations in your classpath. 
> > Depending on your
> > application, this may or may not result in
> > ClassLoader problems.
> > 
> > The other method (the one I prefer) is to set:
> >
> wrapper.jvm.options=-Dorg.apache.tomcat.apps.classpath=<your
> > classpath>
> > 
> > This has the same effect as dumping them in
> > $TOMCAT_HOME\lib\apps.
> > 
> > "Michael Finney" <lovefinney@yahoo.com> wrote in
> > message
> >
> news:20021014231643.27508.qmail@web40409.mail.yahoo.com...
> > > I will look.
> > >
> > > The NT service form of starting Tomcat does not
> > use
> > > start up scripts.  Right?  I want to make sure I
> > > understand what we are saying here about the
> > scripts.
> > >
> > > --- Larry Isaacs <Larry.Isaacs@sas.com> wrote:
> > > > Like Tomcat4, Tomcat 3.3's startup scripts
> > ignore
> > > > your CLASSPATH.  Tomcat 3.2.x's use of the
> > CLASSPATH
> > > > was one of the top sources of problems.
> > > >
> > > > For important differences upgrading from Tomcat
> > > > 3.2.x
> > > > to Tomcat 3.3.x, see:
> > > >
> > > >
> > >
> >
> <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme>
> > > >
> > > > For how to configure classes in Tomcat 3.3.x,
> > see:
> > > >
> > > >
> > >
> >
> <http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.htm
> l#configuring_
> > classes>
> > > >
> > > > HTH,
> > > > Larry
> > > >
> > > > > -----Original Message-----
> > > > > From: Michael Finney
> > [mailto:lovefinney@yahoo.com]
> > > >
> > > > > Sent: Monday, October 14, 2002 5:19 PM
> > > > > To: Tomcat Users List
> > > > > Subject: CLASSPATH problems on 3.3.1
> > > > >
> > > > >
> > > > > 3.3.1
> > > > > IIS 5.0 and Tomcat 3.3.1 redirections
> > > > > Running Jakarta as a Service on Windows 2000.
> > > > >
> > > > > Has anyone else had problems with CLASSPATH
> > > > getting
> > > > > picked up in 3.3.1?
> > > > >
> > > > > In a previous deployment, a CLASSPATH was set
> > to
> > > > > d:\whatever\classes (ok actually it was not
> > > > classes it
> > > > > was src, but the .class files are in src)
> > > > >
> > > > > CLASSPATH was also set to specific jars.
> > > > >
> > > > > It seems like in order to get classes and jars
> > > > picked
> > > > > up, I have had to dump the classes into
> > <tomcat
> > > > > home>\lib\apps   That seems so wrong.   ;)
> > > > >
> > > > > I am trying to upgrade from 3.2.x to 3.3.1 and
> > I
> > > > would
> > > > > not have expected such a rough CLASSPATH ride.
> > > > >
> > > > > (Yes, I know about <tomcat
> > home>\webapps\<theweb
> > > > > app>\WEB-INF\*stuff  I am trying to keep the
> > > > changes
> > > > > to a minimum for this release.)
> > > > >
> > > > > Thanks.
> > > > > Michael
> > > > >
> > > > >
> > > > > =====
> > > > > Michael Finney
> > > > > Sun Certified Programmer for the Java 2
> > Platform
> > > > > Sun Certified Developer for the Java 2
> > Platform
> > > > > Sun Certified Web Component Developer for J2EE
> > > > Platform
> > > > > Cofounder of PPJDG
> > > > > Cofounder of cosAgile - Colorado Springs XP
> > Users
> > > > Group
> > > > > If replying to this email address fails, try
> > > > finney@ACM.org
> > > > >
> > > > >
> > __________________________________________________
> > > > > Do you Yahoo!?
> > > > > Faith Hill - Exclusive Performances, Videos &
> > More
> > > > > http://faith.yahoo.com
> > > > >
> > > > > --
> > > > > 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>
> > > >
> > >
> > >
> > > =====
> > > Michael Finney
> > > Sun Certified Programmer for the Java 2 Platform
> > > Sun Certified Developer for the Java 2 Platform
> > > Sun Certified Web Component Developer for J2EE
> > Platform
> > > Cofounder of PPJDG
> > > Cofounder of cosAgile - Colorado Springs XP Users
> > Group
> > > If replying to this email address fails, try
> > finney@ACM.org
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Faith Hill - Exclusive Performances, Videos & More
> > > http://faith.yahoo.com
> > 
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > 
> 
> 
> =====
> Michael Finney
> Sun Certified Programmer for the Java 2 Platform
> Sun Certified Developer for the Java 2 Platform
> Sun Certified Web Component Developer for J2EE Platform 
> Cofounder of PPJDG
> Cofounder of cosAgile - Colorado Springs XP Users Group
> If replying to this email address fails, try finney@ACM.org
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
> 
> --
> 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>


Mime
View raw message