Date Created: Sun 05-Apr-2009

Related Document Categories:


    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)

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

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

Oracle WebLogic Categories

JBoss Categories

Other Categories