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