[jboss-user] [Installation, Configuration & DEPLOYMENT] - Cannot create MBeanServer exception when booting JBoss

cardel do-not-reply at jboss.com
Tue Apr 8 17:15:34 EDT 2008


I have clean installation of openSuse 10.3 with Java 1.5.0_12-b04
When I start jboss as 4.2.2.GA I get this exception.
Thanks for some useful tips...


  | =========================================================================
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: /home/karel/jboss-4.2.2.GA
  | 
  |   JAVA: /usr/lib64/jvm/java/bin/java
  | 
  |   JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
  | 
  |   CLASSPATH: /home/karel/jboss-4.2.2.GA/bin/run.jar:/usr/lib64/jvm/java/lib/tools.jar
  | 
  | =========================================================================
  | 
  | log4j:WARN Failed to set property [append] to value "false".
  | 23:06:36,968 INFO  [Server] Starting JBoss (MX MicroKernel)...
  | 23:06:36,971 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
  | 23:06:36,972 INFO  [Server] Home Dir: /home/karel/jboss-4.2.2.GA
  | 23:06:36,972 INFO  [Server] Home URL: file:/home/karel/jboss-4.2.2.GA/
  | 23:06:36,974 INFO  [Server] Patch URL: null
  | 23:06:36,974 INFO  [Server] Server Name: default
  | 23:06:36,974 INFO  [Server] Server Home Dir: /home/karel/jboss-4.2.2.GA/server/default
  | 23:06:36,974 INFO  [Server] Server Home URL: file:/home/karel/jboss-4.2.2.GA/server/default/
  | 23:06:36,975 INFO  [Server] Server Log Dir: /home/karel/jboss-4.2.2.GA/server/default/log
  | 23:06:36,975 INFO  [Server] Server Temp Dir: /home/karel/jboss-4.2.2.GA/server/default/tmp
  | 23:06:36,976 INFO  [Server] Root Deployment Filename: jboss-service.xml
  | 23:06:37,081 ERROR [BasicMBeanRegistry] Cannot register MBean
  | java.lang.UnsatisfiedLinkError: getSignature
  |    at java.lang.reflect.Constructor.getSignature(Native Method)
  |    at java.lang.reflect.Constructor.getGenericParameterTypes(Constructor.java:390)
  |    at javax.management.MBeanConstructorInfo.<init>(MBeanConstructorInfo.java:81)
  |    at org.jboss.mx.metadata.StandardMetaData.build(StandardMetaData.java:203)
  |    at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:224)
  |    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:194)
  |    at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:215)
  |    at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
  |    at javax.management.MBeanServerFactory.createServer(MBeanServerFactory.java:373)
  |    at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:160)
  |    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420)
  |    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:743)
  |    at java.lang.VMThread.run(VMThread.java:120)
  | 
  | 23:06:37,117 WARN  [BasicMBeanRegistry] preRegister() failed for JMImplementation:type=MBeanRegistry:
  | java.lang.LinkageError: subtype constraint violated (java.lang.String is not a subclass of java.lang.Class)
  |    at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:994)
  |    at org.jboss.mx.modelmbean.ModelMBeanInvoker.initAttributeContexts(ModelMBeanInvoker.java:597)
  |    at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:647)
  |    at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
  |    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
  |    at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:225)
  |    at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
  |    at javax.management.MBeanServerFactory.createServer(MBeanServerFactory.java:373)
  |    at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:160)
  |    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420)
  |    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:743)
  |    at java.lang.VMThread.run(VMThread.java:120)
  | 
  | Failed to boot JBoss:
  | java.lang.RuntimeException: Cannot create MBeanServer
  |    at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:239)
  |    at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
  |    at javax.management.MBeanServerFactory.createServer(MBeanServerFactory.java:373)
  |    at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:160)
  |    at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420)
  |    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:743)
  |    at java.lang.VMThread.run(VMThread.java:120)
  | Caused by: javax.management.NotCompliantMBeanException: Cannot register MBean: JMImplementation:type=MBeanRegistry
  |    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314)
  |    at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:225)
  |    ...9 more
  | Caused by: javax.management.RuntimeErrorException
  |    at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:725)
  |    at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
  |    ...10 more
  | Caused by: java.lang.LinkageError: subtype constraint violated (java.lang.String is not a subclass of java.lang.Class)
  |    at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:994)
  |    at org.jboss.mx.modelmbean.ModelMBeanInvoker.initAttributeContexts(ModelMBeanInvoker.java:597)
  |    at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:647)
  |    at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
  |    ...11 more
  | 
  | 

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

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



More information about the jboss-user mailing list