Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
1.9.0
-
None
-
None
Description
JNDI Config is hard-coded to only support "java:comp/env/deltaspike/" as a base name. This doesn't work for EAR deployments where we must have the DeltaSpike jars deployed in top-level app lib directory with JNDI resource reference in application.xml, for which name prefix is java:app/env
Furthermore, it's sometimes desirable to have server-level config, such as for ProjectStage. For example, a JNDI name java:global/env/deltaspike/org.apache.deltaspike/ProjectStage might be defined at the server level configuration.
I understand a custom config source can be created to overcome this. However, the standard JNDI config source should be more flexible.