javax.naming.NoInitialContextException: Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

Oracle Community | 3004 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Accessing EJBs from a servlet

    Oracle Community | 2 decades ago | 3004
    javax.naming.NoInitialContextException: Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

    Root Cause Analysis

    1. javax.naming.NoInitialContextException

      Need to specify class name in environmen t or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

      at java.lang.Throwable.fillInStackTrace()
    2. Java RT
      Throwable.fillInStackTrace
      1. java.lang.Throwable.fillInStackTrace(Native Method)
      1 frame