After attempting a switch from 4.0.1sp1 to 4.0.2, all stateless session beans 
containing a local client ref to other stateless session beans in a circular 
chain (e.g. BeanA has a local ref to BeanB, which has a local ref to BeanC, 
which has a local ref to BeanA), fail in the first bean's ejbCreate method.

Execution enters BeanA's ejbCreate method, which creates a local ref to BeanB. 
In BeanB's ejbCreate method, it creates a local ref to BeanC. In BeanC's 
ejbCreate method, it creates a local ref back to BeanA. 

**A NEW instance of BeanA is created and it's ejbCreate is called, and the 
cycle continues until a StackOverflowError occurs.

After reading the release notes and suspecting web classloader issues, we 
changed 
[JBOSS_HOME]/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml:

Java2ClassLoadingCompliance to true and UseJBossWebLoader to true

When this did not solve the problem, we completely ripped out the web portion 
of our app and just ran with a single (exploded) ear containing a single ejb 
jar and still had the same problem (we have a rich (Swing) client as well).

Wondering if something had changed with support for exploded deployments, we 
packaged up our deployment and still had the same problem.

I am hoping that this is just something we have missed with the upgrade... we 
have tried to be careful about configuring the new version of jboss but we 
could have missed something.

Thanks.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to