Author |
Message
|
Bravo |
Posted: Thu Oct 13, 2005 9:51 am Post subject: Heap size in MB |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Hi
Can anybody suggest me, how I can change WBIMB V 5 on windows box which installed with jdk 1.3.1 to jdk 1.4.2. How it is possible?
Please provide me necessary steps?
Also suggest me how can i increase the heap size in Broker not toolkit and workbench?Is the same commad mqsistudio -xmx<kb>?
awaiting for the response.
 _________________ Bravo |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 13, 2005 10:01 am Post subject: Re: Heap size in MB |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Bravo wrote: |
Can anybody suggest me, how I can change WBIMB V 5 on windows box which installed with jdk 1.3.1 to jdk 1.4.2. How it is possible?
Please provide me necessary steps? |
I think this isn't supported, at least on Windows.
Bravo wrote: |
Also suggest me how can i increase the heap size in Broker not toolkit and workbench?Is the same commad mqsistudio -xmx<kb>? |
It's not the same command.
I remember there being an answer for this on this forum somewhere... try using Search. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Bravo |
Posted: Thu Oct 13, 2005 11:11 am Post subject: |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Thanks jeff for quick response!!
But can i install broker with any version of java. _________________ Bravo |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 13, 2005 11:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Again, it's not supported on Windows, that I know of.
There are some ways to do it on AIX, but not otherwise. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Bravo |
Posted: Thu Oct 13, 2005 1:50 pm Post subject: |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
I did not find any command to increase the HEAP size for Broker?.
Can you help me!!! _________________ Bravo |
|
Back to top |
|
 |
JT |
Posted: Thu Oct 13, 2005 2:04 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Typically, you would increase the heap size for a specific execution group, and not the entire broker:
Code: |
mqsichangeproperties brokerName -e executionGroupLabel -o ComIbmJVMManager -n jvmMaxHeapSize -v newSize |
|
|
Back to top |
|
 |
whiting |
Posted: Thu Oct 13, 2005 5:47 pm Post subject: heapsize |
|
|
Acolyte
Joined: 26 Mar 2002 Posts: 64 Location: Greenville, SC
|
If you want to set the heapsize for the toolkit, then add -vmargs -Xmx384M to the mqstudio command line. This makes the toolkit startup much faster. This works for any use of eclipse in general.
//Bill |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 13, 2005 5:50 pm Post subject: Re: heapsize |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
whiting wrote: |
If you want to set the heapsize for the toolkit, then add -vmargs -Xmx384M to the mqstudio command line. This makes the toolkit startup much faster. This works for any use of eclipse in general. |
Actually, it gets somewhat tricky with Broker Toolkit, particularly if you are trying to add the -data parameter as well... it seems best to wrap the, umm, parameter, to the -data parameter in quotes. Then the -vmargs can follow and work.
You can't put -data after -vmargs, cause everything following it is treated as a vmarg, and not an eclipse arg (as it should). So you have to put -data first, but then it wants to treat everything else as a file descriptor... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Oct 13, 2005 5:51 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
Can anybody suggest me, how I can change WBIMB V 5 on windows box which installed with jdk 1.3.1 to jdk 1.4.2. How it is possible? |
I'm curious, why do you want to do this? _________________ -wayne |
|
Back to top |
|
 |
mq_developer |
Posted: Thu Oct 13, 2005 6:07 pm Post subject: |
|
|
Voyager
Joined: 18 Feb 2002 Posts: 82
|
Look at this ..
Broker prerequisites
Support for JRE 1.4:
Broker FixPack 6 or later is recommended.
The WebSphere MQ Real-time Transport is not currently supported with JRE 1.4.
The Configuration Manager is not supported with Java version 1.4.
The Configuration Manager and the Broker automatically look for the JRE in the directory <install dir>\jre which is populated at product install time with JRE 1.3.1. For the Broker to use JRE 1.4, rename the <install dir>\jre directory and replace this directory with the JRE 1.4 installation. This implies that the Configuration Manager and the Broker cannot run on the same machine if the Broker is configured to use JRE 1.4.
Only the IBM packaged JRE 1.4.2 for Windows is supported with the Broker, available on request from IBM Support. |
|
Back to top |
|
 |
Bravo |
Posted: Fri Oct 14, 2005 8:55 am Post subject: |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Thanks for the response..
BROKER is on windows, since CONFIG MANAGER cannot be run on jre 1.4.2.
So we are planning to run CONFIG MANAGER on jre 1.3.1
and BROKER on jre 1.4.2 on the same machine.
so how can i identify jre for CONFIG MANAGER and BROKER individually and upgrade it.
Any suggestion.
 _________________ Bravo |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 14, 2005 8:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Bravo wrote: |
so how can i identify jre for CONFIG MANAGER and BROKER individually and upgrade it. |
mq_developer wrote: |
This implies that the Configuration Manager and the Broker cannot run on the same machine if the Broker is configured to use JRE 1.4. |
You can't.
They use the *same* JRE. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Bravo |
Posted: Fri Oct 14, 2005 9:20 am Post subject: |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Could you suggest how can I handle this situation.
Any Alternative way!!!! _________________ Bravo |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 14, 2005 9:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What situation?
Where you need to run Java 1.4 code from within Broker?
Have you considered using RMI? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Bravo |
Posted: Fri Oct 14, 2005 12:49 pm Post subject: |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Broker uses customize code which supports class 1.4.2.Since Broker and Config manager on same machine and uses java 1.3.1. We are getting error log saying class is not found?
To handle this situation..All I think is to run Broker and config manager in separate windows box.
Other than above approach..Do you guys think any?
Hope you have understood the situation. _________________ Bravo |
|
Back to top |
|
 |
|