Do you want to Search Something?

Those who opened the gates

Tuesday, February 14, 2012

Setting The JVM Classpath and JVM DLL Name in Siebel


Parameter
Value
JVM Classpath
<SIEBSRVR_ROOT>/classes/Siebel.jar;<SIEBSRVR_ROOT>/classes/SiebelXMLP.jar;<SIEBSRVR_ROOT>/classes/wlfullclient.jar
where:
SIEBSRVR_ROOT is the actual path where the Siebel Server is installed.
NOTE:  For UNIX, replace <SIEBSRVR_ROOT> with ${SIEBEL_HOME}.

Alternatively, you can set the CLASSPATH using the Siebel Server Manager (srvrmgr program). For information about using the srvrmgr program to set the CLASSPATH, see Troubleshooting the CLASSPATH Settings Using Siebel Server Manager.

CAUTION:  An error might occur if the value of the CLASSPATH parameter is too long (must be less than 1024 characters). To avoid this, copy the CLASSPATH folder to the root directory, and then point CLASSPATH to this path.
JVM DLL Name
For AIX, Linux, and Oracle Solaris:
<path to libjvm.so_file>
For HP-UX:
<path to libjvm.sl_file>
For Windows:
<path to jvm.dll >
For example, c:\Program Files\Java\jdk1.6.0_xx\jre\client\bin\jvm.dll
NOTE:  For Windows, the path to the JVM DLL file is automatically read from the Windows registry setting of the JRE installed on the Siebel Server.
For more information on setting the values of the JVM DLL Name and JVM Options parameters, see Transports and Interfaces: Siebel Enterprise Application Integration.

4 comments:

melluru said...

Hi There, In relation to JAVA subsystem settings in Siebel, is it possible to provide a path (which contains 87 jar files to be loaded) in the JAVA classpath ? If so, can you please guide on how to do so. Reason is .. each jar is expected to be added to the classpath, i added all 86 jars via srvrmgr but all of them wouldnt load, i read somewhere that only the jar mentioned in the first 2048 characters are loaded by JVM.. can you let me know if you came across any such limits..

Next Level said...

To be honest I have never put 86 jar files into the classpath.There is a limitation if you do it from the Siebel GUI but you mentioned you are using srvrmgr.To confirm whether ur classpaths are loading correctly I would recommend you to test the same
after configuring the classpath values open the Business service Simulator and use the 'EAI JMS
Transport'
CheckClasspath

You should get a resultant of the successfully loaded classpaths.
Try upgrading JVM

Check if you are using correct delimter for each classpaths you added

melluru said...

Hi Premjit,
Thanks for your comment, I failed to check back this site for responses. We tried several ways to provide path to the folder but the JVM wouldnt initialize, so had to hard code the classpath with all 90 jar files.. to reduce the size.. we renamed the jars with 1,2,3,4,5... into the classpath. There was a 2048 char limit to the JAVA classpath, and any value set > 256 had to be done via srvrmgr. Doing that has helped us to initialize.

Did mention it to Oracle so that they can document these findings.

Regards.

Next Level said...

Cheers...:-)