1 Reply Latest reply: Mar 26, 2012 8:18 PM by Hitesh Patel RSS

    Contxt lookup fails for EJB call from JSP page

    kedar bhagwat Newbie

      Hi ,

       

      I have a EJB call from JSP page . But it seems that EJB doesn't get deployed as lookup fails .

      Can someone guide me on this issue ?

       

       

      javax.servlet.ServletException: java.lang.StackOverflowError
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      root cause

      java.lang.StackOverflowError
      java.lang.Thread.currentThread(Native Method)
      com.sun.naming.internal.VersionHelper12$6.run(Unknown Source)
      java.security.AccessController.doPrivileged(Native Method)
      com.sun.naming.internal.VersionHelper12.getContextClassLoader(Unknown Source)
      com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
      javax.naming.spi.NamingManager.getObjectFactoryFromReference(Unknown Source)
      javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
      org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1273)
      org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1290)
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:763)
      org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
      org.jboss.ejb3.naming.SimpleMultiplexer.createMultiplexer(SimpleMultiplexer.java:53)
      org.jboss.ejb3.naming.SimpleMultiplexer.getObjectInstance(SimpleMultiplexer.java:88)
      javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
      javax.naming.spi.NamingManager.getContext(Unknown Source)