Are you setting user environment variables or system environment variables
when you change JAVA_HOME?  I think the NT service will use the system
environment, since it's not necessarily associated with a user.  Anyway, I
would recommend against using the service actually.  The batch files used to
start/stop tomcat are simple to run and I have to restart A LOT.  Good luck!

----- Original Message -----
From: "KIESEL,JEFF (HP-NewJersey,ex2)" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 24, 2003 9:59 AM
Subject: RE: determining which jdk tomcat is using


> i've been running tomcat as an nt service, on a win 2k machine.  i'll try
> modifying the cataline.bat script.  i comtemplated doing this before, but
it
> just seems there was something i was missing, a better way to do this.
>
>
> -----Original Message-----
> From: James Carman [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 24, 2003 9:48 AM
> To: Tomcat Users List
> Subject: Re: determining which jdk tomcat is using
>
>
> How are you starting Tomcat?  Are you on a windows machine?  The
environment
> settings set in the "System" properties on NT/2000/XP don't affect already
> running cmd.exe windows.  If you REALLY want control over a specific
Tomcat
> instance, modify your catalina.bat/catalina.sh file to define a specific
> JAVA_HOME variable (right under the header comment block).  The
environment
> settings may impact other applications, so I always shy away from that.
> Good luck.
>
> ----- Original Message -----
> From: "KIESEL,JEFF (HP-NewJersey,ex2)" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, March 24, 2003 9:37 AM
> Subject: RE: determining which jdk tomcat is using
>
>
> >
> > strange, tomcat still doesnt use use the jdk i specified in JAVA_HOME.
i
> > have 1.4 and 1.3 installed on my machine.  i need tomcat to use 1.3, as
> > defined in my environment variables.  anyone have any ideas as to why it
> > would still be using 1.4?
> >
> > -----Original Message-----
> > From: Roberts, Eric [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 24, 2003 9:25 AM
> > To: Tomcat Users List
> > Subject: RE: determining which jdk tomcat is using
> >
> >
> > Run the manager application - it lists the JVM version.
> >
> > -----Original Message-----
> > From: KIESEL,JEFF (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED]
> > Sent: 24 March 2003 15:15
> > To: '[EMAIL PROTECTED]'
> > Subject: determining which jdk tomcat is using
> >
> >
> > hi all,
> >
> > i have multiple jdks installed on my machine(win2k).  i have my
JAVA_HOME
> > environment variable set to the JDK  want to use, and this is reflected
in
> > my Path environment variable as well.
> >
> > how can i be sure tomcat is using the jdk i want it to?  is there a way
to
> > get tomcat to output this information?
> >
> > thanks,
> > ~jeff
> >
> > ---------------------------------------------------------------------
> > 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]
> 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]

Reply via email to