You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Hugo Sterin <hs...@gmail.com> on 2010/04/20 10:34:18 UTC

Re: jsvc and profiler option -agent

Mladen Turk <mturk <at> apache.org> writes:

> 
> It's not in 6.0.24, and will not be part of 6.0.26
> Layout is a bit different so I need to backport that from
> Tomcat trunk to 6.0.x branch.
> 
> You can however download it directly from
> http://commons.apache.org/downloads/download_daemon.cgi
> 
> Click on 'Browse download area' and download
> commons-daemon-current-native-src.tar.gz
> 
> Since 1.0.2 there will be no separate jsvc.tar.gz any more.
> 
> Regards


Hi, 

I had this issue with tomcat 6.0.26, I tried daemons 1.0.2 without success. I 
can't start tomcat with jsvc if -javaagent property is in the command line. (–
javaagent:/local/agent/Agent.jar)

Next parameters are always ignored and I end up getting the error "Cannot find 
daemon loader org/apache/commons/daemon/support/DaemonLoader" because the 
classpath is ignored. 

If I remove the javaagent property, everything is fine. 

Can you confirm it is supported in 1.0.2?

Thanks

Hugo


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


Re: jsvc and profiler option -agent

Posted by Hugo Sterin <hs...@gmail.com>.
Hugo Sterin <hsterin <at> gmail.com> writes:

> I had this issue with tomcat 6.0.26, I tried daemons 1.0.2 without success. I 
> can't start tomcat with jsvc if -javaagent property is in the command line. (–
> javaagent:/local/agent/Agent.jar)
> 
> Next parameters are always ignored and I end up getting the error "Cannot find 
> daemon loader org/apache/commons/daemon/support/DaemonLoader" because the 
> classpath is ignored. 
> 
> If I remove the javaagent property, everything is fine. 
> 
> Can you confirm it is supported in 1.0.2?


Nevermind, that was an encoding issue on the "-" before javaagent, it was a 
windows "-" translated into a unix "." ... 


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