Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exception while sending a JMS message

22 views
Skip to first unread message

nevil...@yahoo.com

unread,
Feb 6, 2008, 12:06:26 PM2/6/08
to
I am running a WAS 6.0.2.17(on z/Linux) on one side and WAS 6.0.2(on windows) on the other side. <br />
I have configured 2 buses on both sides, connected through a SI Bus link, created Queue destinations, and JMS resources, incld. Connection factory and activation spec.<br />
To test the connection I installed the Universal Test Client application on the 6.0.2.17 box at first. When I send a message through Utilities &gt; send JMS message, it returns ...<br />
<br />
java.lang.ClassCastException: com.ibm.ws.sib.api.jms.impl.JmsManagedConnectionFactoryImpl<br />
at com.ibm.rmi.javax.rmi.PortableRemoteObject.getObjectImpl(PortableRemoteObject.java:619)<br />
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:340)<br />
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:157)<br />
at com.ibm.etools.utc.servlet.UtilityServlet.postToQueue(UtilityServlet.java:138)<br />
at com.ibm.etools.utc.servlet.UtilityServlet.doPost(UtilityServlet.java:287)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br />
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)<br />
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)<br />
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)<br />
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)<br />
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:109)<br />
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)<br />
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)<br />
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)<br />
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)<br />
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)<br />
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)<br />
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)<br />
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)<br />
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039

Stephen Cocks

unread,
Feb 6, 2008, 12:32:27 PM2/6/08
to
I suspect the UTC Utility (somewhat unreasonably) requires a Queue
Connection Factory and not a Connection Factory
You can't cast a CF to a QCF (which I suspect is what the UTC is trying to
do and hence the exception)

--
Stephen Cocks
WESB/WPS System Administration

<nevil...@yahoo.com> wrote in message
news:443037376.1202317617...@ltsgwas009.sby.ibm.com...

nevil...@yahoo.com

unread,
Feb 6, 2008, 2:00:59 PM2/6/08
to
Never mind, issue resolved. Had defined the resource as Connection Factory and not Queue Connection Factory.

nevil...@yahoo.com

unread,
Feb 8, 2008, 9:21:40 AM2/8/08
to
Thanks, Stephen.
0 new messages