[
https://issues.jboss.org/browse/JBTM-1320?page=com.atlassian.jira.plugin....
]
Paul Robinson commented on JBTM-1320:
-------------------------------------
See output when Booting AS:
{code}
16:31:30,268 INFO [org.jboss.as.arquillian.container.managed.ManagedDeployableContainer]
(main) Starting container with: [/usr/local/jdk1.7.0_03/bin/java, -Xmx512m,
-XX:MaxPermSize=256m,
-Djboss.dist=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/../../../build/target/jboss-as-7.2.0.Alpha1-SNAPSHOT,
-Djava.net.preferIPv4Stack=true, -Djava.net.preferIPv6Addresses=false,
-Dts.timeout.factor=100, -Dnode0=127.0.0.1, -Dnode1=127.0.0.1, -Dmcast=230.0.0.4,
-Djbossas.ts.submodule.dir=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts,
-Djbossas.ts.integ.dir=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/..,
-Djbossas.ts.dir=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/../..,
-Djbossas.project.dir=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/../../..,
-Djboss.dist=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/../../../build/target/jboss-as-7.2.0.Alpha1-SNAPSHOT,
-Djboss.inst=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/target/jbossas,
-ea,
-Djboss.home.dir=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/target/jbossas,
-Dorg.jboss.boot.log.file=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/target/jbossas/standalone/log/boot.log,
-Dlogging.configuration=file:/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/target/jbossas/standalone/configuration/logging.properties,
-Djboss.bundles.dir=/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/../../../build/target/jboss-as-7.2.0.Alpha1-SNAPSHOT/bundles,
-jar,
/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/target/jbossas/jboss-modules.jar,
-mp,
/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/../../../build/target/jboss-as-7.2.0.Alpha1-SNAPSHOT/modules:/home/hudson/workspace/jbossts-narayana-java7/jboss-as/./testsuite/integration/xts/target/modules,
-jaxpmodule, javax.xml.jaxp-provider, org.jboss.as.standalone, -server-config,
standalone-xts.xml]
16:31:30,422 INFO [org.xnio] (main) XNIO Version 3.0.7.GA
16:31:30,438 INFO [org.xnio.nio] (main) XNIO NIO Implementation Version 3.0.7.GA
16:31:30,464 INFO [org.jboss.remoting] (main) JBoss Remoting version 3.2.12.GA
16:31:31,068 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.3.GA
Exception in thread "main" java.lang.RuntimeException:
javax.management.MBeanRegistrationException: Exception thrown in preRegister method
at java.lang.management.ManagementFactory.addMXBean(ManagementFactory.java:824)
at
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:481)
at org.jboss.modules.Main.main(Main.java:289)
Caused by: javax.management.MBeanRegistrationException: Exception thrown in preRegister
method
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.throwMBeanRegistrationException(DefaultMBeanServerInterceptor.java:993)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegister(DefaultMBeanServerInterceptor.java:1009)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:919)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:512)
at
org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:550)
at
org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:318)
at java.lang.management.ManagementFactory$2.run(ManagementFactory.java:819)
at java.lang.management.ManagementFactory$2.run(ManagementFactory.java:815)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.management.ManagementFactory.addMXBean(ManagementFactory.java:815)
... 2 more
Caused by: javax.management.InstanceAlreadyExistsException: MXBean already registered with
name java.lang:type=GarbageCollector,name=Copy
at com.sun.jmx.mbeanserver.MXBeanLookup.addReference(MXBeanLookup.java:151)
at com.sun.jmx.mbeanserver.MXBeanSupport.register(MXBeanSupport.java:160)
at javax.management.StandardMBean.preRegister(StandardMBean.java:1075)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegister(DefaultMBeanServerInterceptor.java:1007)
... 12 more
{code}
MXBean already registered with name
java.lang:type=GarbageCollector,name=Copy
-----------------------------------------------------------------------------
Key: JBTM-1320
URL:
https://issues.jboss.org/browse/JBTM-1320
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: XTS
Reporter: Tom Jenkinson
Assignee: Paul Robinson
Priority: Minor
Fix For: 4.17.3, 5.0.0.M2
Please edit this, the description and components as appropriate.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira