[esb-issues] [JBoss JIRA] Created: (JBESB-2493) JmsConnectionPool swallows NamingException

Jiri Pechanec (JIRA) jira-events at lists.jboss.org
Mon Mar 30 04:05:23 EDT 2009


JmsConnectionPool swallows NamingException
------------------------------------------

                 Key: JBESB-2493
                 URL: https://jira.jboss.org/jira/browse/JBESB-2493
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.4 CP2
            Reporter: Jiri Pechanec
            Assignee: Kevin Conner


See the following code

                try
                {
                    factoryConnection = jndiContext.lookup(connectionFactoryString);
                } catch (NamingException ne) {
                    logger.info("Received NamingException, refreshing context.");
                    jndiContext = NamingContextPool.replaceNamingContext(jndiContext, JmsConnectionPoolContainer.getJndiEnvironment(poolKey));
                    factoryConnection = jndiContext.lookup(connectionFactoryString);
                }

If the exception is thrown it is not logged and there is no way to identify the reason of error

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list