[jboss-jira] [JBoss JIRA] Created: (JBAS-6329) Any changes to persistence.xml in an EJB module are ignored until server restart
Martin Vecera (JIRA)
jira-events at lists.jboss.org
Wed Dec 17 11:38:54 EST 2008
Any changes to persistence.xml in an EJB module are ignored until server restart
--------------------------------------------------------------------------------
Key: JBAS-6329
URL: https://jira.jboss.org/jira/browse/JBAS-6329
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB3
Affects Versions: JBossAS-5.0.0.GA
Reporter: Martin Vecera
Assignee: Carlo de Wolf
I had an EJB module containing EJB3 entity beans. I forgot to include persistence.xml into the .jar archive and got an exception about that. So I put the file in META-INF and redeployed the .ear package containing the EJB .jar module. The server still complained about null persistent manager.
After server restart it worked well. So I removed persistence.xml again and redeployed the package. Surprisingly, it worked well until server restart.
To me it seems like the configuration is being cached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list