ryandawson
Programmer
I'm trying to use oracle messaging gateway and the startup procedure for it successfully runs but the agent doesn't start. I've put debug error logging on and found out that the jvm for the gateway isn't loading. It's possible that the classpath is being wrongly set but if so I haven't been able to find how.
It's a windows server 2003 environment, am aiming to connect to ibm mq series but can't get as far as that. Here is the output from a log file:
>>2007-10-25 10:15:32 MGW C-Bootstrap 0 LOG process-id=3844
Bootstrap program starting
>>2007-10-25 10:15:32 MGW C-Bootstrap 1 TRACE process-id=3844
MGW initialization file: D:\oracle\product\10.2.0\db_3\mgw\admin\mgw.ora
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
ORACLE_HOME = D:\oracle\product\10.2.0\db_3
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Max environment variable size = 4096
>>2007-10-25 10:15:32 MGW C-Bootstrap 4 TRACE process-id=3844
OraText size = 1
>>2007-10-25 10:15:32 MGW C-Bootstrap 4 TRACE process-id=3844
hostname: STG-C4D690A5K5Y
>>2007-10-25 10:15:32 MGW C-Bootstrap 4 TRACE process-id=3844
hostname(2): STG-C4D690A5K5Y
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for MGW_PRE_PATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of MGW_PRE_PATH: 59
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
MGW_PRE_PATH = "D:\oracle\product\10.2.0\db_3\jdk\jre\bin\client\jvm.dll";
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for PATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of PATH: 637
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
old PATH = D:\oracle\product\10.2.0\db_3\bin;D:\oracle\product\10.2.0\bin;d:\IBM\WEBSPH~2\BIN\DB2;d:\IBM\WEBSPH~2\BIN\MQServer;d:\IBM\WEBSPH~2\BIN;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;D:\IBM\SQLLIB\BIN;D:\IBM\SQLLIB\FUNCTION;D:\IBM\SQLLIB\SAMPLES\REPL;D:\oracle\product\10.2.0\db_1\bin;;d:\Program Files\IBM\db2cmv8\inso;d:\Program Files\IBM\db2cmv8;d:\Program Files\IBM\db2cmv8\bin;d:\Program Files\IBM\db2cmv8\dll;D:\IBM\WebSphere\AppServer\java\bin;c:\dxx\bin
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
PATH = "D:\oracle\product\10.2.0\db_3\jdk\jre\bin\client\jvm.dll";;D:\oracle\product\10.2.0\db_3\bin;D:\oracle\product\10.2.0\bin;d:\IBM\WEBSPH~2\BIN\DB2;d:\IBM\WEBSPH~2\BIN\MQServer;d:\IBM\WEBSPH~2\BIN;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;D:\IBM\SQLLIB\BIN;D:\IBM\SQLLIB\FUNCTION;D:\IBM\SQLLIB\SAMPLES\REPL;D:\oracle\product\10.2.0\db_1\bin;;d:\Program Files\IBM\db2cmv8\inso;d:\Program Files\IBM\db2cmv8;d:\Program Files\IBM\db2cmv8\bin;d:\Program Files\IBM\db2cmv8\dll;D:\IBM\WebSphere\AppServer\java\bin;c:\dxx\bin
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Building JVM options
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Building JVM classpath
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for MGW_PRE_CLASSPATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of MGW_PRE_CLASSPATH: 59
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for CLASSPATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of CLASSPATH: 871
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: vfprintf
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Djava.class.path="D:\oracle\product\10.2.0\db_3\jdk\jre\bin\client\jvm.dll";;D:\oracle\product\10.2.0\db_3\mgw\jlib\mgw.jar;"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar";"D:\oracle\product\10.2.0\db_3\jdk\jre\lib\rt.jar";"D:\oracle\product\10.2.0\db_3\jdbc\lib\ojdbc14.jar";"D:\oracle\product\10.2.0\db_3\jlib\i18n.jar";"D:\oracle\product\10.2.0\db_3\jdk\jre\lib\rt.jar";"D:\oracle\product\10.2.0\db_3\sqlj\lib\runtime12.jar";"D:\oracle\product\10.2.0\db_3\jlib\orai18n.jar":"D:\oracle\product\10.2.0\db_3\jlib\jta.jar";"D:\oracle\product\10.2.0\db_3\rdbms\jlib\jmscommon.jar";"D:\oracle\product\10.2.0\db_3\rdbms\jlib\aqapi13.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib";"C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar";;.
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Xrs
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Xms64m
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Xmx64m
>>2007-10-25 10:15:32 MGW C-Bootstrap 0 LOG process-id=3844
Cannot load jvm library
>>2007-10-25 10:15:32 MGW C-Bootstrap 0 LOG process-id=3844
Failed to create Java VM: retCode = -7
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
Bootstrap program exiting; retCode = -8
Any suggestions would be much appreciated.
It's a windows server 2003 environment, am aiming to connect to ibm mq series but can't get as far as that. Here is the output from a log file:
>>2007-10-25 10:15:32 MGW C-Bootstrap 0 LOG process-id=3844
Bootstrap program starting
>>2007-10-25 10:15:32 MGW C-Bootstrap 1 TRACE process-id=3844
MGW initialization file: D:\oracle\product\10.2.0\db_3\mgw\admin\mgw.ora
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
ORACLE_HOME = D:\oracle\product\10.2.0\db_3
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Max environment variable size = 4096
>>2007-10-25 10:15:32 MGW C-Bootstrap 4 TRACE process-id=3844
OraText size = 1
>>2007-10-25 10:15:32 MGW C-Bootstrap 4 TRACE process-id=3844
hostname: STG-C4D690A5K5Y
>>2007-10-25 10:15:32 MGW C-Bootstrap 4 TRACE process-id=3844
hostname(2): STG-C4D690A5K5Y
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for MGW_PRE_PATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of MGW_PRE_PATH: 59
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
MGW_PRE_PATH = "D:\oracle\product\10.2.0\db_3\jdk\jre\bin\client\jvm.dll";
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for PATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of PATH: 637
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
old PATH = D:\oracle\product\10.2.0\db_3\bin;D:\oracle\product\10.2.0\bin;d:\IBM\WEBSPH~2\BIN\DB2;d:\IBM\WEBSPH~2\BIN\MQServer;d:\IBM\WEBSPH~2\BIN;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;D:\IBM\SQLLIB\BIN;D:\IBM\SQLLIB\FUNCTION;D:\IBM\SQLLIB\SAMPLES\REPL;D:\oracle\product\10.2.0\db_1\bin;;d:\Program Files\IBM\db2cmv8\inso;d:\Program Files\IBM\db2cmv8;d:\Program Files\IBM\db2cmv8\bin;d:\Program Files\IBM\db2cmv8\dll;D:\IBM\WebSphere\AppServer\java\bin;c:\dxx\bin
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
PATH = "D:\oracle\product\10.2.0\db_3\jdk\jre\bin\client\jvm.dll";;D:\oracle\product\10.2.0\db_3\bin;D:\oracle\product\10.2.0\bin;d:\IBM\WEBSPH~2\BIN\DB2;d:\IBM\WEBSPH~2\BIN\MQServer;d:\IBM\WEBSPH~2\BIN;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\Program Files\Support Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;D:\IBM\SQLLIB\BIN;D:\IBM\SQLLIB\FUNCTION;D:\IBM\SQLLIB\SAMPLES\REPL;D:\oracle\product\10.2.0\db_1\bin;;d:\Program Files\IBM\db2cmv8\inso;d:\Program Files\IBM\db2cmv8;d:\Program Files\IBM\db2cmv8\bin;d:\Program Files\IBM\db2cmv8\dll;D:\IBM\WebSphere\AppServer\java\bin;c:\dxx\bin
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Building JVM options
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Building JVM classpath
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for MGW_PRE_CLASSPATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of MGW_PRE_CLASSPATH: 59
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Getting value for CLASSPATH
>>2007-10-25 10:15:32 MGW C-Bootstrap 3 TRACE process-id=3844
Length of CLASSPATH: 871
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: vfprintf
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Djava.class.path="D:\oracle\product\10.2.0\db_3\jdk\jre\bin\client\jvm.dll";;D:\oracle\product\10.2.0\db_3\mgw\jlib\mgw.jar;"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar";"D:\oracle\product\10.2.0\db_3\jdk\jre\lib\rt.jar";"D:\oracle\product\10.2.0\db_3\jdbc\lib\ojdbc14.jar";"D:\oracle\product\10.2.0\db_3\jlib\i18n.jar";"D:\oracle\product\10.2.0\db_3\jdk\jre\lib\rt.jar";"D:\oracle\product\10.2.0\db_3\sqlj\lib\runtime12.jar";"D:\oracle\product\10.2.0\db_3\jlib\orai18n.jar":"D:\oracle\product\10.2.0\db_3\jlib\jta.jar";"D:\oracle\product\10.2.0\db_3\rdbms\jlib\jmscommon.jar";"D:\oracle\product\10.2.0\db_3\rdbms\jlib\aqapi13.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar";"C:\Program Files\IBM\WebSphere MQ\Java\lib";"C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar";;.
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Xrs
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Xms64m
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
java option: -Xmx64m
>>2007-10-25 10:15:32 MGW C-Bootstrap 0 LOG process-id=3844
Cannot load jvm library
>>2007-10-25 10:15:32 MGW C-Bootstrap 0 LOG process-id=3844
Failed to create Java VM: retCode = -7
>>2007-10-25 10:15:32 MGW C-Bootstrap 2 TRACE process-id=3844
Bootstrap program exiting; retCode = -8
Any suggestions would be much appreciated.