users@genericjmsra.java.net

Re: WMQ

From: Daniel Hafner Cavalcanti <dhcavalcanti_at_gmail.com>
Date: Mon, 03 Dec 2007 16:09:35 -0500

Hi Ramesh...
Here are some files and the sample programs to test it...

wmq is a shell script to create the GRA config, resources, as described
in the integration tutorial.



On Mon, 2007-12-03 at 22:06 +0530, Ramesh wrote:
> Hi Daniel,
> Can you post your domain.xml and the deployment descriptors...
> And also any exceptions from the server.log file
>
> Thanks
> -Ramesh
>
> Daniel Hafner Cavalcanti wrote:
> > Hi.
> >
> > I'm trying to setup GenericRA in GlassFish to connect to Webphere MQ. I
> > have followed the integration tutorial, but there are somethings that
> > are missing for my scenario.
> >
> > In the tutorial, GF and WMQ are hosted in the same machine. In my
> > deployment, GF and WMQ are running in different machines/hosts. Any help
> > on some pointers in setting that integration up is greatly appreciated.
> >
> > thanks,
> > Daniel Cavalcanti.
> >
> > ---------------------------------------------------------------------
> > 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
>


asadmin create-resource-adapter-config --user admin --passwordfile password.txt --property SupportsXA=true:ProviderIntegrationMode=jndi:UserName=mqm:Password=mqm:RMPolicy=OnePerPhysicalConnection:JndiProperties=java.naming.factory.url.pkgs\\=com.ibm.mq.jms.naming,java.naming.factory.initial\\=com.sun.jndi.fscontext.RefFSContextFactory,java.naming.provider.url\\=file\\:\\/\\/opt\\/tmp:LogLevel=finest jmsra

asadmin create-connector-connection-pool --user admin --passwordfile password.txt --raname jmsra --connectiondefinition javax.jms.QueueConnectionFactory --transactionsupport XATransaction --property ConnectionFactoryJndiName=CollectorLegacyConnectionFactory legacypool

asadmin create-connector-resource --user admin --passwordfile password.txt --poolname legacypool jms/CollectorLegacyConnectionFactory

asadmin create-admin-object --user admin --passwordfile password.txt --raname jmsra --restype javax.jms.Queue --property DestinationJndiName=RequestQueue jms/RequestQueue