1) download newralic.zip 3.1.1
extract and paste it into jboss home
ex: D:/jboss-eap-6.1/newrelic
2) go to cmd
type
java -jar newralic.jar install
3)we can see the entry in standalone.bat if it is eap6.0
set JAVA_OPTS=-javaagent:"D:/jboss-eap-6.1/newrelic/newrelic.jar" %JAVA_OPTS%
so while run..
please add this line
-javaagent:D:/jboss-eap-6.1/newrelic/newrelic.jar
4) if u run from eclipse
open your server [double click].
open launch configuration
VM arguments
add this line -javaagent:D:/jboss-eap-6.1/newrelic/newrelic.jar
start the server
No comments:
Post a Comment