users@genericjmsra.java.net

Re: GenericJMSRA problems configuration for AQ conecction.

From: Shailesh Kini <crazy4ujava_at_yahoo.com>
Date: Thu, 13 Dec 2007 08:57:16 -0800 (PST)

Hi Ramesh,

I was able to successfully get Oracle AQ to work with genericjmsra through
"jndi" as the ProviderIntegrationMode. I am working on some test cases and
will let you know if I run into any issues. I have enabled XA and Oracle AQ
requires the DeliverType=Synchronous property set.

Thank you very much for your help.

Regards,
Shailesh
 

Shailesh Kini wrote:
>
> Hi Ramesh,
>
> Appreciate your suggestion. I am currently working on adding
> OracleObjectBuilder to the gra 2.0. Will let you know if I have any
> questions.
>
> Thanks
> Shailesh
>
>
> Ramesh Parthasarathy wrote:
>>
>> Hi Shailesh,
>> Iam not sure if XA support is available in the oracle aq rar which you
>> got from oracleaq.dev.java.net. My information could be dated, but
>> Laurent can provide more information regarding the status of the project.
>>
>> The synchronous inbound support with XA transactions was introduced in
>> GRA 2.0 to support provides like Oracle AQ (which do not implement
>> Chapter 8 of JMS 1.1 spec) . Now, the only remaining problem for GRA 2.0
>> to be used with Oracle AQ is the custom ObjectBuilder that is required
>> by Oracle AQ (that is implemented in oracleaq.dev.java.net). And since
>> generic ra is supposed to be *generic* to all MQ providers, it would be
>> unfair to put in a provider specific functionality (like the object
>> builder) into it.
>> You could always take the gra 2.0 sources and add the
>> OracleObjectBuilder support to it and build your own rar.
>>
>> Let us know if your have any issues/queries
>> Thanks
>> -Ramesh
>>
>>
>>
>>
>> Shailesh Kini wrote On 11/26/07 17:01,:
>>> Hi Siva,
>>>
>>> Thank you for your prompt response. I contacted Laurent regarding AQ
>>> integration with Glassfish. I am using the rar file from
>>> oracleaq.dev.java.net project. I was able to successfully use it in non
>>> XA
>>> transaction, however I am encountering lots of issues with XA
>>> transactions.
>>> XA is required for our project as it ensures that the messages queued
>>> are
>>> not dequeued on failure on the MDB side.
>>>
>>> I read somewhere on the genericjmsra project website that the 2.0
>>> version
>>> now supports AQ etc... so I was curious to find out if the jndi mode
>>> works
>>> with AQ, especially XA.
>>>
>>> Thanks to you and Ramesh.
>>>
>>> Best Regards,
>>> Shailesh
>>>
>>> Sivakumar Thyagarajan wrote:
>>>
>>>>Hi Shailesh
>>>>
>>>>Laurent Sauvage maintains a modified version of Generic RA for Oracle AQ
>>>>at
>>>>https://oracleaq.dev.java.net/. He also had similar discussion earlier
in
>>>>this
>>>>list. http://www.nabble.com/Re:-Oracle-AQ-JMS-connector-t3752090.html
>>>>
>>>>Please see his https://oracleaq.dev.java.net/userguide.html for more
>>>>information. I don't how up-to-date [wrt changes in Generic RA is] the
>>>>oracleaq
>>>>project at java.net is, but you might want to check out that project.
>>>>Laurent
>>>>basically uses AQJMSFactory to create the CFs through
>>>>https://oracleaq.dev.java.net/source/browse/oracleaq/src/src/java/com/sun/genericra/util/OracleObjectBuilder.java?rev=1.1.1.1&view=markup
>>>>
>>>>Ramesh also earlier mentioned that synchronous inbound mode in Generic
RA
>>>>2.0
>>>>would help during AQ integration as well
>>>>http://www.nabble.com/OracleAQ-resource-adapter-with-WebSphere-ESB-tf4550464.html#a12985891
>>>>
>>>>Thanks
>>>>--Siva.
>>>>
>>>>Ramesh Parthasarathy wrote:
>>>>
>>>>>Hi Shailesh,
>>>>> Generic JMS RA has an object builder which can build administered JMS
>>>>>objects from JNDI as well as reflection (javebean).
>>>>>
>>>>>But AFAIK Oracle AQ does not support object creation through any of
>>>>>these, AQ objects can be created only using the AQJMSFActory.
>>>>>This means that the existing generic jms ra object builder has to be
>>>>>enhanced to support this AQ specific way..,
>>>>>This needs to be developed and tested..
>>>>>
>>>>>Thanks
>>>>>-Ramesh
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>Shailesh Kini wrote On 11/21/07 17:35,:
>>>>>
>>>>>>Any pointers on how to setup JNDI integration mode with Oracle AQ and
>>>>>>glassfish?
>>>>>>
>>>>>>
>>>>>>Ramesh Parthasarathy wrote:
>>>>>>
>>>>>>
>>>>>>>Hi Fredy,
>>>>>>> ASFAIK the best way (could be the only way :-() to create the
>>>>>>> Oracle
>>>>>>>managed objects CFs and Destinations is through the AQJmsFactory
which
>>>>>>>is a non-standard way of creating these objects.
>>>>>>>Almost all MQ providers ( except AQ) allows the managed objects to be
>>>>>>>instantiated through reflection ,and since generic ra is supposed to
>>>>>>>behave in a provider agnostic fashion we support 2 most common
methods
>>>>>>>of creating jms managed objects - through jndi and javabean..,
>>>>>>>
>>>>>>>I guess you are using the javabean mode of integration in generic ra
,
>>>>>>>where gra relies on instantiating the administered objects through
>>>>>>>reflection and this of course is not working because of the first
>>>>>>>point.
>>>>>>>Could you try using the jndi integration mode....,
>>>>>>>you could also post a question in the Oracle AQ forum to find out if
>>>>>>>there is any other way (other Queue class names...) of instantiating
>>>>>>>these objects
>>>>>>>
>>>>>>>Thanks
>>>>>>>-Ramesh
>>>>>>>
>>>>>>>Fredy Yamid Sierra Umaña wrote:
>>>>>>>
>>>>>>>
>>>>>>>>Hi Ramesh
>>>>>>>>
>>>>>>>>Thanks for response.
>>>>>>>>
>>>>>>>>The "oracle.jms.AQjmsDestination" class is located on aqapi.jar,
that
>>>>>>>>Advanced Queue class implement the javax.jms.Queue interface and i
set
>>>>>>>>up that class on QueueClassName
>>>>>>>><http://localhost:9060/ibm/console/j2EEResourcePropertyCollection.do?EditValue=true&refId=J2EEResourceProperty_1191467934576&contextId=cells%3APORTATILMNode01Cell%3Anodes%3APORTATILMNode01&resourceUri=resources.xml&perspective=tab.configuration>
>>>>>>>>GenericJMSRA <https://genericjmsra.dev.java.net/> parameter.
>>>>>>>>
>>>>>>>>This jar (aqapi.jar) is included in the "Generic JMS Resource
>>>>>>>>Adapter" classpath. I am using gra 2.0.
>>>>>>>>
>>>>>>>>I hope that with those points you can help me.
>>>>>>>>
>>>>>>>>
>>>>>>>>FREDY YAMID SIERRA UMAÑA
>>>>>>>>fredysierra_at_gmail.com <mailto:fredysierra_at_gmail.com>
>>>>>>>>
>>>>>>>---------------------------------------------------------------------
>>>>>>>To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>>>>>>>For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>>>>>For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>>>>For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>>
>>
>>
>
>

-- 
View this message in context: http://www.nabble.com/GenericJMSRA-problems-configuration-for-AQ-conecction.-tp13120991p14319919.html
Sent from the Users of Generic Resource Adapter for JMS mailing list archive at Nabble.com.