Information in this document applies to any platform.
Product type: Siebel Financial Services CRM
Version: 8.1.1 SIA 
DB: Oracle Server - Enterprise Edition
OS platform: IBM AIX on POWER Systems (64-bit)
Env type: dev
Statement of Issue:
A java business service (JBS) works correctly when executed on a local development environment. When it is called within an application object manager task running on the server it fails with an error.
(javabsvc.cpp (181)) SBL-EAI-05003: Echec de l'appel de JNI_CreateJavaVM.
(javabsvc.cpp (181)) SBL-EAI-05003: Call to JNI_CreateJavaVM failed.
The JBS cannot be executed on the server.
VMOPTIONS is set to the following in the JAVA JMSSubsys:
-Xrs Ã¢Â€Â“Djava.compiler=NONE -Djms.log=/siebint/crmint1/siebsrvr/enterprises/CRMINT_ENT/CRMINT_SVR/log/JavaJVM.log
The character in front of Djava.compiler=NONE is not a minus (-).
Transports and Interfaces: Siebel Enterprise Application Integration, Java Business Service, Prerequisites for Implementing a Java Business Service includes the following information:
"The named subsystem supplies the parameters to the JBS. There are three parameters:
DLL. The complete path of the Java Runtime Environment library. On Windows, it is jvm.dll; on AIX, libjvm.a; on HP-UX, libjvm.sl; and on Solaris, libjvm.so.
CLASSPATH. The classpath used by the Java virtual machine.
The classpath must include the following Siebel JAR files as well as all Java code implementing the desired business service.
The required Siebel JAR files are:
SiebelJI_lang.jar (lang corresponds to the default language for your installation).
VMOPTIONS. Java virtual machine options. On all platforms, except AIX, it is recommended that the option -Xusealtsigs be used to make sure that the signal handlers used by the Siebel Server do not conflict with those of the JVM.
NOTE: The option -Xusealtsigs is mandatory for use on the Sun Solaris platform. The JVM options will not load successfully into the object manager without the use of this option.
The following example shows how to create a named subsystem using the Siebel Server Manager:
create named subsystem JAVA for subsystem JVMSubSys with
VMOPTIONS ="-Xrs -Djava.compiler=NONE""
As this shows, the character in from of each JVM option should be a - (minus).
Change the character in front of the JVM oprion Djava.compiler=NONE to a minus.
Applies to: Siebel Reports - Version: 22.214.171.124 and later [Release: V7 and later ]
Information in this document applies to any platform.
SymptomsUI shows the below error:
  Call to JNI_CreateJavaVM failed.(SBL-EAI-05003) (0x8313)
 Object manager error: ( Call to JNI_CreateJavaVM failed.(SBL-EAI-05003) (0x8313))
 Error (null) invoking method "(null)" for Business Service "(null)"
XMLP Report Server log shows:
XMLPReportLog XMLPReportDebug 5 45356 2010-10-18 07:55:55 Getting XMLP Java Business Service
ObjMgrBusServiceLog Create 4 45356 2010-10-18 07:55:55 Business Service 'XMLP Report Business Service' was created at 125b9f30
XMLPReportLog XMLPReportDebug 5 45356 2010-10-18 07:55:55 Invoke UploadReport method of XMLPJavaBusvc java wrapper class
ObjMgrBusServiceLog InvokeMethod 4 45356 2010-10-18 07:55:55 Begin: Business Service 'XMLP Report Business Service' invoke method: 'createXMLPZip' at 125b9f30
EAITransport EAITransportGeneric 3 45356 2010-10-18 07:55:55 Initializing JVM with parameters
EAITransport EAITransportGeneric 3 45356 2010-10-18 07:55:55 DLL = D:\Java\1_5\SDK\jre\bin\server\jvm.dll
EAITransport EAITransportGeneric 3 45356 2010-10-18 07:55:55 CLASSPATH = D:\Siebel\7.8\siebsrvr\CLASSES\siebel.jar,D:\Siebel\7.8\siebsrvr\CLASSES\SiebelXMLP.jar
EAITransport EAITransportGeneric 3 45356 2010-10-18 07:55:55 VMOPTIONS =
ObjMgrBusServiceLog Error 1 45356 2010-10-18 07:55:55 (javabsvc.cpp (164)) SBL-EAI-05003: Call to JNI_CreateJavaVM failed.
ObjMgrBusServiceLog InvokeMethod 4 45356 2010-10-18 07:55:55 Business Service 'XMLP Report Business Service' invoke method 'createXMLPZip' Execute Time: 0.017 seconds.
ObjMgrBusServiceLog InvokeMethod 4 45356 2010-10-18 07:55:55 End: Business Service 'XMLP Report Business Service' invoke method: 'createXMLPZip' at 125b9f30
ObjMgrBusServiceLog Error 1 45356 2010-10-18 07:55:55 (xmlpadaptersvc.cpp (2055)) SBL-EAI-05003: Call to JNI_CreateJavaVM failed.
CauseIncorrect JAVA_HOME and PATH specified.
SolutionInitially the JAVA_HOME and PATH are referring to "D:\Java\1_5\SDK\jre\bin" folders, after changing the JAVA_HOME to c:\java\jre1.5.0_10 and PATH to the correct value, the issue was resolved.
When tried to upload, it said jvm.dll not found. So we also executed the below command to change the XMLPJvmSybsys parameter to refer to the correct JRE location:
srvrmgr> change parameter dll="D:\java\1_5\JRE\bin\client\jvm.dll" for named subsystem xmlpjvmsubsys
Applies to: Siebel System Software - Version: 126.96.36.199 SIA  - Release: V7
IBM AIX on POWER Systems (64-bit)
Product Release: V7 (Enterprise)
Version: 188.8.131.52  ESN Cons Goods
Database: Oracle 10.2.0.2
Application Server OS: IBM AIX 5L 5.2 ML6
Database Server OS: IBM AIX 5L 5.3
This document was previously published as Siebel SR 38-3502083683.
SymptomsWe are in the testing phase of an outbound web service integration that requires the encryption of the message sent.
In order to encrypt the message, our client has developed a java jar file that we call from our workflow through the Java Business Service.
This is working perfectly in our local machine but we have come across several errors while running it in the siebel server:
1. Firstly, we received the following error: "SiebelError: Error al llamar a JNI_CreateJavaVM.(SBL-EAI-05003)" which we identified with Siebel Alert 1308 (Doc ID 475359.1). We changed the JVM version to 1.5.0.
2. Then we received the following error: "SiebelError: Error al cargar el Dll JVM. Compruebe que el nombre de archivo dll es correcto.(SBL-EAI-05006)". Looking into SR 38-1584186765 we found out we needed the JVM 32-bit installation. We changed it accordingly.
3. Now, the workflow process hangs in the "Obtener Firma" step when we call the Java Business Service, without receiving any detailed error message.
We have attached the following information:
1. WfProcMgr_8310.log: the log of the Workflow Process executed with event parameters to 4.
2. CK EAI Java Business Service Web Service.sif: the Java Business Service
3. CK Transformar Venta Asistida.sif: BS that calls to Java BS (with the "Obtener Firma" method).
4. CK Envio Online Venta Asistida.xml: the workflow process.
The environment variables are as follows:
The java subsystem definition is as follows:
Subsystem Type: JVMSubSys
CauseError on the LIBPATH definition on AIX.
SolutionMessage 1Customer was trying to run a Java Business Sevice with Siebel Server on AIX and had followed the steps in bookshelf "Transports and Interfaces: Siebel Enterprise Application Integration > Java Business Service > Prerequisites for Implementing a JBS"
However, whe trying to call the JBS the OM would hang.
Also tried "EAI JMS Transport" , "CheckClassPath". this would either hang, crash or restart the OM.
This was tracked down to being a LIBPATH issue.
To be safe.. ensure the LIBPATH has following :
JAVADIR/jre/bin << IMPORTANT AS it has "libjava.a"
Raised Change Request #12-1MB605R as we dont document all the correct directories for LIBPATH on AIX
keywords: crash, hang, jvm, aix, libjvm.so, libjvm.a,libjava.a
Siebel > Customer Relationship Management > CRM - Enterprise Edition > Siebel System Software
CLASS; JAR; JRE; CLASSPATH; AIX