tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Katt <katt....@gmail.com>
Subject Tomcat 6 64 bits, Java 6 64 bits and -Djava.library.path
Date Thu, 17 Jun 2010 14:44:32 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message