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

Oracle Community | sopanenmp | 5 years ago
  1. 0

    Webstart EJB JNDI lookup fails

    Oracle Community | 5 years ago | sopanenmp
    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

    jta-data-source breaks generation

    GitHub | 2 years ago | rkorn86
    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

    Configuration JUnit 4 in Spring + eclipse

    Stack Overflow | 3 years ago | kiduxa
    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

    Running HornetQ as standalone server example

    Stack Overflow | 5 years ago | steve
    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

    Junit/Spring/Hibernate: How to specify an out of container datasource for Hibernate Session in Unit tests

    Stack Overflow | 3 years ago | David Williams
    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:662)
    2. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
    3. javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:344)
    4. javax.naming.InitialContext.lookup(InitialContext.java:411)
    4 frames
  3. fi.mps.webstart
    MyApp.main
    1. fi.mps.webstart.webstart.MyApp.main(MyApp.java:33)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  5. com.sun.javaws
    Launcher.run
    1. com.sun.javaws.Launcher.executeApplication(Unknown Source)
    2. com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    3. com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    4. com.sun.javaws.Launcher.run(Unknown Source)
    4 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:722)
    1 frame