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.