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

tuscany-user | Scott Kurinskas | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    DAS & JNDI requirements

    tuscany-user | 1 decade ago | Scott Kurinskas
    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

    Root Cause Analysis

    1. 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

      at org.apache.tuscany.das.rdb.impl.DASImpl.initializeConnection()
    2. org.apache.tuscany
      DASImpl.createCommand
      1. org.apache.tuscany.das.rdb.impl.DASImpl.initializeConnection(DASImpl.java:162)
      2. org.apache.tuscany.das.rdb.impl.DASImpl.getConnection(DASImpl.java:131)
      3. org.apache.tuscany.das.rdb.impl.DASImpl.baseCreateCommand(DASImpl.java:228)
      4. org.apache.tuscany.das.rdb.impl.DASImpl.createCommand(DASImpl.java:197)
      4 frames
    3. gemfire.example.rdb
      CompanyMain.main
      1. gemfire.example.rdb.mds.CompanyClient.testRead(CompanyClient.java:66)
      2. gemfire.example.rdb.mds.CompanyMain.main(CompanyMain.java:24)
      2 frames