2 Replies Latest reply on Jun 26, 2003 5:19 AM by Pierre Thorey

    Dead lock when receiving message from a topic

    Pierre Thorey Newbie

      Hi all,
      i got a weird problem that looks like this :
      http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= have two stateful beans that have subscribed to a topic. An other bean posted a message on the topic. And sometimes (about 1 of 100 executions) , one of the two beans doesn't receive the message.

      I change the version of jbossmq.jar. (I used jboss3.0.3 and put in lib the jbossmq.jar of the jboss3.0.7 ... )
      Then the problem was solved in my development environment.
      Following that I put the new version of the jar in exploitation environment. But it didn't solve the problem. I have checked for difference between both environment, and i find that the environment variable JAVA_HOME was not defined and as a consequence tools.jar (provided by the jdk) was not put in the CLASSPATH. Once i have defined JAVA_HOME, the problem was solved. (definitely i hope)

      Does someone see a link between the non use of tools.jar and the dead lock ?



      PS : I use jdk1.3.1-5 on HP Tru64 Unix