Support to access app scope persistent reference configured in other modules of
the ear package
-----------------------------------------------------------------------------------------------
Key: GERONIMO-6047
URL: https://issues.apache.org/jira/browse/GERONIMO-6047
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: naming
Affects Versions: 3.0
Reporter: Ivan
Assignee: Ivan
Fix For: 3.0
In the scenario, an ear package configured a java:app scope persistent
reference in the application.xml, while accessing it from the client
application, the exception below will be thrown
java.lang.IllegalArgumentException: javax.naming.NamingException:
app/env/persistenceUnit [Root exception is java.lang.I
llegalStateException: No configuration found for id:
default/ear/1-default/car], think that it is required to update the
PersistenceReference in the app scope, like we create client reference for ejb
reference. Not sure what to do with global scope, need more investigation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira