|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Explorer JVM parameters |
« View previous topic :: View next topic » |
Author |
Message
|
gbaddeley |
Posted: Tue May 07, 2013 11:28 pm Post subject: MQ Explorer JVM parameters |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
I've done a bit of looking around , but does anyone know how to set parameters for the MQ Explorer JVM invokation on Windows, eg.
-Dxxxx=yyyyy
Also, is there a way to run MQ Explorer on Windows as a 64 bit process, rather than 32 bit ? _________________ Glenn |
|
Back to top |
|
 |
markt |
Posted: Wed May 08, 2013 12:50 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
Look at runwithtrace.cmd in the MQExplorer/eclipse directory. That just adds the -D options along with some other jvm parms to the end of the command line. Editing MQExplorer.ini like http://wiki.eclipse.org/Eclipse.ini is a more permanent way.
MQExplorer.exe is a 32-bit process but you should be able to import the plugins into a 64-bit Eclipse/JRE environment if you set one up yourself. The MQExplorerSDK.zip package makes that reasonably easy.
Is there a reason for wanting 64-bit? |
|
Back to top |
|
 |
gbaddeley |
Posted: Wed May 08, 2013 5:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Hi Mark,
WMQ 7.0.1.8 on Windows. I couldn't find runwithtrace.cmd, mqexplorer.ini or mqexplorer.exe on the Windows system (or am I going blind?). I see strmqcfg.exe in MQ's bin directory.
I tried editing eclipse.ini to be
Code: |
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
../../java/jre/bin/javaw.exe
-vmargs
-Xj9
-Xmx768m
"-Dcom.ibm.mq.cfg.jmqi.libpath=C:\Program Files (x86)\MQSeries\java\lib" |
But this didn't seem to have any effect. The MQ Java classes are loading the native library mqjbnd.dll from java\lib64, which doesn't work with 32 bit MQ Explorer of course. It seems that it is not noticing the com.ibm.mq.cfg.jmqi.libpath overriding setting.
It appears MQ Explorer JVM or MQ classes are just loading the dll using the System PATH, where java\lib64 is before java\lib in the list of directories.
I have another server with WMQ 7.1.0.0, that does have these files, and strmqcfg.cmd. Looks like MQ Explorer invokation has changed between these releases... _________________ Glenn |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue May 21, 2013 3:56 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
gbaddeley wrote: |
WMQ 7.0.1.8 on Windows. |
In the bin directory, there should be a file called "runmqcfg_rcp.cmd". Add your own "SET AMQ_EXPLORER" before the start command.
Code: |
set AMQ_EXPLORER=%AMQ_EXPLORER% "-Dxxxx=yyyyy" |
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue May 21, 2013 5:57 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
RogerLacroix wrote: |
In the bin directory, there should be a file called "runmqcfg_rcp.cmd". Add your own "SET AMQ_EXPLORER" before the start command.
Code: |
set AMQ_EXPLORER=%AMQ_EXPLORER% "-Dxxxx=yyyyy" |
Regards,
Roger Lacroix
Capitalware Inc. |
Thanks Roger, that worked. I was able to add
Code: |
set AMQ_EXPLORER=%AMQ_EXPLORER% "-Dcom.ibm.mq.cfg.jmqi.libpath=C:\Program Files (x86)\MQSeries\java\lib" |
to force MQ Explorer JVM to load the 32 bit native library (mqjbnd.dll).
At the moment we have modified the System PATH to specify java\lib64 before java\lib. This is required to overcome an issue with another 64 bit Java product that uses MQ. Unfortunately this breaks MQ Explorer; it is unable to bind to local queue managers. _________________ Glenn |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|