Friday, April 27, 2012

Error untargetting and targetting again a JMSServer

We had an interesting case where WebLogic was keeping in JNDI tree a reference to a JMS Connection Factory (CF) even after untargetting the JMSServer on which the CF was deployed.
When I retarget the CF, I get this error:


An error occurred during activation of changes, please see the log for details.
Message icon - Error Error preparing connection factory GM_CommonOsbJMSModule!CommonOsbCF
Message icon - Error The proposed JNDI name "jms.jndi.cf.CommonOsb.CommonOsbCF" for connection factory "GM_CommonOsbJMSModule!CommonOsbCF" is already bound by another object of type "weblogic.jms.frontend.FEConnectionFactoryImpl_1035_WLStub"


The only solution was a server restart.

No comments: