File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

EJB method is executed twice.

Balaji Munuswamy
Ranch Hand

Joined: Apr 07, 2002
Posts: 37

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


Ejb we are using is a stateless session bean.

Ajith Kallambella

Joined: Mar 17, 2000
Posts: 5782

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:
subject: EJB method is executed twice.
It's not a secret anymore!