java.lang.RuntimeException: org.ejbca.core.ejb.ServiceLocatorException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

ejbca | vronin | 7 years 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

    Errors while "ant install"

    ejbca | 7 years ago | vronin
    java.lang.RuntimeException: org.ejbca.core.ejb.ServiceLocatorException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory
  2. 0

    Problem Deploying EJBCA in Glassfish

    ejbca | 7 years ago | josephwebster
    org.ejbca.core.ejb.ServiceLocatorException: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.impl.SerialInitContextFactory

    Root Cause Analysis

    1. org.ejbca.core.ejb.ServiceLocatorException

      javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

      at org.ejbca.core.ejb.ServiceLocator.<init>()
    2. org.ejbca.core
      ServiceLocator.getInstance
      1. org.ejbca.core.ejb.ServiceLocator.<init>(ServiceLocator.java:43)
      2. org.ejbca.core.ejb.ServiceLocator.getInstance(ServiceLocator.java:56)
      2 frames
    3. org.ejbca.ui
      BaseCommand.getUserAdminSession
      1. org.ejbca.ui.cli.BaseCommand.getUserAdminSession(BaseCommand.java:188)
      1 frame