[jboss-cvs] JBossAS SVN: r66621 - branches/JBPAPP_4_2/ejb3/src/main/org/jboss/ejb3/mdb.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 31 14:18:56 EDT 2007


Author: wolfc
Date: 2007-10-31 14:18:56 -0400 (Wed, 31 Oct 2007)
New Revision: 66621

Modified:
   branches/JBPAPP_4_2/ejb3/src/main/org/jboss/ejb3/mdb/ProducerFactory.java
Log:
Extra logging

Modified: branches/JBPAPP_4_2/ejb3/src/main/org/jboss/ejb3/mdb/ProducerFactory.java
===================================================================
--- branches/JBPAPP_4_2/ejb3/src/main/org/jboss/ejb3/mdb/ProducerFactory.java	2007-10-31 18:11:17 UTC (rev 66620)
+++ branches/JBPAPP_4_2/ejb3/src/main/org/jboss/ejb3/mdb/ProducerFactory.java	2007-10-31 18:18:56 UTC (rev 66621)
@@ -147,6 +147,14 @@
 
    public void stop() throws Exception
    {
-      Util.unbind(ctx, jndiName);
+      try
+      {
+         Util.unbind(ctx, jndiName);
+      }
+      catch(NamingException e)
+      {
+         log.warn("Unable to unbind " + jndiName);
+         throw e;
+      }
    }
 }




More information about the jboss-cvs-commits mailing list