Bug #1066
z2 core when started embedded does not resolve JNDI lookups for components
Added by Henning Blohm over 11 years ago.
Updated over 11 years ago.
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.
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.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF