tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bruno <andrew.br...@gmail.com>
Subject Re: Tomcat 6 64 bits, Java 6 64 bits and -Djava.library.path
Date Tue, 22 Jun 2010 05:30:19 GMT
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.man@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message