commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@apache.org>
Subject Re: jsvc problem
Date Sat, 05 Mar 2005 00:03:05 GMT
On Fri, 2005-03-04 at 15:37 +0200, Vasiliy Keretsman wrote:
> Hello!
> 
> I have some problem with JSVC using commons-daemon-1.0.
> It seems to me it can not find DaemonLoader class. But
> commons-daemon.jar is in classpath
> 
> 
> jsvc.exec debug: Java VM created successfully
> jsvc.exec error: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader
> jsvc.exec error: Service exit with a return value of 1
> 
> Command line is
> #jsvc -debug -home $JAVA_HOME -cp commons-daemon.jar MAIN_CLASS
> 
> Can anybody help me?

Perhaps $JAVA_HOME has a space in it? You could try:
  jsvc -debug -home "$JAVA_HOME" -cp commons-daemon.jar MAIN_CLASS

Regards,

Simon



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


Mime
View raw message