JBoss does not starts with jamvm today with the class cast exception in
the sentence:
this.modelAttributes = (ModelMBeanAttributeInfo[])
super.getAttributes();
The exceptions trace and messages are attached.
As until now it was a long talk about JBoss running, I suspect that this
is a regression, introduced by the recent changes.
Could anybody else try with the fresh CVS check?
Best regards
Audrius
run.sh: Missing file: /usr/local/bin/javahome/lib/tools.jar
run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/audriusa/applications/boss
JAVA: jamvm
JAVA_OPTS: -Xms128m -Xmx512m -Dprogram.name=run.sh
CLASSPATH: /home/audriusa/applications/boss/bin/run.jar:/usr/local/bin/javahome/lib/tools.jar
=========================================================================
12:21:32,020 INFO [Server] Starting JBoss (MX MicroKernel)...
12:21:32,021 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
12:21:32,024 INFO [Server] Home Dir: /home/audriusa/applications/boss
12:21:32,024 INFO [Server] Home URL: file:/home/audriusa/applications/boss/
12:21:32,027 INFO [Server] Patch URL: null
12:21:32,027 INFO [Server] Server Name: default
12:21:32,027 INFO [Server] Server Home Dir: /home/audriusa/applications/boss/server/default
12:21:32,028 INFO [Server] Server Home URL: file:/home/audriusa/applications/boss/server/default/
12:21:32,028 INFO [Server] Server Log Dir: /home/audriusa/applications/boss/server/default/log
12:21:32,029 INFO [Server] Server Temp Dir: /home/audriusa/applications/boss/server/default/tmp
12:21:32,030 INFO [Server] Root Deployment Filename: jboss-service.xml
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$2.run(MBeanServerFactory.java:241)
at java.security.AccessController.doPrivileged(AccessController.java:154)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:236)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:168)
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:464)
at java.lang.Thread.run(Thread.java:740)
Caused by: javax.management.NotCompliantMBeanException: Cannot register MBean: JMImplementation:type=MBeanServerDelegate
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314)
at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:215)
...10 more
Caused by: java.lang.ClassCastException: [Ljavax/management/MBeanAttributeInfo;
at javax.management.modelmbean.ModelMBeanInfoSupport.<init>(ModelMBeanInfoSupport.java:164)
at org.jboss.mx.metadata.MBeanInfoConversion.toModelMBeanInfo(MBeanInfoConversion.java:239)
at org.jboss.mx.modelmbean.XMBean.<init>(XMBean.java:229)
at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:194)
...11 more