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

strutstestcase | nobody | 1 decade ago
  1. 0

    STC and JNDI

    strutstestcase | 1 decade ago | nobody
    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
  2. 0

    Current cvs version issue

    oreports | 1 decade ago | alinv
    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
  3. 0

    Access Remote SLSB

    springframework | 1 decade ago | khem
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    configuration and jta doubts

    springframework | 1 decade ago | *anonymous
    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
  6. 0

    javax.naming.NoInitialContextException | Forums | MyEclipse

    myeclipseide.com | 2 years ago
    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

  1. Kawada 18 times, last 6 months ago
29 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

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 javax.naming.spi.NamingManager.getInitialContext()
  2. Java RT
    InitialContext.lookup
    1. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
    2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
    4. javax.naming.InitialContext.lookup(InitialContext.java:347)
    4 frames
  3. net.sf.hibernate
    Configuration.buildSessionFactory
    1. net.sf.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:45)
    2. net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)
    3. net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:161)
    4. net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:618)
    4 frames
  4. isp.apps.pgr
    searchPersonAction.execute
    1. isp.apps.pgr.gms.persistence.hibernateFactory.<init>(hibernateFactory.java:30)
    2. isp.apps.pgr.gms.persistence.hibernateFactory.getInstance(hibernateFactory.java:52)
    3. isp.apps.pgr.gms.users.AccountManager.<clinit>(AccountManager.java:21)
    4. isp.apps.pgr.gms.actions.searchPersonAction.execute(searchPersonAction.java:51)
    4 frames
  5. struts
    ActionServlet.doPost
    1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    3. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    4. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    4 frames
  6. servletunit.struts
    MockStrutsTestCase.actionPerform
    1. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:332)
    1 frame
  7. isp.apps.pgr
    TestNavigation.testNavigateHome
    1. isp.apps.pgr.gms.actionsTest.TestNavigation.testNavigateHome(TestNavigation.java:35)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:324)
    4 frames
  9. JUnit
    TestRunner.run
    1. junit.framework.TestCase.runTest(TestCase.java:154)
    2. junit.framework.TestCase.runBare(TestCase.java:127)
    3. junit.framework.TestResult$1.protect(TestResult.java:106)
    4. junit.framework.TestResult.runProtected(TestResult.java:124)
    5. junit.framework.TestResult.run(TestResult.java:109)
    6. junit.framework.TestCase.run(TestCase.java:118)
    7. junit.framework.TestSuite.runTest(TestSuite.java:208)
    8. junit.framework.TestSuite.run(TestSuite.java:203)
    9. junit.framework.TestSuite.runTest(TestSuite.java:208)
    10. junit.framework.TestSuite.run(TestSuite.java:203)
    11. junit.textui.TestRunner.doRun(TestRunner.java:116)
    12. junit.textui.TestRunner.doRun(TestRunner.java:109)
    13. junit.textui.TestRunner.run(TestRunner.java:72)
    13 frames
  10. isp.utils.ant
    CustomJunitTask.execute
    1. isp.utils.ant.tasks.CustomJunitTask.execute(CustomJunitTask.java:90)
    1 frame
  11. Ant
    Main.main
    1. org.apache.tools.ant.Task.perform(Task.java:319)
    2. org.apache.tools.ant.Target.execute(Target.java:309)
    3. org.apache.tools.ant.Target.performTasks(Target.java:336)
    4. org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    5. org.apache.tools.ant.Project.executeTargets(Project.java:1250)
    6. org.apache.tools.ant.Main.runBuild(Main.java:610)
    7. org.apache.tools.ant.Main.start(Main.java:196)
    8. org.apache.tools.ant.Main.main(Main.java:235)
    8 frames