1 Reply Latest reply on May 12, 2003 8:55 AM by Adrian Brock

    Re-establishing connection in onException

    Lea Thurman Newbie

      All,

      I am having difficulty re-establishing connection in the onException callback using JBoss-3.0.4.

      All the resources I have looked at imply that I can simply use the same queueConnectionFactory from JNP and obtain a new QueueConnection, Queue(?), Session, Producer.

      However if I bounce JBoss I get a null queue, even though it is bound. No JNDI exception is raised. Note I am fetching the queue again which may be a redundant call.

      I am assuming the problem lies with my initialContext as we are using a ServiceLocator which still has a reference to the old initialContext.

      Any help is much appreciated.

      Lea.