Project

General

Profile

Bug #1066

z2 core when started embedded does not resolve JNDI lookups for components

Added by Henning Blohm almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
z2-core
Target version:
-
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

Related to z2-Environment - Improvement #1012: Fix naming integration for better embeddabilityClosed27.03.2013Henning Blohm

Actions
#1

Updated by Henning Blohm almost 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.

#2

Updated by Henning Blohm almost 11 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
#3

Updated by Henning Blohm almost 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF