java.lang.InstantiationException: javax.naming.spi.ObjectFactory

Oracle Community | j2eestruts | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Lookup serial context communication

    Oracle Community | 7 years ago | j2eestruts
    java.lang.InstantiationException: javax.naming.spi.ObjectFactory
  2. 0

    Problem of TimedObject in AppServer 9

    Oracle Community | 1 decade ago | 843833
    java.lang.InstantiationException: javax.naming.spi.ObjectFactory

    Root Cause Analysis

    1. java.lang.InstantiationException

      javax.naming.spi.ObjectFactory

      at java.lang.Class.newInstance0()
    2. Java RT
      NamingManager.getObjectInstance
      1. java.lang.Class.newInstance0(Class.java:340)
      2. java.lang.Class.newInstance(Class.java:308)
      3. javax.naming.spi.NamingManager.getObjectFactoryFromReference(NamingManager.java:146)
      4. javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:302)
      4 frames
    3. Glassfish Naming
      SerialContext.lookup
      1. com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:414)
      1 frame
    4. Java RT
      InitialContext.lookup
      1. javax.naming.InitialContext.lookup(InitialContext.java:392)
      1 frame
    5. action
      PrepareCustomerAction.execute
      1. action.PrepareCustomerAction.execute(PrepareCustomerAction.java:48)
      1 frame
    6. Struts Core
      ActionCommandBase.execute
      1. org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
      2. org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
      3. org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
      3 frames
    7. Commons Chain
      ChainBase.execute
      1. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
      2. org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
      3. org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
      3 frames
    8. Struts Core
      ComposableRequestProcessor.process
      1. org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
      1 frame
    9. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
      2 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      2 frames
    11. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
      3. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      6. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      6 frames
    12. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
      2 frames
    13. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
      6. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
      7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
      9. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
      10. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
      10 frames
    14. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
      1 frame
    15. Glassfish Core
      TaskBase.run
      1. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
      2. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
      3. com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
      4. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
      5. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
      6. com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
      7. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
      7 frames
    16. Grizzly HTTP
      SSLWorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
      1 frame