For reasons why this occurs, see http://www.javageeks.com/Papers,
specifically "Multiple JRE Homes" and "Understanding Class.forName()".
Ted Neward
{.NET || Java} Course Author & Instructor, DevelopMentor
(http://www.develop.com)
http://www.javageeks.com/tneward
http://www.clrgeeks.com/tneward
----- Original Message -----
From: "Brett Porter" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 4:46 PM
Subject: RE: What is different when running tomcat 4 as a service?
> often this occurs because PATH is like this:
>
> PATH=c:\WINNT;c:\WINNT\SYSTEM32;c:\j2sdk1.3.1\bin
>
> When installing Java, the JRE is put in Program Files, and an executable
> java.exe and javaw.exe in c:\WINNT\SYSTEM32, which are found first and
hence
> use the JRE.
>
> - Brett
>
> -----Original Message-----
> From: Greg Trasuk [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 12 April 2002 9:50 AM
> To: 'Tomcat Users List'
> Subject: RE: What is different when running tomcat 4 as a service?
>
>
> I ran into the same thing trying to use the COMM api's under the service
> option. In my case, it turned out that although I had the JDK installed,
> the service actually runs using the JRE (I think the installer actually
> installs the JRE). So when I put the extensions into C:\Program
> Files\Javasoft\JRE\1.3.1\lib\ext (rather than my usual \jdk1.3.\lib\ext),
> everything worked fine. I haven't seen anything else that bit me while
> trying to use Tomcat as a service. It actually works fairly well as a
> miniature application server!.
>
> Cheers,
>
> Greg Trasuk, President
> StratusCom Manufacturing Systems Inc. - We use information technology to
> solve business problems on your plant floor.
> http://stratuscom.ca
>
> > -----Original Message-----
> > From: Jan Bentzen [mailto:[EMAIL PROTECTED]]
> > Sent: April 11, 2002 14:58
> > To: tomcat-user
> > Subject: What is different when running tomcat 4 as a service?
> >
> >
> > HI
> >
> > I recently tried running my Tomcat 4.0.1 as a service in w2k.
> > (just clicking the service option when installing). Much to
> > my surprise our webapplication no longer worked!
> > Apparantly JAR files placed in jdk extensions directory could
> > not be found when bootstrapping. (Due to several things which
> > I wont go into here, they must be there).
> > Why is this? How do I make it so that they can be found when
> > runnning as a service? And what else differs when running as
> > a service? Where can I find updated information about this
> > (for tomcat 4)?
> >
> > Thanks
> > Beno
> >
>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>