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

talendforge.org | 4 months ago
  1. 0

    [resolved] How to retrieve datasource with it's JNDI name in Talend Route? (Page 1) / ESB - Product usage, architecture, user scenarios, suggestions & feedback / Talend Community Forum

    talendforge.org | 4 months 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
  2. 0

    Caused by: javax.naming.NoInitialContextException using jre 1.7.45

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

    jboss ejb-client exmaple: Exception in thread "main" javax.naming.NoInitialContextException:

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

    Generating tables from entities

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

    Stack Overflow | 2 years ago | Aristos Mouko
    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(Unknown Source)
    2. javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    3. javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
    4. javax.naming.InitialContext.lookup(Unknown Source)
    4 frames
  3. test_datasource.mysqljob_0_1
    mysqljob.runJobInTOS
    1. test_datasource.mysqljob_0_1.mysqljob.tJava_1Process(mysqljob.java:737)
    2. test_datasource.mysqljob_0_1.mysqljob.tPostgresqlConnection_1Process(mysqljob.java:663)
    3. test_datasource.mysqljob_0_1.mysqljob.tPrejob_1Process(mysqljob.java:528)
    4. test_datasource.mysqljob_0_1.mysqljob.runJobInTOS(mysqljob.java:2152)
    4 frames
  4. org.talend.camel
    TalendProducer.process
    1. org.talend.camel.TalendProducer.invokeTalendJob(TalendProducer.java:109)
    2. org.talend.camel.TalendProducer.process(TalendProducer.java:65)
    2 frames
  5. Camel :: Core
    CamelInternalProcessor.process
    1. org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
    2. org.apache.camel.processor.SendProcessor.process(SendProcessor.java:129)
    3. org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
    4. org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:448)
    5. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
    6. org.apache.camel.processor.Pipeline.process(Pipeline.java:118)
    7. org.apache.camel.processor.Pipeline.process(Pipeline.java:80)
    8. org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)
    8 frames
  6. Camel :: Jetty
    CamelContinuationServlet.service
    1. org.apache.camel.component.jetty.CamelContinuationServlet.service(CamelContinuationServlet.java:162)
    1 frame
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    1 frame
  8. Jetty
    MultiPartFilter.doFilter
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
    2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
    3. org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:146)
    3 frames
  9. Camel :: Jetty
    CamelFilterWrapper.doFilter
    1. org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43)
    1 frame
  10. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    9. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    10. org.eclipse.jetty.server.Server.handle(Server.java:497)
    11. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    12. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    13. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    14. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    15. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    15 frames
  11. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame