Jboss with javaagent option not starting

Jboss with javaagent option not starting

Hi,
I am testing Applications Manager and to analyze transactions in my jboss-portal am trying to use WebtransactionAgent . When i tried to start jboss I got an error like below.

----------------------
Failed to find Premain-Class manifest attribute in /opt/jboss-portal-2.6.4/bin/WebTransactionAgent.jar
Error occurred during initialization of VM
agent library failed to init: instrument
----------------------------

From google search i found that i should write the main class in MANIFEST.MF of the webtransactionagent.jar. I am wondering what should i exactly write to MANIFEST.MF to make it work.

Thanks.










                New to ADSelfService Plus?