cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-404) Logging of failure to activate a JMS destination is too low at level fine. It should be error
Date Fri, 09 Feb 2007 06:00:12 GMT

     [ https://issues.apache.org/jira/browse/CXF-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved CXF-404.
------------------------------

    Resolution: Fixed

> Logging of failure to activate a JMS destination is too low at level fine. It should
be error
> ---------------------------------------------------------------------------------------------
>
>                 Key: CXF-404
>                 URL: https://issues.apache.org/jira/browse/CXF-404
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.0-M1
>            Reporter: Gary Tully
>         Assigned To: Freeman Fang
>            Priority: Minor
>
> A JMS destination/endpoint that is badly configured gets a silent failure and nothing
is logged unless level is > FINE. This needs to be flagged as an error in the log. In addition,
why is the exception swallowed here?
> From JMSDestination:activate(..)
>         try {
>             getLogger().log(Level.FINE, "establishing JMS connection");
>             JMSProviderHub.connect(base, config);
>             //Get a non-pooled session. 
>             listenerSession = base.sessionFactory.get(base.targetDestination);
>             listenerThread = new JMSListenerThread(listenerSession);
>             listenerThread.start();
>         } catch (JMSException ex) {
>             getLogger().log(Level.FINE, "JMS connect failed with JMSException : ", ex);
>         } catch (NamingException nex) {
>             getLogger().log(Level.FINE, "JMS connect failed with NamingException : ",
nex);
>         }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message