Excellent!  You've pointed me in the right direction.  It turns out I
had PATH set correctly in the User Variables but not in System
Variables.  Works great now.  Thank you very much.

On 7/13/05, Benson Margulies <[EMAIL PROTECTED]> wrote:
> It can only be set in the system environment for all services as once.
> The tomcat service integration does not include any help in this area.
> 
> -----Original Message-----
> From: Michael Ivanov [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 13, 2005 12:51 PM
> To: Benson Margulies; tomcat-user@jakarta.apache.org
> Subject: Re: java.library.path when running as a service
> 
> Thank you for the reply.  I was not aware, is the PATH variable
> different for each service?  How can it be set?  This would likely be
> the cause of my problem if it's true.
> 
> On 7/13/05, Benson Margulies <[EMAIL PROTECTED]> wrote:
> > Are all your dependents in  $CATALINA_HOME\common\lib? Are you sure
> > that the PATH for the service is, indeed, including that dir? PATH
> > management for services is a pain.
> >
> > Look up -delayload in the Win32 link.exe doc, and follow from there
> > into the hooks.
> >
> >
> > -----Original Message-----
> > From: Michael Ivanov [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, July 12, 2005 10:02 PM
> > To: Benson Margulies; tomcat-user@jakarta.apache.org
> > Subject: Re: java.library.path when running as a service
> >
> > My PATH variable already includes $CATALINA_HOME\common\lib, and it
> > definitely has worked in the past.  Wouldn't this also affect Tomcat
> > launched from the command line?  My problem only occurs when Tomcat is
> 
> > a service.  Also, can you elaborate on what the delay loader hook is?
> > Thank you.
> >
> > On 7/12/05, Benson Margulies <[EMAIL PROTECTED]> wrote:
> > > Due to a bug in the JRE/JVM, your dependent DLLs have to either be
> > > in PATH or in the directory containing java.exe. My personal
> > > favorite solution to this is to use the delay loader hook to get
> around it.
> > >
> > > -----Original Message-----
> > > From: Michael Ivanov [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, July 12, 2005 7:13 PM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: java.library.path when running as a service
> > >
> > > I have been running a servlet with Tomcat 5.5.7 for a few months, I
> > > left it alone for a while, and now I get an UnsatisfiedLinkError
> > > when the servlet tries to load a native DLL.  The error says the DLL
> 
> > > cannot
> >
> > > be found in java.library.path.  The DLL I want to load is located in
> 
> > > $CATALINA_HOME\common\lib.  When I just run Tomcat from the command
> > > line, everything works great, no complaints.  When run as a service,
> 
> > > I
> >
> > > get this problem.  I tried setting java.library.path via the
> > > JvmOptions in service.bat, but in that case I get an
> > > UnsatisfiedLinkError which refers to dependent libraries for the
> DLL.
> > > Thanks in advance for any suggestions.
> > >
> > > Michael Ivanov
> > >
> > > Tomcat 5.5.7
> > > Windows XP
> > >
> > > --------------------------------------------------------------------
> > > - 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