how to set Run.conf file for JBoss Profiler
which one is correct
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -javaagent:jboss-profiler.jar -Djboss-profiler.properties=jboss-profiler.properties"
fi
or
JAVA_OPTS="$JAVA_OPTS -javaagent:bin/jboss-profiler.jar -Djboss-profiler.properties=bin/jboss-profiler.properties"
this giving problem , of jar file corrupt could not initialize the VM ,...
also i have cheked my Jboss-profiler.jar file with jat -tf command its fine , not showing error