Depending on circumstances, it may be necessary to send arguments to the JVM when using the JMS adapters. For example, in order to use the adapter with a Sun JVM to connect to an IBM WebSphere JMS implementation which uses the IBM server JVM, a JEE system property must be set due to the different ORB implementations in each vendor’s JRE. This can be done by passing the argument
-Dcom.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB to the adapter’s JVM using a registry value. This registry value must be added manually.
Please carefully follow these steps. Make sure spelling and case are correct for value names and contents.
- Open up the regedit.exe application and navigate to the key HKEY_LOCAL_MACHINESOFTWAREJNBridgeJMSAdaptersBTS2006 or HKEY_LOCAL_MACHINESOFTWAREJNBridgeJMSAdaptersDotNet depending on the adapter you’re using. There should be an existing value present, InstallationDirectory, pointing to the adapter’s home directory
- Create a new value of type Multi-String and name it JVM_Arguments.
- Modify the value by adding an argument per line to the Multi-String value. For example, the screen shot below shows configuring JVM memory managment using the -Xms and -Xmx arguments.