[mq-users] Re: Need help to create an internal bridge to forward a queue to a topic

  • From: Amy Kang <amy.kang@...>
  • To: ftz@...
  • Cc: users@...
  • Subject: [mq-users] Re: Need help to create an internal bridge to forward a queue to a topic
  • Date: Thu, 07 Feb 2013 19:55:17 -0800

Hi Fabien,

You can use the imqobjmgr in <glassfish-install>/mq/bin directory to create the administered objects for MQ JMS bridge. Because the JMS bridge is not a GlassFish application component, using jms resources created in GlassFish server is not supported.

Thanks,
amy

On 02/07/2013 05:38 AM, ftz@... wrote:
Hi Amy, thanks for your reply.

I've updated the bridge.xml with the following jndi properties:

   <connection-factory ref-name="pool1" lookup-name="pool1">
        <property name="java.naming.provider.url"
value="iiop://localhost:3700"/>
        <property name="java.naming.factory.initial"
value="com.sun.enterprise.naming.impl.SerialInitContextFactory"/>
        <property name="java.naming.factory.url.pkgs"
value="com.sun.enterprise.naming"/>
        <property name="java.naming.factory.state"
value="com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl"/>
   </connection-factory>


I also changed the pool1 and pool2 to use javax.jms.ConnectionFactory
instead of javax.jms.QueueConnectionFactory and
javax.jms.TopicConnectionFactory.

I've created the pool1 and pool2 via the admin console, using all the
defaults parameters.

Unfortunately I still get the same error when starting the GlassFish
server (that in terms starts the mq broker).

Are my jndi parameters ok?

Thanks for this
Fabien



[mq-users] Re: Need help to create an internal bridge to forward a queue to a topic

Amy Kang 02/06/2013

<Possible follow-up(s)>

[mq-users] Re: Need help to create an internal bridge to forward a queue to a topic

ftz 02/07/2013

[mq-users] Re: Need help to create an internal bridge to forward a queue to a topic

Amy Kang 02/08/2013
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20151030.c1dd42a)
 
 
Close
loading
Please Confirm
Close