Originally posted by: PradeepV.B.
Hi,
I am invoking WTX map from a WPS module using Java SDK of WTX. This map makes use of Java Class adapter. When i run this map i get the following error
com.ibm.websphere.dtx.dtxpi.MException: Unknown error code - Target not available
I turned on the JNI trace in WTX and found the following.
<4568-5908>: ===== WebSphere Transformation Extender Java Programming Interface Library =====
<4568-5908>: Version: 8.2.0.4(77)
<4568-5908>: Install Directory: C:\IBM\WebSphere Transformation Extender 8.2\
<4568-5908>: CLASSPATH: C:\IBM\WID62\pf\wps\properties;C:\IBM\WID62\runtimes\bi_v62\properties;C:\IBM\WID62\runtimes\bi_v62\lib\startup.jar;C:\IBM\WID62\runtimes\bi_v62\lib\bootstrap.jar;C:\IBM\WID62\runtimes\bi_v62/lib/j2ee.jar;C:\IBM\WID62\runtimes\bi_v62/lib/lmproxy.jar;C:\IBM\WID62\runtimes\bi_v62/lib/urlprotocols.jar;C:\IBM\WID62\runtimes\bi_v62\java\lib\tools.jar;C:\IBM\WebSphere Transformation Extender 8.2;
<4568-5908>: Loading JVM...
<4568-5908>: JVM already loaded. Path: C:\IBM\WID62\runtimes\bi_v62\java\jre\bin\classic\jvm.dll
<4568-5908>: Loading JVM symbols...
<4568-5908>: JVM symbols loaded successfully.
<4568-5908>: JVM exists with ptr = 002627E8, count = 1
<4568-5908>: Initializing Adapter Library...
<4568-5908>: Time stamp: 09/03/10 11:59:39
<4568-5908>: Adapter Library initialized successfully.
<4568-5908>: Creating adapter instance...
<4568-5908>: ID = 24
<4568-5908>: Adapter instance created successfully.
<4568-5908>: Creating adapter instance...
<4568-5908>: ID = 30
<4568-5908>: Adapter instance created successfully.
<4568-5908>: Creating adapter instance...
<4568-5908>: ID = 36
<4568-5908>: Adapter instance created successfully.
<4568-5712>: Creating connection instance...
<4568-5712>: ID = 44
<4568-5712>: Connection instance created successfully.
<4568-5712>: *ERR: Failed to get MException class. Throwing a generic Java exception.
<4568-5712>: Destroying connection instance...
<4568-5712>: ID = 44
<4568-5712>: Connection instance destroyed successfully.
I see that there is an error loading MException class. "*ERR: Failed to get MException class. Throwing a generic Java exception."
I tried setting the classpath but no luck.
Could anyone tell me where is the problem?
Thanks
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender