users@genericjmsra.java.net

Re: GenericJMSRA problems configuration for AQ conecction.

From: Ramesh Parthasarathy <Ramesh.Parthasarathy_at_Sun.COM>
Date: Thu, 22 Nov 2007 03:26:21 +0000

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
>>
>>
>>
>
>