Hi,

I'm writing a trivial JSF webapp to test using EJB3 for a business logic and 
persistence layer.  I'm using JBoss 4.0.4.GA installed with EJB3 support on 
Intel OS X.  NetBeans 5.5 beta is helping me build the code, and it's roughly 
based in part on the trailblazer app.

Basically on my call to lookup the bean:
return (calctest.ejb.CalculatorRemote) 
c.lookup("java:comp/env/ejb/CalculatorBean");

It throws a number of exceptions.  Seems like the root cause is a stack 
overflow:
<snip>
  | Caused by: java.lang.StackOverflowError
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at 
com.sun.naming.internal.VersionHelper12.getJndiProperties(VersionHelper12.java:85)
  |         at 
com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceManager.java:138)
  |         at javax.naming.InitialContext.init(InitialContext.java:219)
  |         at javax.naming.InitialContext.<init>(InitialContext.java:197)
  |         at 
org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | <snip>
  | 

I've seen some other posts related to stack overflows but none seem to address 
this.  Can anybody give me a clue where to start to look to troubleshoot this?  
What else can I post that would be helpful.

Thanks much in advance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945404#3945404

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945404


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to