Re: [daemon] Cannot find daemon loader

2010-11-19 Thread sebb
On 19 November 2010 08:55, pieter.br...@gmail.com wrote: > This is really weird; I figured out the issue. > > The jsvc app choked on the name of the jar file. > > I put the date the jar file is created between parens and on my dev machine > I tried to start the file directly and it failed. On the

Re: [daemon] Cannot find daemon loader

2010-11-19 Thread pieter.br...@gmail.com
This is really weird; I figured out the issue. The jsvc app choked on the name of the jar file. I put the date the jar file is created between parens and on my dev machine I tried to start the file directly and it failed. On the production machine I have a symbolic link with a plain name pointing

Re: [daemon] Cannot find daemon loader

2010-11-18 Thread pieter.br...@gmail.com
That makes perfect sense and is exactly what I suspect. But I need some help working out /what/ that problem might be, since I have no idea. On Thu, Nov 18, 2010 at 18:11, Mladen Turk wrote: > On 11/18/2010 02:44 PM, pieter.br...@gmail.com wrote: > >> I browsed the fat jar and it contains this:

Re: [daemon] Cannot find daemon loader

2010-11-18 Thread Mladen Turk
On 11/18/2010 02:44 PM, pieter.br...@gmail.com wrote: I browsed the fat jar and it contains this: - /org/apache/commons/daemon - /org/apache/commons/daemon/support/ The DaemonLoader.class is in the support package. The other thing (not sure if this is relevant) is that I don't have a class tha

Re: [daemon] Cannot find daemon loader

2010-11-18 Thread pieter.br...@gmail.com
I browsed the fat jar and it contains this: - /org/apache/commons/daemon - /org/apache/commons/daemon/support/ The DaemonLoader.class is in the support package. The other thing (not sure if this is relevant) is that I don't have a class that implements the Daemon interface. My class just has met

Re: [daemon] Cannot find daemon loader

2010-11-18 Thread Mladen Turk
On 11/18/2010 12:09 PM, pieter.br...@gmail.com wrote: I have an 'uber' jar which contains the jars for all dependencies. On my server the following command works fine: sudo jsvc -home /usr/lib/jvm/java-6-openjdk -cp /avalanche/avalanche-1.0-SNAPSHOT-\(2010-11-18_12\:33\:43\)-jar-with-dependencie

[daemon] Cannot find daemon loader

2010-11-18 Thread pieter.br...@gmail.com
I have an 'uber' jar which contains the jars for all dependencies. On my server the following command works fine: sudo jsvc -home /usr/lib/jvm/java-6-openjdk -cp /avalanche/avalanche-1.0-SNAPSHOT-\(2010-11-18_12\:33\:43\)-jar-with-dependencies.jar -nodetach -debug -verbose -pidfile /var/run/avalan