commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Borisov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DAEMON-272) jsvc ignores -home option
Date Fri, 14 Dec 2012 15:32:13 GMT
Andrey Borisov created DAEMON-272:
-------------------------------------

             Summary: jsvc ignores -home option
                 Key: DAEMON-272
                 URL: https://issues.apache.org/jira/browse/DAEMON-272
             Project: Commons Daemon
          Issue Type: Bug
          Components: Jsvc
    Affects Versions: 1.0.11
         Environment: centos 6.3, jdk 1.7
            Reporter: Andrey Borisov
            Priority: Critical
             Fix For: 1.0.12


jsvc ignores the -home option.

+-- DUMPING PARSED COMMAND LINE ARGUMENTS --------------
| Detach:          False
| Show Version:    Yes
| Show Help:       No
| Check Only:      Disabled
| Stop:            False
| Wait:            0
| Run as service:  No
| Install service: No
| Remove service:  No
| JVM Name:        "server"
| Java Home:       "/nfs/jdk/jdk1.7"
| PID File:        "/tmp/casino-eai-uuid123.pid"
| User Name:       "root"
| Extra Options:   18

As you can see the passed argument is /nfs/jdk/jdk1.7, however jsvc detects default JDK:

Home not specified on command line, using environment
Home not on command line or in environment, searching
Attempting to locate Java Home in /usr/java
Path /usr/java is not a directory
Attempting to locate Java Home in /usr/local/java
Path /usr/local/java is not a directory
Attempting to locate Java Home in /usr/lib/jvm/default-java
Path /usr/lib/jvm/default-java is not a directory
Attempting to locate Java Home in /usr/lib/jvm/java
Path /usr/lib/jvm/java is not a directory
Attempting to locate Java Home in /etc/alternatives/java_sdk
Path /etc/alternatives/java_sdk is not a directory
Attempting to locate Java Home in /etc/alternatives/jre
Attempting to locate VM configuration file /etc/alternatives/jre/jre/lib/jvm.cfg
Attempting to locate VM configuration file /etc/alternatives/jre/lib/jvm.cfg
Attempting to locate VM configuration file /etc/alternatives/jre/jre/lib/amd64/jvm.cfg
Attempting to locate VM configuration file /etc/alternatives/jre/lib/amd64/jvm.cfg
Found VM configuration file at /etc/alternatives/jre/lib/amd64/jvm.cfg
Found VM server definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/server/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/server/libjvm.so
Found VM client definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/client/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/client/libjvm.so
Cannot locate library for VM client (skipping)
Found VM hotspot definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/hotspot/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/hotspot/libjvm.so
Cannot locate library for VM hotspot (skipping)
Found VM classic definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/classic/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/classic/libjvm.so
Cannot locate library for VM classic (skipping)
Found VM native definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/native/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/native/libjvm.so
Cannot locate library for VM native (skipping)
Found VM green definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/green/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/green/libjvm.so
Cannot locate library for VM green (skipping)
Found VM jamvm definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/jamvm/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/jamvm/libjvm.so
Cannot locate library for VM jamvm (skipping)
Found VM cacao definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/cacao/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/cacao/libjvm.so
Cannot locate library for VM cacao (skipping)
Found VM zero definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/zero/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/zero/libjvm.so
Cannot locate library for VM zero (skipping)
Found VM shark definition in configuration
Checking library /etc/alternatives/jre/jre/lib/amd64/shark/libjvm.so
Checking library /etc/alternatives/jre/lib/amd64/shark/libjvm.so
Cannot locate library for VM shark (skipping)
Java Home located in /etc/alternatives/jre 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message