Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB method is executed twice.

 
Balaji Munuswamy
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic