Originally posted by: goldeneye
Paul,
I tried with the options and when I try to run from a command line , it fails with the error as "Target not available" and below is the extract from the trace and the command used.
TRACE
=========
<1675426-1800>: 09.54.21.484 - 11/26/2009 splitCriteria = 0
<1675426-1800>: 09.54.21.484 - 11/26/2009 localArchivingEnabledForCreate = false
<1675426-1800>: 09.54.21.484 - 11/26/2009 deleteOnRetrieve = false
<1675426-1800>: 09.54.21.485 - 11/26/2009 functionName = Create
<1675426-1800>: 09.54.21.485 - 11/26/2009 generateUniqueFile = false
<1675426-1800>: 09.54.21.553 - 11/26/2009 JCA Tracing: Entering method.
<1675426-1800>: 09.54.21.553 - 11/26/2009 JCA Tracing: Exiting method.
<1675426-1800>: 09.54.22.385 - 11/26/2009 startDocument -- begin
<1675426-1800>: 09.54.22.388 - 11/26/2009 startDocument -- rootElementURI:
<1675426-1800>: 09.54.22.388 - 11/26/2009 startDocument -- rootElementName:
<1675426-1800>: 09.54.24.317 - 11/26/2009 startDocument -- exception
<1675426-1800>: 09.54.24.318 - 11/26/2009 com.ibm.websphere.dtx.dtxpi.MException: Unknown error code - This is not a valid data object #
at com.ibm.websphere.dtx.j2ca.MAdapterImpl.startDocument(Unknown Source)
at com.ibm.websphere.wtx.extDataHandler.jni.CoreEngineHandler.initiateOutputTraversal(Native Method)
at com.ibm.websphere.dtx.j2ca.MAdapterImpl.initiateOutputTraversal(Unknown Source)
at com.ibm.websphere.dtx.j2ca.MAdapterImpl.put(Unknown Source)
<1675426-1800>: 09.54.24.319 - 11/26/2009 Error code: -1003 , Error message: Unknown error code - This is not a valid data object #
<1675426-1800>: 09.54.24.320 - 11/26/2009 com.ibm.websphere.dtx.dtxpi.MException: Unknown error code - This is not a valid data object #
at com.ibm.websphere.dtx.j2ca.MAdapterImpl.put(Unknown Source)
<1675426-1800>: 09.54.24.334 - 11/26/2009 Calling End Transaction - Rollback
<1675426-1800>: 09.54.25.464 - 11/26/2009 JCA Tracing: Entering method.
<1675426-1800>: 09.54.25.465 - 11/26/2009 JCA Tracing: Entering method.
<1675426-1800>: 09.54.25.468 - 11/26/2009 JCA Tracing: Notifying 1 connection listener(s) that client has closed connection handle com.ibm.j2ca.ftp.FTPFileC
onnection@77837783
<1675426-1800>: 09.54.25.469 - 11/26/2009 JCA Tracing: Removed connection event listener: com.ibm.j2ca.base.internal.WBIDefaultConnectionManager@44af44af
<1675426-1800>: 09.54.25.470 - 11/26/2009 JCA Tracing: Entering method.
<1675426-1800>: 09.54.25.470 - 11/26/2009 JCA Tracing: Entering method.
COMMAND
=========
'-TV trace.mtr -is:maxRecords 100 -is:createFileIfNotExists true -is:fileInLocalDirectory false -is:splitCriteria 0 -is:localArchivingEnabledForCreate false -is:deleteOnRetrieve false -is:functionName Create -is:generateUniqueFile false -wtx:ispec com.ibm.j2ca.ftp.FTPFileInteractionSpec -wtx:record com.ibm.j2ca.ftp.record.FTPOutputStreamRecord -mcf:outputDirectory OUTPUT -mcf:userName USERNAME -mcf:filename test.txt -mcf:password PASSWORD -mcf:hostName hostname'
Many Thanks.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange