See the WebSphere eXtreme Scale Wiki for links to eXtreme Scale Version 7.0 documentation.
If you log in
with your developerWorks ID, you can leave comments and feedback for the development team.
About this task
This task describes the steps required to use a non-IBM Java SE Development Kit (JDK) or non-IBM Java SE Runtime Environment (JRE) with ObjectGrid. These steps apply when ObjectGrid is deployed separately from WebSphere Application Server and using a non-IBM JDK.
Before you begin
This task applies to ObjectGrid version 6.1.0.5 or later and non-IBM JDKs version 5 or later. If running a previous version of ObjectGrid or a non-IBM JDK version 1.4.2, see Using a non-IBM 1.4.2 JDK or ObjectGrid version 6.1.0.4.
ObjectGrid uses the Object Request Broker (ORB) for communicating between processes. The IBM Java ORB is included with ObjectGrid and is the recommended ORB to use when using a non-IBM JDK. If using an IBM JDK or a JDK supplied with WebSphere Application Server, the ORB is included inside the JDK. Either the ORB supplied with ObjectGrid or the IBM ORB supplied with the IBM or WebSphere Application Server JDK may be used. Any problems that are encountered with third-party ORBs must be reproducible with the IBM Java ORB and compatible JDK prior to contacting support. ObjectGrid does not support the Sun ORB supplied with Sun JDKs.
ObjectGrid supports JDKs from most vendors. However, it is recommended to use a JDK that is supplied with WebSphere Application Server 6.1 or later. The JDKs that are supplied with WebSphere Application Server have been tested more comprehensively than other JDKs.
Steps for this task
These steps just specify an endorsed directory for the JVM. To use the ObjectGrid supplied IBM Java ORB when using standard ObjectGrid scripts:
- Modify the setupCmdLine file to enable the ORB:
- Remove the comment prefix for the line that sets the OBJECTGRID_ENDORSED_DIRS variable.
- Save the file
To use the ObjectGrid supplied IBM Java ORB from a custom script:
- Add the following system property to the custom script that invokes the java command:
-Djava.endorsed.dirs=objectgridRoot/lib/endorsed
If running a previous version of ObjectGrid or a non-IBM JDK version 1.4.2, see Using a non-IBM 1.4.2 JDK or ObjectGrid version 6.1.0.4.
If applications are using the ORB directly, see Using the ORB within an ObjectGrid process.
Results
ObjectGrid applications will use the IBM Java ORB that is included the objectgridRoot/lib/endorsed directory.
© Copyright IBM Corporation 2007,2009. All Rights Reserved.
Aren't the lines for the orb.properties containing org.omg.PortableInterceptor.ORBInitializerClass=com.ibm.ws.objectgrid.corba.ObjectGridInitializer
meant to be
org.omg.PortableInterceptor.ORBInitializerClass.com.ibm.ws.objectgrid.corba.ObjectGridInitializer
(with a dot instead of =)
I was getting an error with the former.
Interestingly I was getting these errors with the latest install of WAS ND v6.1.0.17, (WVE v6.1.0.3), JDK 5 SR7 - wasn't expecting that