FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Using Profiler with jsvc on Tomcat

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
jason wang
Posted via mailing list.





PostPosted: Fri May 08, 2009 9:15 pm    Post subject: Using Profiler with jsvc on Tomcat Reply with quote

Hi,

Our ops group starts Tomcat instances using the apache jsvc daemon process. I
could not pass the catalina opts -agentpath:/home/... to the jsvc service. I've
tried to pass it as java opts using the -D and -X but the tomcat server started
w/o waiting for profiler to connect. I've tried using the -agentpath directly,
but it was rejected by jsvc with an invalid option error.

Anyone can help? Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
Tomas Hurka
Posted via mailing list.





PostPosted: Wed May 13, 2009 6:54 pm    Post subject: Using Profiler with jsvc on Tomcat Reply with quote

Hi Jason,

On 8 May 2009, at 23:13, jason wang wrote:
Quote:

Our ops group starts Tomcat instances using the apache jsvc daemon
process. I
could not pass the catalina opts -agentpath:/home/... to the jsvc
service. I've
tried to pass it as java opts using the -D and -X but the tomcat
server started
w/o waiting for profiler to connect. I've tried using the -agentpath
directly,
but it was rejected by jsvc with an invalid option error.

Anyone can help? Thanks.
I did look at jsvc and I did not found a way how to pass -agentpath to
java process. This is a limitation of jsvc daemon and I was not able
to find a workaround for it.

Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic


---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB