Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error with EJB Lookup from jsp for jboss/eclipse  RSS feed

 
Kedarnath Bhagwat
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I got a working code from production .But when I tried to setup my workspace with it and run it , I get below error for EJB Lookup from JSP Page.
The code looks correct (and infact it runs is prod) for web.xml,jboss-web.xml and jsp which calls EJB .
Am I missing anything as I get below error ?

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.security.AccessController.doPrivileged(Native Method)
com.sun.naming.internal.VersionHelper12.getContextClassLoader(Unknown Source)
com.sun.naming.internal.ResourceManager.getFactory(Unknown Source)
javax.naming.spi.NamingManager.getURLObject(Unknown Source)
javax.naming.spi.NamingManager.getURLContext(Unknown Source)
javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
javax.naming.InitialContext.lookup(Unknown Source)
org.jboss.ejb3.naming.SimpleMultiplexer.getObjectInstance(SimpleMultiplexer.java:85)
javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
javax.naming.spi.NamingManager.getContext(Unknown Source)
javax.naming.spi.ContinuationContext.getTargetContext(Unknown Source)
javax.naming.spi.NamingManager.getContinuationContext(Unknown Source)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:773)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
javax.naming.InitialContext.lookup(Unknown Source)
org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1209)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:758)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
javax.naming.InitialContext.lookup(Unknown Source)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!