Trying to install an already registered mbean.
Posted in Uncategorized on February 22nd, 2011 by admin – 2 CommentsAnother JAVA error here, another simple resolution. In this case two of our JAVA developers were trying to deploy compiled code to run withing JBoss, however were seeing the following error.
file:/usr/local/EnterprisePlatform-4.3.0.GA/jboss-as/server/production/deploy/epjndi-ds.xml
org.jboss.deployment.DeploymentException:
Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=jdbc/epjndi
The error lead us to believe (obviously) that we had two configurations conflicting with one another and this was the case. This was easily found by searching the root path of our JBoss deployment, via…
The return:
./epjndi-ds.xml: <jndi-name>jdbc/epjndi</jndi-name>
We moved the epjndi-ds.xml from WEB-INF and walla, issue resolved, hope this helps anyone seeing this issue