Here's what I do when I encounter an exception via the
onException(JMSException) method :
| if (jndiContext != null) {
| try {
| logger.debug(Closing JNDI InitialContext.);
| jndiContext.close();
|
would u mind sending a code snippet. I tried the closing the initial context
but no success.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877248#3877248
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877248
Ok found it !
I looks like I had to close the Initialcontext first.
Works nicely now.
cya
Henk
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3873220#3873220
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873220