Everything can be set up via service.bat

You should modify this file only.  This way when you install the
service or remove the service, it works gracefully, and all libs,
memory requirements, etc. are recorded in the registry.


On Fri, Jun 18, 2010 at 12:44 AM, Katt <katt....@gmail.com> wrote:
> Hi all,
>
> I have some strange issues:
> Enviroment: Windows 2003 R2 64 bits with Tomcat6 6.0.24 and Java6 1.6.0_20
> 64bits.
> If I have some libraries that need to be loaded at startup so I've added in
> catalina.bat: JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="C:\libs", start
> tomcat with startup.bat, everything ok.
> After that I've changed service.bat adding at the very end of file:
> "%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions
> "-Djava.library.path=C:\libs;...", install widnows service: service.bat
> install and start tomcat.
> Tomcat didn't load libraries from java.library.path.
> So, it's working only if I start tomcat from startup.bat but not if I
> install it as windows service.
> Any sugestions?
>
> Best regards,
> Katt
>
>
>
> --
> Katt
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to