1 Reply Latest reply on Sep 30, 2007 5:23 AM by Tim Fox

    Error setting up client lease upon performing connect

    Craig William Newbie

      We are using JBoss Messaging 1.0.1.GA(Prod env not upgradabale for time being)

      http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985830#3985830

      We are getting the same problem as specified in the above link.
      But in our case we did not anything with JBoss server.
      There are almost 30 machines which are using Messaging to communicate with central system.

      Suddenly in some of the machines we got following exception....

      INFO 2007-Sep-16 05:56:20 [TestScheduler_Worker-2] ConnectionForReceiver : Connection to MOM is going to be created for receiver
      ERROR 2007-Sep-16 05:56:46 [TestScheduler_Worker-2] MessageReceiver : Exception Occured
      Exception Cause --> org.jboss.jms.client.container.ExceptionInterceptor(javax.jms.IllegalStateException: Error setting up client lease upon performing connect.)
      Exception Cause --> org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404(javax.jms.IllegalStateException: Error setting up client lease upon performing connect.)
      Exception Cause --> org.jboss.jms.client.container.ClientLogInterceptor(javax.jms.IllegalStateException: Error setting up client lease upon performing connect.)
      Exception Cause --> org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N6840474864420126404(javax.jms.IllegalStateException: Error setting up client lease upon performing connect.)
      Exception Cause --> org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate(javax.jms.IllegalStateException: Error setting up client lease upon performing connect.)
      Exception Cause --> org.jboss.jms.client.JBossConnectionFactory(javax.jms.IllegalStateException: Error setting up client lease upon performing connect.)
      Exception Cause --> org.jboss.jms.client.JBossConnectionFactory(javax.jms.IllegalStateException: Error setting up client lease upon performing connect.)
      #####################################################################################################
      Messaging Code Related Exceptions
      Exception Occured
      Exception Cause --> javax.jms.IllegalStateException: Error setting up client lease upon performing connect.
      File Name : ConnectionForReceiver.java
      Class Name : com.tcs.retail.framework.messaging.lookup.ConnectionForReceiver
      Method Name : getConnection
      Line No : 30
      
      #####################################################################################################
      
      



      Just wannna know which are the other condition in which this type of exception would come.
      This is very major problem, as we cud not able to proceed any further....

      we have stop all the receiver and then againa restart the server and whole messaging process at every machine which is very cumbersome.....

      In all receiver we have implemented onException and we have also used System.exit(0) explicitly within that method