Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.11
    • Fix Version/s: 1.0.12
    • Component/s: Jsvc
    • Labels:
    • Environment:

      centos 6.3, jdk 1.7, 1.0.11

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andrey_borisov Andrey Borisov
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: