I am trying to install the agent on a JBOSS 4.3_CP10 server ( JDK 1.5.0_22), but I keep getting this exception when I run the server.
What I did is:
Thanks for your help.
antonio
ps: Jboss output:
JAVA_OPTS: -Dprogram.name=run.sh -server -Djboss.platform.mbeanserver -XX:MaxPermSize=128m -XX:ReservedCodeCacheSize=64m -XX:+DisableExplicitGC -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.net.inetaddr.ttl=60 -Duser.language=fr -Dfile.encoding=ISO-8859-1 -Duser.country=CH -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -XX:+UseParallelGC -Xms128m -Xmx256m -Djade.instance.mode=simdevl -Djade.instance.version=united-1.1 -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -javaagent:/local/home/Jboss/jboss/instances/jboss-simdevl-2/jboss-as-4.3-CP_10/bin/javaagent.jar CLASSPATH: /home/Jboss/jboss/instances/jboss-simdevl-2/jboss-as/bin/run.jar:/usr/java/jdk1.5.0_22/lib/tools.jar ========================================================================= Install Directory resolved to[/local/home/Jboss/jboss/instances/jboss-simdevl-2/jboss-as-4.3-CP_10/bin] java.lang.RuntimeException: Invalid Agent Installation Directory [/local/home/Jboss/jboss/instances/jboss-simdevl-2/jboss-as-4.3-CP_10/bin] at com.singularity.ee.agent.appagent.AgentEntryPoint.addThirdPartyURLs(AgentEntryPoint.java:190) at com.singularity.ee.agent.appagent.AgentEntryPoint.premain(AgentEntryPoint.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:141) 17:14:58,518 INFO [Server] Starting JBoss (MX MicroKernel)...
Solved this myself... I didnt copy de rest of the files.
cheers.
Hi,
Glad to hear that you could able solve the issue and could monitor jboss server now, but we suggest to maintain separate agent install directory instead copying AD lite agent files under jboss server installation directories which might conflict if there similar file name or directories.
refer docs for future reference: http://litedocs.appdynamics.com/display/ADLite/Installing+the+Application+Server+Agent
http://litedocs.appdynamics.com/display/ADLite/JBoss
We hope this information will help for future AD lite agent installations
Thanks,
Arun