commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Boyer <johnboye...@gmail.com>
Subject [daemon] JSVC re-exec requires execution with an absolute or relative path
Date Sun, 28 Apr 2013 21:05:40 GMT
Hello:

I'm trying to run jsvc on Ubuntu Linux (10.04.4). I'm getting a re-exec path error. I've sunk
a lot of hours into this. I'm beginning to think I should have used the Java Service Wrapper
Community Edition instead.

Anyway, can anyone help me with this problem? Thank you for your time. John

**********************************************
$ jsvc -jvm server -debug -home /usr/lib/jvm/java-6-openjdk -cp commons-daemon-1.0.15.jar:api-monitor.jar
ApiMonitorDaemon

+-- DUMPING PARSED COMMAND LINE ARGUMENTS --------------
| Detach:          True
| Show Version:    No
| 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:       "/usr/lib/jvm/java-6-openjdk"
| PID File:        "/var/run/jsvc.pid"
| User Name:       "null"
| Extra Options:   1
|   "-Djava.class.path=commons-daemon-1.0.15.jar:api-monitor.jar"
| Class Invoked:   "ApiMonitorDaemon"
| Class Arguments: 0
+-------------------------------------------------------
Attempting to locate Java Home in /usr/lib/jvm/java-6-openjdk
Attempting to locate VM configuration file /usr/lib/jvm/java-6-openjdk/jre/lib/jvm.cfg
Attempting to locate VM configuration file /usr/lib/jvm/java-6-openjdk/lib/jvm.cfg
Attempting to locate VM configuration file /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/jvm.cfg
Found VM configuration file at /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/jvm.cfg
Found VM server definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so
Found VM client definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/client/libjvm.so
Checking library /usr/lib/jvm/java-6-openjdk/lib/amd64/client/libjvm.so
Cannot locate library for VM client (skipping)
Found VM hotspot definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/hotspot/libjvm.so
Checking library /usr/lib/jvm/java-6-openjdk/lib/amd64/hotspot/libjvm.so
Cannot locate library for VM hotspot (skipping)
Found VM classic definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/classic/libjvm.so
Checking library /usr/lib/jvm/java-6-openjdk/lib/amd64/classic/libjvm.so
Cannot locate library for VM classic (skipping)
Found VM native definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/native/libjvm.so
Checking library /usr/lib/jvm/java-6-openjdk/lib/amd64/native/libjvm.so
Cannot locate library for VM native (skipping)
Found VM green definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/green/libjvm.so
Checking library /usr/lib/jvm/java-6-openjdk/lib/amd64/green/libjvm.so
Cannot locate library for VM green (skipping)
Found VM cacao definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/cacao/libjvm.so
Found VM zero definition in configuration
Checking library /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/zero/libjvm.so
Checking library /usr/lib/jvm/java-6-openjdk/lib/amd64/zero/libjvm.so
Cannot locate library for VM zero (skipping)
Java Home located in /usr/lib/jvm/java-6-openjdk
+-- DUMPING JAVA HOME STRUCTURE ------------------------
| Java Home:       "/usr/lib/jvm/java-6-openjdk"
| Java VM Config.: "/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/jvm.cfg"
| Found JVMs:      2
| JVM Name:        "server"
|                  "/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so"
| JVM Name:        "cacao"
|                  "/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/cacao/libjvm.so"
+-------------------------------------------------------
Using specific JVM in /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server/libjvm.so
JSVC re-exec requires execution with an absolute or relative path



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message