Date Created: Sun 05-Apr-2009

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


com.ibm.ws.sib.api.jms.impl.JmsManagedConnectionFactoryImpl incompatible with javax.jms.QueueConnectionFactory

Problem:
com.ibm.ws.sib.api.jms.impl.JmsManagedConnectionFactoryImpl incompatible with javax.jms.QueueConnectionFactory

----------------------------------------
Solution:
Reason is you are using a Queue Connection Factory mwethod in your java code but have a only created a Connection Factory within a SIB. You need to create a QueueConnectionFactory not a ConnectionFactory.

---------------------------------------

[05/04/09 12:55:48:203 BST] 00000028 SystemOut O Getting QCF
[05/04/09 12:55:48:218 BST] 00000028 SystemOut O com.ibm.ws.sib.api.jms.impl.JmsManagedConnectionFactoryImpl incompatible with javax.jms.QueueConnectionFactory
[05/04/09 12:55:48:218 BST] 00000028 SystemOut O com.ibm.ws.sib.api.jms.impl.JmsManagedConnectionFactoryImpl incompatible with javax.jms.QueueConnectionFactory
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R java.lang.ClassCastException: com.ibm.ws.sib.api.jms.impl.JmsManagedConnectionFactoryImpl incompatible with javax.jms.QueueConnectionFactory
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.packtpub.com.putMessage.putMessage(putMessage.java:103)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.packtpub.com.putMessage.doGet(putMessage.java:87)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
[05/04/09 12:55:48:218 BST] 00000028 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories