jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes EJB method is executed twice. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB method is executed twice." Watch "EJB method is executed twice." New topic
Author

EJB method is executed twice.

Balaji Munuswamy
Ranch Hand

Joined: Apr 07, 2002
Posts: 37
Hi,

We are using Weblogic 7.0 and we have clustered servers. When we doing longevity test, I noticed that my EJB method is called twice (log statements are printed twice in 10min gap). Same time the EJB method called first time taking more time to complete the execution. Can you give some tip, why I am getting this problem? I want to know, whether it is related to ������Replication and Failover������in cluster environment.

In weblogic-ejb-jar.xml we mentioned the EJB has

<stateless-clustering>
<stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
</stateless-clustering>

Ejb we are using is a stateless session bean.

Thanks,
Balaji.M
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Balaji,

Welcome to JavaRanch.

Unfortunately your name violates our naming policy. Please take a quick look at the rules and edit your profile accordingly.

Thank you!


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB method is executed twice.
 
Similar Threads
append a batch file
JNDI/Deployment Error WLS 7
BMP Deployment descriptors
war can't find local ejb -
calling local bean