[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - java.lang.RuntimeException: javax.management.InstanceAlready
Rockym
do-not-reply at jboss.com
Sat Sep 2 22:02:04 EDT 2006
Hi
I have a little problem, because I have made the persistence and made the conecction to MySQL, but the console marks the next.
java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: persistence.units:jar=tutorialEstudiante.jar,unitName=Estudiante already registered.
20:36:58,211 INFO [EJB3Deployer] Deployed: file:/Applications/jboss/server/default/deploy/tutorialEstudiante.jar
20:36:58,228 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=tutorialEstudiante.jar,unitName=Estudiante
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=MySQLDS,service=ManagedConnectionFactory
ObjectName: jboss.j2ee:service=EJB3,module=tutorialEstudiante.jar
State: FAILED
Reason: java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: persistence.units:jar=tutorialEstudiante.jar,unitName=Estudiante already registered.
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=MySQLDS,service=ManagedConnectionFactory
State: NOTYETINSTALLED
Depends On Me:
persistence.units:jar=tutorialEstudiante.jar,unitName=Estudiante
ObjectName: jboss.j2ee:service=EJB3,module=tutorialEstudiante.jar
State: FAILED
Reason: java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: persistence.units:jar=tutorialEstudiante.jar,unitName=Estudiante already registered.
The curious is that the Beans are stored in memory by the stateful, but when I try to the the database the table and the Beans doesn't appear.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969075#3969075
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969075
More information about the jboss-user
mailing list