Bug #1066
z2 core when started embedded does not resolve JNDI lookups for components
Start date:
12.06.2013
Due date:
% Done:
100%
Estimated time:
origin:
Description
Instead there is the dreaded
Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
error.
Related issues
Updated by Henning Blohm over 11 years ago
This problem is a follow up of the changes for #1012. The process runner implementation, when embedding, does not run in the system class loader's context and so does not find the built-in jndi.properties configuration.
Solution: Change process runner impl to at least lift its class loading context to its own level.
Updated by Henning Blohm over 11 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset z2-core:16e68ca07842de1730345c33706365bb5e09ffe0.