Even with the use of remote EJBs, WebLogic will default to call by reference on all calls made within the same JVM. This behavior can be explicitly controlled in the weblogic-ejb-jar.xml with the enable-call-by-reference tag.
Joined: Jul 18, 2001
Sameer , Thanks for joining JavaRanch, but could you take a quick look at the naming policy and edit your profile accordingly. Repeatedly failing to comply with the naming policy risks having your account locked.
I know this is an old thread, but I'm just getting started with WebLogic. When running appc, I get the BEA-010202 warning that call-by-reference is not enabled for my ejb. So I add <enable-call-by-reference>true</enable-call-by-reference> to my weblogic-ejb-jar.xml and now appc barfs with "the contents of element type weblogic-enterprise-bean must match yada yada", in which enable-call-by-reference is included. <weblogic-ejb-jar> <weblogic-enterprise-bean> <ejb-name>XYZ</ejb-name> <jndi-name>xyz-home</jndi-name> <enable-call-by-reference>true</enable-call-by-reference> </weblogic-enterprise-bean> </weblogic-ejb-jar> Using WL Server 8.1.1 on Windows 2000.