Author: senaka
Date: Wed Sep 22 15:36:29 2010
New Revision: 1000042
URL: http://svn.apache.org/viewvc?rev=1000042&view=rev
Log:
Applying patch for WSCOMMONS-523. Thanks Rajika
Modified:
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSOutTransportInfo.java
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
Modified:
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSOutTransportInfo.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSOutTransportInfo.java?rev=1000042&r1=1000041&r2=1000042&view=diff
==============================================================================
---
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSOutTransportInfo.java
(original)
+++
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSOutTransportInfo.java
Wed Sep 22 15:36:29 2010
@@ -171,7 +171,7 @@ public class JMSOutTransportInfo impleme
return JMSUtils.lookupDestination(context, destinationName,
destinationType);
} catch (NamingException e) {
handleException("Couldn't locate the JMS destination " +
destinationName
- + " of type " + destinationType + " extracted from the URL
" + url);
+ + " of type " + destinationType + " extracted from the URL
" + url, e);
}
// never executes but keeps the compiler happy
@@ -196,7 +196,7 @@ public class JMSOutTransportInfo impleme
return JMSUtils.lookupDestination(context, replyDestinationName,
replyDestinationType);
} catch (NamingException e) {
handleException("Couldn't locate the JMS destination " +
replyDestinationName
- + " of type " + replyDestinationType + " extracted from
the URL " + url);
+ + " of type " + replyDestinationType + " extracted from
the URL " + url, e);
}
// never executes but keeps the compiler happy
@@ -219,7 +219,7 @@ public class JMSOutTransportInfo impleme
jmsConnectionFactory.getContext(), replyDest,
replyDestinationType);
} catch (NamingException e) {
handleException("Couldn't locate the JMS destination " + replyDest
- + " of type " + replyDestinationType);
+ + " of type " + replyDestinationType, e);
}
// never executes but keeps the compiler happy
Modified:
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java?rev=1000042&r1=1000041&r2=1000042&view=diff
==============================================================================
---
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
(original)
+++
axis/axis2/java/transports/trunk/modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
Wed Sep 22 15:36:29 2010
@@ -194,7 +194,7 @@ public class JMSUtils extends BaseUtils
// create temporary queue to receive the reply
replyDestination = createTemporaryDestination(session);
} catch (JMSException e) {
- handleException("Error creating temporary queue for response");
+ handleException("Error creating temporary queue for response",
e);
}
}