javax.servlet.ServletException: Uh oh -- JNDI problem ! > > >         at com.solaiemes.RCS.servlet.RCSGWSipServlet.init > > > (RCSGWSipServlet.java:52) > > >         at org.apache.catalina.core.StandardWrapper.loadServlet > > > (StandardWrapper.java:1048) > > > > So, it is not able to instantiate the listener class. Is there any > > > configuration change needed? > > > > Thanks  a lot. > > > -Roberto > > > > On Dec 1, 12:44 pm, Vladimir Ralev <vladimi...@gmail.com> wrote: > > > > > The NPE comes from your code, so what on line 40 in your servlet? Also, > > > > you should use > > > > @Resource(mappedName="java:comp/env/sip/RCSGW/SipFactory") SipFactory > > > > sipFactory; > > > > > The place for RCSGW is the name of the EAR, not the name of the > > > > servlet, and thus you don't have dependencies on the servlet. > > > > > On Tue, Dec 1, 2009 at 12:46 PM, Roberto <rvaqu...@googlemail.com> > > wrote: > > > > > OK, as I said, I have created my servlet class, and included it into > > > > > the sip.xml config file. > > > > > > When the AS starts, it gives an error upon initialization of the > > > > > servlet. > > > > > > The good news is that the servlet class is found properly. But, > > > > > somehow is not successfully initialized. > > > > > > Any idea? > > > > > > Thanks a lot. > > > > > _Roberto > > > > > > 11:33:53,386 ERROR [[/RCSGW]] StandardWrapper.Throwable > > > > > java.lang.NullPointerException at com.solaiemes.RCS.servlet.RCSGWSipServlet.init > > > > > (RCSGWSipServlet.java:40) at org.apache.catalina.core.StandardWrapper.loadServlet > > > > > (StandardWrapper.java:1048) at org.apache.catalina.core.StandardWrapper.allocate > > > > > (StandardWrapper.java:777) at > > > org.mobicents.servlet.sip.core.session.SipListenersHolder.loadListeners > > > > > (SipListenersHolder.java:103) at > > org.mobicents.servlet.sip.startup.SipStandardContext.listenerStart > > > > > (SipStandardContext.java:348) at org.apache.catalina.core.StandardContext.start > > > > > (StandardContext.java:4393) at org.mobicents.servlet.sip.startup.SipStandardContext.start > > > > > (SipStandardContext.java:285) at > > > org.jboss.web.tomcat.service.deployers.TomcatConvergedDeployment.performDeployInternal > > > > > (TomcatConvergedDeployment.java:276) at > > > > > org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy > > > > > (TomcatDeployment.java:142) at org.jboss.web.deployers.AbstractWarDeployment.start > > > > > (AbstractWarDeployment.java:461) at org.jboss.sip.deployers.ConvergedSipModule.startModule > > > > > (ConvergedSipModule.java:68)

Google Groups | Roberto | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Developing a SIP application with SEAM framework

    Google Groups | 7 years ago | Roberto
    javax.servlet.ServletException: Uh oh -- JNDI problem ! > > >         at com.solaiemes.RCS.servlet.RCSGWSipServlet.init > > > (RCSGWSipServlet.java:52) > > >         at org.apache.catalina.core.StandardWrapper.loadServlet > > > (StandardWrapper.java:1048) > > > > So, it is not able to instantiate the listener class. Is there any > > > configuration change needed? > > > > Thanks  a lot. > > > -Roberto > > > > On Dec 1, 12:44 pm, Vladimir Ralev <vladimi...@gmail.com> wrote: > > > > > The NPE comes from your code, so what on line 40 in your servlet? Also, > > > > you should use > > > > @Resource(mappedName="java:comp/env/sip/RCSGW/SipFactory") SipFactory > > > > sipFactory; > > > > > The place for RCSGW is the name of the EAR, not the name of the > > > > servlet, and thus you don't have dependencies on the servlet. > > > > > On Tue, Dec 1, 2009 at 12:46 PM, Roberto <rvaqu...@googlemail.com> > > wrote: > > > > > OK, as I said, I have created my servlet class, and included it into > > > > > the sip.xml config file. > > > > > > When the AS starts, it gives an error upon initialization of the > > > > > servlet. > > > > > > The good news is that the servlet class is found properly. But, > > > > > somehow is not successfully initialized. > > > > > > Any idea? > > > > > > Thanks a lot. > > > > > _Roberto > > > > > > 11:33:53,386 ERROR [[/RCSGW]] StandardWrapper.Throwable > > > > > java.lang.NullPointerException at com.solaiemes.RCS.servlet.RCSGWSipServlet.init > > > > > (RCSGWSipServlet.java:40) at org.apache.catalina.core.StandardWrapper.loadServlet > > > > > (StandardWrapper.java:1048) at org.apache.catalina.core.StandardWrapper.allocate > > > > > (StandardWrapper.java:777) at > > > org.mobicents.servlet.sip.core.session.SipListenersHolder.loadListeners > > > > > (SipListenersHolder.java:103) at > > org.mobicents.servlet.sip.startup.SipStandardContext.listenerStart > > > > > (SipStandardContext.java:348) at org.apache.catalina.core.StandardContext.start > > > > > (StandardContext.java:4393) at org.mobicents.servlet.sip.startup.SipStandardContext.start > > > > > (SipStandardContext.java:285) at > > > org.jboss.web.tomcat.service.deployers.TomcatConvergedDeployment.performDeployInternal > > > > > (TomcatConvergedDeployment.java:276) at > > > > > org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy > > > > > (TomcatDeployment.java:142) at org.jboss.web.deployers.AbstractWarDeployment.start > > > > > (AbstractWarDeployment.java:461) at org.jboss.sip.deployers.ConvergedSipModule.startModule > > > > > (ConvergedSipModule.java:68)
  2. 0

    cxf-user - WebSphere 8.5 application deployment Exceptions

    nabble.com | 1 year ago
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization > exception created by servlet at > com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java: > 399) at > com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperI > mpl.java:168) at > com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(Ser > vletWrapper.java:1360) at > com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(Web > App.java:606) at > com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(We > bApp.java:576) at > com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java > :425) at > com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(We > bGroupImpl.java:88) at > com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostI > mpl.java:169) at > com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContaine > r.java:749) at > com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebCo > ntainer.java:634) at > com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContai > nerImpl.java:426) at > com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContai > nerImpl.java:718) at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrI > mpl.java:1173) at > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObj > ectStart(DeployedApplicationImpl.java:1370) at > com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedMod > uleImpl.java:639) at > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedA > pplicationImpl.java:968) at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applic > ationMgrImpl.java:772) at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynam > ically(ApplicationMgrImpl.java:1367) at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrI > mpl.java:2172) at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Compositio > nUnitMgrImpl.java:445) at > com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUn > itImpl.java:123) at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(Compositio > nUnitMgrImpl.java:388) at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(Com > positionUnitMgrImpl.java:116) at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(Compositi > onUnitMgrImpl.java:663) at > com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl > .java:5459) at > com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextMana > gerImpl.java:5585) at > com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.jav > a:255) at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startComposition > Unit(CompositionUnitMgrImpl.java:677) at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startComposition > Unit(CompositionUnitMgrImpl.java:621) at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applic > ationMgrImpl.java:1259)
  3. 0

    user.ode.apache.org - Re: Trying to run ODE on WAS 7 - msg#00101 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:434) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168) at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1807) at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1008) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:929) at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:608) at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:426) at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:303) at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100) at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166) at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731) at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616) at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376) at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:619) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725) at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266) at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4485) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4663) at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439) at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    user.ode.apache.org - Trying to run ODE on WAS 7 - msg#00094 - Recent Discussion OSDir.com

    osdir.com | 2 years ago
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:434) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168) at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1807) at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1008) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:929) at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:608) at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:426) at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:303) at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100) at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166) at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731) at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616) at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376) at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:619) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725) at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266) at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4485) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4663) at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439) at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)
  6. 0

    Re: Trying to run ODE on WAS 7

    apache.org | 1 year ago
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:434) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168) at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1807) at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:98) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:1008) at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:929) at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:608) at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:426) at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:303) at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100) at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166) at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731) at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616) at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376) at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1315) at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:619) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:940) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725) at com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1266) at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4485) at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4663) at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1271) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2043) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439) at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:653) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:615)

    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.servlet.ServletException

      Uh oh -- JNDI problem ! > > >         at com.solaiemes.RCS.servlet.RCSGWSipServlet.init > > > (RCSGWSipServlet.java:52) > > >         at org.apache.catalina.core.StandardWrapper.loadServlet > > > (StandardWrapper.java:1048) > > > > So, it is not able to instantiate the listener class. Is there any > > > configuration change needed? > > > > Thanks  a lot. > > > -Roberto > > > > On Dec 1, 12:44 pm, Vladimir Ralev <vladimi...@gmail.com> wrote: > > > > > The NPE comes from your code, so what on line 40 in your servlet? Also, > > > > you should use > > > > @Resource(mappedName="java:comp/env/sip/RCSGW/SipFactory") SipFactory > > > > sipFactory; > > > > > The place for RCSGW is the name of the EAR, not the name of the > > > > servlet, and thus you don't have dependencies on the servlet. > > > > > On Tue, Dec 1, 2009 at 12:46 PM, Roberto <rvaqu...@googlemail.com> > > wrote: > > > > > OK, as I said, I have created my servlet class, and included it into > > > > > the sip.xml config file. > > > > > > When the AS starts, it gives an error upon initialization of the > > > > > servlet. > > > > > > The good news is that the servlet class is found properly. But, > > > > > somehow is not successfully initialized. > > > > > > Any idea? > > > > > > Thanks a lot. > > > > > _Roberto > > > > > > 11:33:53,386 ERROR [[/RCSGW]] StandardWrapper.Throwable > > > > > java.lang.NullPointerException at com.solaiemes.RCS.servlet.RCSGWSipServlet.init > > > > > (RCSGWSipServlet.java:40) at org.apache.catalina.core.StandardWrapper.loadServlet > > > > > (StandardWrapper.java:1048) at org.apache.catalina.core.StandardWrapper.allocate > > > > > (StandardWrapper.java:777) at > > > org.mobicents.servlet.sip.core.session.SipListenersHolder.loadListeners > > > > > (SipListenersHolder.java:103) at > > org.mobicents.servlet.sip.startup.SipStandardContext.listenerStart > > > > > (SipStandardContext.java:348) at org.apache.catalina.core.StandardContext.start > > > > > (StandardContext.java:4393) at org.mobicents.servlet.sip.startup.SipStandardContext.start > > > > > (SipStandardContext.java:285) at > > > org.jboss.web.tomcat.service.deployers.TomcatConvergedDeployment.performDeployInternal > > > > > (TomcatConvergedDeployment.java:276) at > > > > > org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy > > > > > (TomcatDeployment.java:142) at org.jboss.web.deployers.AbstractWarDeployment.start > > > > > (AbstractWarDeployment.java:461) at org.jboss.sip.deployers.ConvergedSipModule.startModule > > > > > (ConvergedSipModule.java:68)

      at org.jboss.web.deployers.WebModule.start()
    2. JBoss Application Server Server
      WebModule.start
      1. org.jboss.web.deployers.WebModule.start(WebModule.java:97)
      1 frame
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame