tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Dajka <ada...@adverticum.com>
Subject jsvc error with tomcat and java 1.6 on os x
Date Mon, 19 Jan 2009 15:01:57 GMT
Dear List!

I have an issue with both tomcat5 and tomcat6 on os x leopard when  
trying to use java 1.6.

When I set JAVA_JVM_VERSION=1.6 in setenv.sh starting tomcat fails.

I get the error message from jsvc into catalina.err:
14/01/2009 13:06:42 1465 jsvc error: Cannot dynamically link to / 
System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../ 
Libraries/libclient.dylib
14/01/2009 13:06:42 1465 jsvc error: no additional message
14/01/2009 13:06:42 1464 jsvc error: Service exit with a return value  
of 1

jsvc debug says:
Starting Tomcat...19/01/2009 15:45:11 69429 jsvc debug: +-- DUMPING  
PARSED COMMAND LINE ARGUMENTS --------------
19/01/2009 15:45:11 69429 jsvc debug: | Detach:          True
19/01/2009 15:45:11 69429 jsvc debug: | Show Version:    No
19/01/2009 15:45:11 69429 jsvc debug: | Show Help:       No
19/01/2009 15:45:11 69429 jsvc debug: | Check Only:      Disabled
19/01/2009 15:45:11 69429 jsvc debug: | Stop:            False
19/01/2009 15:45:11 69429 jsvc debug: | Wait:            0
19/01/2009 15:45:11 69429 jsvc debug: | Run as service:  No
19/01/2009 15:45:11 69429 jsvc debug: | Install service: No
19/01/2009 15:45:11 69429 jsvc debug: | Remove service:  No
19/01/2009 15:45:11 69429 jsvc debug: | JVM Name:        "null"
19/01/2009 15:45:11 69429 jsvc debug: | Java Home:       "/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home"
19/01/2009 15:45:11 69429 jsvc debug: | PID File:        "/opt/local/ 
share/java/tomcat6/logs/tomcat5.pid"
19/01/2009 15:45:11 69429 jsvc debug: | User Name:       "www"
19/01/2009 15:45:11 69429 jsvc debug: | Extra Options:   7
19/01/2009 15:45:11 69429 jsvc debug: |   "-verbose"
19/01/2009 15:45:11 69429 jsvc debug: |   "- 
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
19/01/2009 15:45:11 69429 jsvc debug: |   "-Djava.class.path=:/opt/ 
local/share/java/tomcat6/bin/bootstrap.jar:/opt/local/share/java/ 
tomcat6/bin/commons-logging-api.jar"
19/01/2009 15:45:11 69429 jsvc debug: |   "-Dcatalina.home=/opt/local/ 
share/java/tomcat6"
19/01/2009 15:45:11 69429 jsvc debug: |   "-Dcatalina.base=/opt/local/ 
share/java/tomcat6"
19/01/2009 15:45:11 69429 jsvc debug: |   "-Djava.io.tmpdir=/opt/local/ 
share/java/tomcat6/temp"
19/01/2009 15:45:11 69429 jsvc debug: |   "-Djava.endorsed.dirs=/opt/ 
local/share/java/tomcat6/endorsed"
19/01/2009 15:45:11 69429 jsvc debug: | Class Invoked:    
"org.apache.catalina.startup.Bootstrap"
19/01/2009 15:45:11 69429 jsvc debug: | Class Arguments: 1
19/01/2009 15:45:11 69429 jsvc debug: |   "start"
19/01/2009 15:45:11 69429 jsvc debug:  
+-------------------------------------------------------
19/01/2009 15:45:11 69430 jsvc debug: user changed to 'www'
19/01/2009 15:45:11 69429 jsvc debug: User 'www' validated
19/01/2009 15:45:11 69429 jsvc debug: Attempting to locate Java Home  
in /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
19/01/2009 15:45:11 69429 jsvc debug: Attempting to locate VM  
configuration file /System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6/Home/jre/lib/jvm.cfg
19/01/2009 15:45:11 69429 jsvc debug: Attempting to locate VM  
configuration file /System/Library/Frameworks/JavaVM.framework/ 
Versions/1.6/Home/lib/jvm.cfg
19/01/2009 15:45:11 69429 jsvc debug: Found VM configuration file at / 
System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/jvm.cfg
19/01/2009 15:45:11 69429 jsvc debug: Found VM client definition in  
configuration
19/01/2009 15:45:11 69429 jsvc debug: Checking library /System/Library/ 
Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libclient.dylib
19/01/2009 15:45:11 69429 jsvc debug: Found VM jvm definition in  
configuration
19/01/2009 15:45:11 69429 jsvc debug: Checking library /System/Library/ 
Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/libjvm.dylib
19/01/2009 15:45:11 69429 jsvc debug: Found VM hotspot definition in  
configuration
19/01/2009 15:45:11 69429 jsvc debug: Checking library /System/Library/ 
Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libhotspot.dylib
19/01/2009 15:45:11 69429 jsvc debug: Found VM server definition in  
configuration
19/01/2009 15:45:11 69429 jsvc debug: Checking library /System/Library/ 
Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libserver.dylib
19/01/2009 15:45:11 69429 jsvc debug: Found VM classic definition in  
configuration
19/01/2009 15:45:11 69429 jsvc debug: Checking library /System/Library/ 
Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libclassic.dylib
19/01/2009 15:45:11 69429 jsvc debug: Cannot locate library for VM  
classic (skipping)
19/01/2009 15:45:11 69429 jsvc debug: Java Home located in /System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home
19/01/2009 15:45:11 69429 jsvc debug: +-- DUMPING JAVA HOME STRUCTURE  
------------------------
19/01/2009 15:45:11 69429 jsvc debug: | Java Home:       "/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home"
19/01/2009 15:45:11 69429 jsvc debug: | Java VM Config.: "/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/jvm.cfg"
19/01/2009 15:45:11 69429 jsvc debug: | Found JVMs:      4
19/01/2009 15:45:11 69429 jsvc debug: | JVM Name:        "client"
19/01/2009 15:45:11 69429 jsvc debug: |                  "/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libclient.dylib"
19/01/2009 15:45:11 69429 jsvc debug: | JVM Name:        "jvm"
19/01/2009 15:45:11 69429 jsvc debug: |                  "/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libjvm.dylib"
19/01/2009 15:45:11 69429 jsvc debug: | JVM Name:        "hotspot"
19/01/2009 15:45:11 69429 jsvc debug: |                  "/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libhotspot.dylib"
19/01/2009 15:45:11 69429 jsvc debug: | JVM Name:        "server"
19/01/2009 15:45:11 69429 jsvc debug: |                  "/System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Libraries/ 
libserver.dylib"
19/01/2009 15:45:11 69429 jsvc debug:  
+-------------------------------------------------------
19/01/2009 15:45:11 69431 jsvc debug: redirecting stdout to /opt/local/ 
share/java/tomcat6/logs/catalina.out and stderr to /opt/local/share/ 
java/tomcat6/logs/catalina.err
............... giving up.

If this is a jsvc issue, are there any ways to use tomcat without jsvc?

Regards,
Adam Dajka



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


Mime
View raw message