java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Errors while "ant install"
    via ejbca by vronin
    ,
    • java.lang.RuntimeException: org.ejbca.core.ejb.ServiceLocatorException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory at org.ejbca.ui.cli.BaseCommand.getUserAdminSession(BaseCommand.java:193) at org.ejbca.ui.cli.batch.BatchMakeP12.createAllWithStatus(BatchMakeP12.java:439) at org.ejbca.ui.cli.batch.BatchMakeP12.createAllNew(BatchMakeP12.java:395) at org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:110) at org.ejbca.ui.cli.EjbcaEjbCli.executeCommand(EjbcaEjbCli.java:117) at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:67) Caused by: org.ejbca.core.ejb.ServiceLocatorException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory at org.ejbca.core.ejb.ServiceLocator.<init>(ServiceLocator.java:43) at org.ejbca.core.ejb.ServiceLocator.getInstance(ServiceLocator.java:56) at org.ejbca.ui.cli.BaseCommand.getUserAdminSession(BaseCommand.java:188)
    No Bugmate found.