|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
JRE 1.4.1 for the Custom Nodes in Message Broker 5.0 |
« View previous topic :: View next topic » |
Author |
Message
|
Mirage |
Posted: Wed Apr 05, 2006 11:06 am Post subject: JRE 1.4.1 for the Custom Nodes in Message Broker 5.0 |
|
|
 Apprentice
Joined: 30 Nov 2004 Posts: 44 Location: IL
|
In our profile we added JDK 1.4.1's bin directory to the PATH variable. Now, java is pointing to the 1.4.1 JRE. But, when we restarted our Broker the custom nodes are not finding the 1.4.1 JRE
The PATH variable was referring to JRE 1.3.1 before this change.
Our custom node is using the String method replaceAll() defined in JDK 1.4 and our code does not work untill we change the JRE for the custom nodes.
How do we set this and where do we set this ? Below is the PATH variable and java from our server.
Thanks - Raghu
Code: |
bash-2.05a$ echo $PATH
/opt/apps/oracle/9.2.0.5/bin:/usr/java14/jre/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/usr/java131/bin:/usr/local/bin:/opt/apps/home/db2usr/sqllib/bin:/opt/apps/home/db2usr/sqllib/adm:/opt/apps/home/db2usr/sqllib/misc:/usr/opt/mqsi/bin:/opt/IBM/WebSphereAdapters/bin:.
bash-2.05a$ java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411ifx-20040810 (141SR3) (JIT enabled: jitc))
|
|
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 05, 2006 11:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I remember seeing instructions for how to upgrade the broker JVM on unix platforms. A search of IBM's support site might help, or you can search here for something like 'jdk upgrade' and see if you can find previous discussions that include the link. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Mirage |
Posted: Wed Apr 05, 2006 12:01 pm Post subject: |
|
|
 Apprentice
Joined: 30 Nov 2004 Posts: 44 Location: IL
|
Thanks for the quick reply Jeff. As per the advice, I've searched through the forum again for any matching queries and this time I was able to find one.
I've looked at the IBM site also and found this link which explains how to upgrade for JRE 1.4.2
http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006535
Quote: |
Support for JRE 1.4:
Broker Fix Pack 5 or later is recommended.
The WebSphere MQ Real-time Transport is not currently supported with JRE 1.4.
On AIX, the Broker automatically looks for the JRE in the directory /usr/java131. For the Broker to use JRE 1.4, rename the java131 directory and replace this directory with a soft link to the JRE 1.4 installation.
For example, "ln -s /usr/java14 /usr/java131".
If you are using IBM JRE 1.3.1 SR9 (or later) or JRE 1.4.2 SR2 (or later) you must ensure that /usr/java131/jre/bin/classic and /usr/java131/jre/bin are added and exported to your LIBPATH (if you are using Java 1.4.2, you must have a symbolic link from /usr/java131 to your Java 1.4.2 installation). It is also necessary to set and export LDR_CNTRL=USERREGS.
|
|
|
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
|
|
|
|