OW2 Consortium joram

Compare Revisions

Ignore whitespace Rev 6433 → Rev 6434

/trunk/joram/joram/mom/extensions/jmsbridge/src/main/java/org/objectweb/joram/mom/dest/jms/JMSModule.java
311,7 → 311,7
}
} catch (JMSException exc) {
if (logger.isLoggable(BasicLevel.WARN)) {
logger.log(BasicLevel.WARN, "Connection failed", exc);
logger.log(BasicLevel.WARN, "Connection " + name + " failed", exc);
}
if (cnx != null) {
try {
398,6 → 398,10
}
try {
doConnect();
if (logmon.isLoggable(BasicLevel.INFO)) {
logmon.log(BasicLevel.INFO,
"StartupDaemon: " + name + " connected using " + cnxFactName + " ConnectionFactory.");
}
} catch (AbstractMethodError exc) {
notUsable = true;
notUsableMessage = "Retrieved administered objects types not "
549,17 → 553,17
cnxFact = (ConnectionFactory) retrieveJndiObject(cnxFactName);
}
doConnect();
 
if (logmon.isLoggable(BasicLevel.INFO)) {
logmon.log(BasicLevel.INFO,
"ReconnectionDaemon: " + name + " connected using " + cnxFactName + " ConnectionFactory.");
}
} catch (Exception exc) {
if (logmon.isLoggable(BasicLevel.DEBUG)) {
logmon.log(BasicLevel.DEBUG, "ReconnectionDaemon: connection failed, continue... " + exc.getMessage());
logmon.log(BasicLevel.DEBUG, "ReconnectionDaemon: connection " + name + " failed, continue... " + exc.getMessage());
}
// TODO (AF): May be we have to get anew the ConnectionFactory
continue;
}
 
if (logmon.isLoggable(BasicLevel.DEBUG)) {
logmon.log(BasicLevel.DEBUG, "ReconnectionDaemon: Connected using " + cnxFactName + " connection factory.");
}
break;
}
} finally {