[jboss-dev-forums] [Design of JBoss Profiler] - challenge loading jboss-profiler on EAP 4.3

rodgerca do-not-reply at jboss.com
Mon Aug 11 12:02:52 EDT 2008


Have installed latest version of jboss-profiler as instructed in readme.txt.      It was half-working initially, I could start and stop the profiler from both the jmx console and the command line (albeit it was producing empty log files), but then I restarted the server and I get the following error.  Any ideas? I didn't change a thing, all I did was restart the server. And I do have all the correct classes on my classpath.  Also, any ideas why it was producing empty log files when it was first running?  Again, I believe I have all the .properties files set up correctly.

C:\Program Files\jboss-eap-4.3\jboss-as\bin>run -b cmm00465 -c production
===============================================================================

  JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: C:\Program Files\jboss-eap-4.3\jboss-as
  | 
  |   JAVA: C:\Program Files\Java\jdk1.5.0_16\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -javaagent:jboss-profiler.jar -Djbo
  | ss-profiler.properties=jboss-profiler.properties -Xms1g -Xmx1g -XX:MaxPermSize=2
  | 56m  -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=360
  | 0000
  | 
  |   CLASSPATH: C:\Program Files\Java\jdk1.5.0_16\lib\tools.jar;C:\Program Files\jb
  | oss-eap-4.3\jboss-as\bin\run.jar
  | 
  | ===============================================================================
  | 
  | JBoss Profiler 2.0.Beta1 (Sun Microsystems Inc. 1.5.0_16)
  | JBoss Profiler: Socket=cmm00465:5400
  | 16:53:12,447 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 16:53:12,447 INFO  [Server] Release ID: JBoss [EAP] 4.3.0.GA (build: SVNTag=JBPA
  | PP_4_3_0_GA date=200801031548)
  | 16:53:12,447 INFO  [Server] Home Dir: C:\Program Files\jboss-eap-4.3\jboss-as
  | 16:53:12,447 INFO  [Server] Home URL: file:/C:/Program Files/jboss-eap-4.3/jboss
  | -as/
  | 16:53:12,463 INFO  [Server] Patch URL: null
  | 16:53:12,463 INFO  [Server] Server Name: production
  | 16:53:12,463 INFO  [Server] Server Home Dir: C:\Program Files\jboss-eap-4.3\jbos
  | s-as\server\production
  | 16:53:12,463 INFO  [Server] Server Home URL: file:/C:/Program Files/jboss-eap-4.
  | 3/jboss-as/server/production/
  | 16:53:12,463 INFO  [Server] Server Log Dir: C:\Program Files\jboss-eap-4.3\jboss
  | -as\server\production\log
  | 16:53:12,463 INFO  [Server] Server Temp Dir: C:\Program Files\jboss-eap-4.3\jbos
  | s-as\server\production\tmp
  | 16:53:12,463 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 16:53:12,666 INFO  [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc.
  | 16:53:12,666 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_16-b02
  | ,Sun Microsystems Inc.
  | 16:53:12,682 INFO  [ServerInfo] OS-System: Windows 2003 5.2,x86
  | 16:53:12,963 INFO  [Server] Core system initialized
  | 16:53:15,885 ERROR [MainDeployer] Could not create deployment: file:/C:/Program
  | Files/jboss-eap-4.3/jboss-as/server/production/conf/jboss-service.xml
  | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
  | .UndeclaredThrowableException)
  |         at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :196)
  |         at org.jboss.system.ServiceController.install(ServiceController.java:226
  | )
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy4.install(Unknown Source)
  |         at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy5.deploy(Unknown Source)
  |         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  |         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  |         at org.jboss.Main.boot(Main.java:200)
  |         at org.jboss.Main$1.run(Main.java:508)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  |         at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
  |         at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
  | tor.java:449)
  |         at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :171)
  |         ... 36 more
  | Caused by: java.lang.NoClassDefFoundError: org/jboss/mx/util/JBossNotificationBr
  | oadcasterSupport
  |         at org.jboss.remoting.network.NetworkRegistry.<init>(NetworkRegistry.jav
  | a:55)
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
  | orAccessorImpl.java:39)
  |         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
  | onstructorAccessorImpl.java:27)
  |         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  |         at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
  | 1233)
  |         at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
  | 286)
  |         at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
  | 344)
  |         at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
  |         ... 38 more
  | Failed to boot JBoss:
  | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect
  | .UndeclaredThrowableException)
  |         at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :196)
  |         at org.jboss.system.ServiceController.install(ServiceController.java:226
  | )
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy4.install(Unknown Source)
  |         at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.java:142)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy5.deploy(Unknown Source)
  |         at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
  |         at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
  |         at org.jboss.Main.boot(Main.java:200)
  |         at org.jboss.Main$1.run(Main.java:508)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.reflect.UndeclaredThrowableException
  |         at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
  |         at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura
  | tor.java:449)
  |         at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java
  | :171)
  |         ... 36 more
  | Caused by: java.lang.NoClassDefFoundError: org/jboss/mx/util/JBossNotificationBr
  | oadcasterSupport
  |         at org.jboss.remoting.network.NetworkRegistry.<init>(NetworkRegistry.jav
  | a:55)
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 
  |         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
  | orAccessorImpl.java:39)
  |         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
  | onstructorAccessorImpl.java:27)
  |         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  |         at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
  | 1233)
  |         at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:
  | 286)
  |         at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:
  | 344)
  |         at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
  |         ... 38 more




























































































View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169919#4169919

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169919



More information about the jboss-dev-forums mailing list