3 Replies Latest reply: Apr 2, 2010 2:04 AM by Hiamnshu Walia RSS

    jboss-profiler-2.0.0 Configuration Issue.

    Giri Prasad Newbie

      I'm trying to configure jboss-profiler. I have followed below step as per UserGuide.

      But while starting my jboss instance. I'm getting below exception. Any idea?

      Server detail
      OS : AIX 6.1
      JDK : JDK1.5
      Jboss Version : Jboss-4.0.2
      Profiler Version : jboss-profiler-2.0.0

      JBoss Application Server 4.2
      • Copy jboss-profiler.jar to jbossas/bin
      • Copy jboss-profiler.properties to jbossas/bin
      • Copy javassist.jar to jbossas/bin
      • Edit jboss-profiler.properties in jbossas/bin to include the classes to be profiled
      • Copy jboss-profiler-plugins.jar to jbossas/bin
      • Edit run.conf (Unix) or run.bat (Windows) in jbossas/bin to include JBoss Profiler in JAVA_OPTS
      • Copy jboss-profiler.sar to jbossas/server//deploy
      • Boot application server

      ERROR [MainDeployer] could not create deployment: file:/chroot/jboss-4.0.2/server/bvt1/deploy/jboss-profiler.sar
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
      at org.jboss.system.ServiceController.install(ServiceController.java:202)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)


      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@74067f62 { url=file:/chroot/jboss-4.0.2/server/bvt1/deploy/jboss-profiler.sar }
      deployer: org.jboss.deployment.SARDeployer@2d512d51
      status: Deployment FAILED reason: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      state: FAILED
      watch: file:/chroot/jboss-4.0.2/server/bvt1/deploy/jboss-profiler.sar
      altDD: null
      lastDeployed: 1250580268451
      lastModified: 1250580268000
      mbeans: