Hi Michael, Plamen,
Probably WebLogic does not allow external code to create a connection
consumer (you can check with WebLogic support). From a GRA perspective
you could try the synchronous mode in Generic RA 2.0 [1] which was
implemented specifically for these kind of situations.
You can pick up GRA 2.0 from [2].
Let me know if you have any questions/issues during the integration.
Thanks
-Ramesh
[1]
http://weblogs.java.net/blog/rampsarathy/archive/2008/09/generic_jms_ra.html
[2]
https://genericjmsra.dev.java.net/servlets/ProjectDocumentList?folderID=10248&expandFolder=10248&folderID=7432
Plamen Todorov wrote:
> Michael, did you find a solution or a workaround of this problem? I have
> exactly the same issue integrating JBoss and WebLogic JMS, so I suspect this
> is something on the WebLogic side but I have been unable to figure out what
> it is.
>
>
> Michael G. Martin wrote:
>
>> I've been trying to get an MDB deployed in Glassfish ( 9.1.1 (build
>> b54-fcs) ) to connect to a topic running in Weblogic ( 10.3.0.0 ) using
>> the generic resource adapter.
>>
>> Everything appears to resolve fine, however an exception is thrown:
>>
>> Caused by: weblogic.jms.common.IllegalStateException:
>> [JMSClientExceptions:055084]A connection consumer only works on the server
>> at
>> weblogic.jms.client.JMSConnection.createConnectionConsumer(JMSConnection.java:806)
>> at
>> weblogic.jms.client.JMSConnection.createConnectionConsumer(JMSConnection.java:419)
>> at
>> weblogic.jms.client.WLConnectionImpl.createConnectionConsumer(WLConnectionImpl.java:876)
>> at
>> com.sun.genericra.inbound.async.InboundJmsResourcePool.createConnectionConsumer(InboundJmsResourcePool.java:121)
>> at
>> com.sun.genericra.inbound.async.EndpointConsumer._start(EndpointConsumer.java:116)
>> ... 19 more
>>
>>
>>
>
>