|
From: Christian M. <chr...@ta...> - 2011-02-08 07:19:52
|
John, Could you set the loglevel to debug and reproduce the ClassNotFoundException you are seeing (And send it to me?) >From the debug output I can see the exact java command line the wrapper is producing and should get a better grasp on what might be the reason for your problem. Please set this in your conf file: wrapper.debug=true Also please note that in the conf file a hash marks the beginning of a comment. As you have set the property right now, the Wrapper won't read any further than the first #. Therefore you should quote the property to make sure it catches the whole line: 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" Best Regards, Christian 2011/2/8 John Aronson <joh...@op...> > 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... | 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** > > > > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |