Hi,
Your question can be interpreted in 2 ways
1. You already have an open mq broker instance installed and running and , you want to use this broker that has been installed (started and managed) separately, with glassfish. In this case you have to change the server.jms-service.type to REMOTE (default is EMBEDDED) and provide the location of your broker under the jms-host section (default_JMS_host).
Note that the open mq has to be started separately and you can provide your own varhome when you start openmq. You can do this by following the OpenMQ documentation
https://mq.dev.java.net/downloads.html
2. You want glassfish to start the imqbroker with a different varhome than GFHOME/domains/domain1/imq. I dont think this is supported.
For more information on jms service in glassfish
https://glassfish.dev.java.net/javaee5/docs/DG/beaob.html
Thanks
[Message sent by forum member 'rampsarathy' (rampsarathy)]
http://forums.java.net/jive/thread.jspa?messageID=274968