|
From: John A. <joh...@op...> - 2011-02-07 23:56:47
|
Hi,
I'm trying to add a -javaagent parameter with my wrapper configuration and Im', running into a problem. I think it's because the wrapper class can't parse the javaagent argument correctly.
The arg I added was [note there's multiple '=' in it]:
wrapper.java.additional.n=-javaagent:%APP_HOME%\tierext\lib\plugins-instrument-agent.jar=app.launch.properties=%APP_HOME%\tierext\jboss\conf\jbLaunch.properties#optier.instrumented.jboss=true#jb.version=5
I get this message when the app is starting:
--> Wrapper Started as Console
Java Service Wrapper Standard Edition 3.3.1
Copyright (C) 1999-2008 Tanuki Software, Inc. All Rights Reserved.
http://wrapper.tanukisoftware.org
Licensed to OpTier Ltd. for OpTier BTM Server
Launching a JVM...
setting system property :app.launch.properties=C:\App_Server_4-0-0-3008\bin/../..\app\tierext\jboss\conf\jbLaunch.properties
I get an ClassNotFoundException right after that. The app.launch.properties file was supposed to extend the classpath to cover the class that was not found. Is there anything I can do to cause the wrapper to parse this argument correctly?
__________________________________________
John Aronson
Senior Technical Consultant
joh...@op...<mailto:joh...@op...> | Office: 303 477 4870 | Cell: 303 332 4802 | Fax:
OpTier | West 27th Ave Denver, CO 80211
OpTier.com<http://www.optier.com/> | OpTier Blog<http://blog.optier.com/> | Twitter<http://www.twitter.com/optier> | BTM on Linkedin<http://www.linkedin.com/groups?home=&gid=1854916&trk=anet_ug_hm&goback=.prf_en*4US>
Take Control of Your Service Availability & Performance with Award Winning OpTier BTM
Winner │2010 Product Innovation Award: End User Monitoring Solution │Network Products Guide
Winner │2010 Product Innovation Award: Business Transaction Management Solution │Network Products Guide
Winner │2009 CTO Summit Innovation Award │Morgan Stanley
Finalist│2010 IBM Smarter Decision Management Award │IBM Impact Awards
Finalist│2010 Best Systems Management Solution │SIIA CODiE Awards
|