This discussion is archived
1 2 Previous Next 19 Replies Latest reply: Mar 25, 2008 12:18 PM by 807581 RSS

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

807581 Newbie
Currently Being Moderated
I got this error message at runtime.
After adding value to the Intialcontext by adding the following code snippet:

Properties p = new Properties();
initContext = new javax.naming.InitialContext(p);

After this i am getting different error message:
minor code: 1 completed: Maybe at Source)
at Source)

Looking forward a proper solution
for this problem.

Thanks in advance.
James Arun
1 2 Previous Next