GenericJMSRA problems configuration for AQ conecction.

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

GenericJMSRA problems configuration for AQ conecction.

by Fredy Yamid Sierra Umaña :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 GenericJMSRA 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@...


Re: GenericJMSRA problems configuration for AQ conecction.

by rampsarathy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... <mailto:fredysierra@...>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: GenericJMSRA problems configuration for AQ conecction.

by Shailesh Kini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@gmail.com <mailto:fredysierra@gmail.com>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
For additional commands, e-mail: users-help@genericjmsra.dev.java.net

Re: GenericJMSRA problems configuration for AQ conecction.

by rampsarathy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... <mailto:fredysierra@...>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@...
>>For additional commands, e-mail: users-help@...
>>
>>
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


ConcurrentModificationException in shutdown hangs server.

by James Richardson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I recently saw this exception while shutting down GF using the generic JMS
RA. It caused the shutdown of the server to fail.

[#|2007-11-23T05:16:00.263-0500|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=Thread-32;_RequestID=83aaaa6f-bd9c-44
85-b590-dbaeb70e6127;|
javax.jms.JMSException: The ServerSessionPool is destroyed.
at
com.sun.genericra.inbound.InboundJmsResourcePool.validate(InboundJmsResourcePool.java:390)
at
com.sun.genericra.inbound.InboundJmsResourcePool.getServerSession(InboundJmsResourcePool.java:370)
at
com.tibco.tibjms.TibjmsConnectionConsumer._dispatchMessages(TibjmsConnectionConsumer.java:110)
at
com.tibco.tibjms.TibjmsConnectionConsumer$MR.run(TibjmsConnectionConsumer.java:57)
at java.lang.Thread.run(Thread.java:595)
|#]
[#|2007-11-23T05:16:00.264-0500|SEVERE|sun-appserver-pe9.0|com.sun.genericjmsra|_ThreadID=15;_ThreadName=RMI
TCP Connection(23)-127.0.0.1;_RequestID=65940de4
-9b52-4fa9-8331-934bab4fb0a1;|null
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:617)
at java.util.LinkedList$ListItr.next(LinkedList.java:552)
at
com.sun.genericra.inbound.InboundJmsResourcePool.releaseAllWaitingThreads(InboundJmsResourcePool.java:480)
at
com.sun.genericra.inbound.InboundJmsResourcePool.destroy(InboundJmsResourcePool.java:459)
at com.sun.genericra.inbound.EndpointConsumer.stop(EndpointConsumer.java:216)
at com.sun.genericra.GenericJMSRA.endpointDeactivation(GenericJMSRA.java:247)
at
com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.close(ConnectorMessageBeanClient.java:296)
at
com.sun.ejb.containers.MessageBeanContainer.cleanupResources(MessageBeanContainer.java:821)
at
com.sun.ejb.containers.MessageBeanContainer.onShutdown(MessageBeanContainer.java:853)
at
com.sun.enterprise.server.ApplicationLifecycle.onShutdown(ApplicationLifecycle.java:378)
at
com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:440)
at
com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:123)
at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:62)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1481)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1470)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
at
com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
|#]



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: GenericJMSRA problems configuration for AQ conecction.

by Sivakumar Thyagarajan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... <mailto:fredysierra@...>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: ConcurrentModificationException in shutdown hangs server.

by Sivakumar Thyagarajan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James

 > I recently saw this exception while shutting down GF using the generic JMS
 > RA. It caused the shutdown of the server to fail.

Could you raise an issue in the Generic RA issue tracker for this?
https://genericjmsra.dev.java.net/servlets/ProjectIssues

We shall definitely look at fixing this in a future release. Do you see this
intermittently?

GlassFish has a resource-adapter shutdown timeout attribute which defaults to 30
seconds and hence ideally the AS shutdown should have completed after 30 seconds.
http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5at?a=view#bealx

Is that what you observe or does shutdown completely fail? If AS hangs, could
you attach a thread dump of the hanging AS process with the issue.


Thanks
--Siva.

James Richardson wrote:

> Hi,
>
> I recently saw this exception while shutting down GF using the generic JMS
> RA. It caused the shutdown of the server to fail.
>
> [#|2007-11-23T05:16:00.263-0500|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=16;_ThreadName=Thread-32;_RequestID=83aaaa6f-bd9c-44
> 85-b590-dbaeb70e6127;|
> javax.jms.JMSException: The ServerSessionPool is destroyed.
> at
> com.sun.genericra.inbound.InboundJmsResourcePool.validate(InboundJmsResourcePool.java:390)
> at
> com.sun.genericra.inbound.InboundJmsResourcePool.getServerSession(InboundJmsResourcePool.java:370)
> at
> com.tibco.tibjms.TibjmsConnectionConsumer._dispatchMessages(TibjmsConnectionConsumer.java:110)
> at
> com.tibco.tibjms.TibjmsConnectionConsumer$MR.run(TibjmsConnectionConsumer.java:57)
> at java.lang.Thread.run(Thread.java:595)
> |#]
> [#|2007-11-23T05:16:00.264-0500|SEVERE|sun-appserver-pe9.0|com.sun.genericjmsra|_ThreadID=15;_ThreadName=RMI
> TCP Connection(23)-127.0.0.1;_RequestID=65940de4
> -9b52-4fa9-8331-934bab4fb0a1;|null
> java.util.ConcurrentModificationException
> at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:617)
> at java.util.LinkedList$ListItr.next(LinkedList.java:552)
> at
> com.sun.genericra.inbound.InboundJmsResourcePool.releaseAllWaitingThreads(InboundJmsResourcePool.java:480)
> at
> com.sun.genericra.inbound.InboundJmsResourcePool.destroy(InboundJmsResourcePool.java:459)
> at com.sun.genericra.inbound.EndpointConsumer.stop(EndpointConsumer.java:216)
> at com.sun.genericra.GenericJMSRA.endpointDeactivation(GenericJMSRA.java:247)
> at
> com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.close(ConnectorMessageBeanClient.java:296)
> at
> com.sun.ejb.containers.MessageBeanContainer.cleanupResources(MessageBeanContainer.java:821)
> at
> com.sun.ejb.containers.MessageBeanContainer.onShutdown(MessageBeanContainer.java:853)
> at
> com.sun.enterprise.server.ApplicationLifecycle.onShutdown(ApplicationLifecycle.java:378)
> at
> com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:440)
> at
> com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:123)
> at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:62)
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1481)
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1470)
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
> at
> com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
> at
> com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:108)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
> at sun.rmi.transport.Transport$1.run(Transport.java:153)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
> at java.lang.Thread.run(Thread.java:595)
> |#]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: GenericJMSRA problems configuration for AQ conecction.

by Shailesh Kini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@gmail.com <mailto:fredysierra@gmail.com>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
>>> For additional commands, e-mail: users-help@genericjmsra.dev.java.net
>>>
>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
> For additional commands, e-mail: users-help@genericjmsra.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
For additional commands, e-mail: users-help@genericjmsra.dev.java.net

Re: GenericJMSRA problems configuration for AQ conecction.

by rampsarathy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... <mailto:fredysierra@...>
>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: users-unsubscribe@...
>>>>>For additional commands, e-mail: users-help@...
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@...
>>>For additional commands, e-mail: users-help@...
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@...
>>For additional commands, e-mail: users-help@...
>>
>>
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: GenericJMSRA problems configuration for AQ conecction.

by Shailesh Kini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@gmail.com <mailto:fredysierra@gmail.com>
>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
>>>>>For additional commands, e-mail: users-help@genericjmsra.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
>>>For additional commands, e-mail: users-help@genericjmsra.dev.java.net
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
>>For additional commands, e-mail: users-help@genericjmsra.dev.java.net
>>
>>
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@genericjmsra.dev.java.net
For additional commands, e-mail: users-help@genericjmsra.dev.java.net

Re: GenericJMSRA problems configuration for AQ conecction.

by Shailesh Kini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
 

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.