[jboss-user] [Beginners Corner] - Issue with JBoss 4.2.1

j_lalith do-not-reply at jboss.com
Sun Aug 5 23:20:51 EDT 2007


Hi,

I download the JBoss 4.2.1 zip and extracted it to a local folder,

Plat form - Fedora Core 5

Java - Java 5

As instructed I executed the run.sh (JAVA_HOME set).

but it gives the following exeception, then I thought it is something to do with the existing log4j libraries in my system, then I removed all the log4j references and executed the run.sh but still It gives the following error.

I see lot of questions like this with no answer, can some one let me know how to solve the following


13:11:37,798 WARN  [BasicMBeanRegistry] preRegister() failed for JMImplementation:type=MBeanServerDelegate: 
java.lang.NoSuchFieldError: TRACE
        at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
        at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
        at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:1009)
        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.(MBeanServerImpl.java:215)
        at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
        at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
        at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
        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:595)
Failed to boot JBoss:
java.lang.RuntimeException: Cannot create MBeanServer
        at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:239)
        at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
        at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
        at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
        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:595)
Caused by: javax.management.NotCompliantMBeanException: Cannot register MBean: JMImplementation:type=MBeanS erverDelegate
        at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314)
        at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215)
        ... 8 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)
        ... 9 more
Caused by: java.lang.NoSuchFieldError: TRACE
        at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
        at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
        at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:1009)
        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)
        ... 10 more


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

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



More information about the jboss-user mailing list