Originally posted by: Kepa_Screen
Hi again, finally i can update my feedback.
We are still having some trouble with this map.
Looking at the source ( SAP Retail R3 ), at transaction WE02, we can see that there are some IDocs in state 3, and several others in state 12.
We look for the audit logs
cd /home/itfdapargel/exec/mercator/audit_logs/traud find . -mtime -1 -name
"*ZSTO*" -exec grep -i mapstatus
{
} /dev/
null \; ./bak/I_RTL.INT_ZSTOCK_log_AC161BCD00B74A6FB23A1350:<ExecutionSummary MapStatus=
"Valid" mapreturn=
"0" ElapsedSec=
"7.908" BurstRestartCount=
"0"> ./bak/I_RTL.INT_ZSTOCK_log_AC161BCD00B74A6FB23B1351:<ExecutionSummary MapStatus=
"Valid" mapreturn=
"0" ElapsedSec=
"7.201" BurstRestartCount=
"0"> ./bak/I_RTL.INT_ZSTOCK_log_AC161BCD00B74A6FB23D1352:<ExecutionSummary MapStatus=
"Valid" mapreturn=
"0" ElapsedSec=
"7.475" BurstRestartCount=
"0"> ./bak/I_RTL.INT_ZSTOCK_log_AC161BCD00B74A6FB23F1353:<ExecutionSummary MapStatus=
"Valid" mapreturn=
"0" ElapsedSec=
"14.226" BurstRestartCount=
"0"> ...... ...... .......
All executions had gone well, so we think that WSTX part is working correctly, but not the GateWay part.
If we look at GW logs we can see this :
cd /merc8/logs/sgw find . -name
"*.trc" -exec grep -i zsto
{
} /dev/
null \; | grep -i error Error in program
'SAX00010420.PDG.merc.zstock.intranet': *************************************************************** Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Error in application program. Error in program
'SAX00010420.PDG.merc.zstock.intranet': * SAP error code : TSV_TNEW_PAGE_ALLOC_FAILED Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Try ABAP/4 report RSNAPDOK to read complete message text. Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Also look at the system log in the target system Error in program
'SAX00010420.PDG.merc.zstock.intranet': * function/module/line : tsvAllocPages/abtsv.c#/1758 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Parameters Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 0: IT_0 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 1: 1063 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 2: 10800 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 3: 10800 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 4: 8 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 5: 1 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 6: Session memory Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 7: Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 8: Error in program
'SAX00010420.PDG.merc.zstock.intranet': *************************************************************** Error in program
'SAX00010420.PDG.merc.zstock.intranet': ***** closing all connections ...
It seems to be a problem at SAP memory ( abtsv.c ), can't allocate more memory at SAP part.
If we look to the bakup of the input card from SAP, there are files of 32Mb of size.
Also we have a look to dev_rfc.trc file and we can see this errors:
>TS> Wed Jul 29 04:26:59 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [22] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:02 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [24] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:06 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [26] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:17 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [28] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:20 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [19] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:24 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [22] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:27 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [24] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:30 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [26] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:33 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [28] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:37 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [19] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:40 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [22] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:27:57 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': <* RfcDispatch [27] : returns 11:RFC_MEMORY_INSUFFICIENT >TS> Wed Jul 29 04:28:01 2009 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': *************************************************************** T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Error in application program. T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * SAP error code : TSV_TNEW_PAGE_ALLOC_FAILED T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Try ABAP/4 report RSNAPDOK to read complete message text. T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Also look at the system log in the target system T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * function/module/line : tsvAllocPages/abtsv.c#/1758 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * Parameters T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 0: IT_0 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 1: 1063 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 2: 21600 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 3: 21600 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 4: 8 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 5: 1 T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 6: Session memory T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 7: T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': * 8: T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': *************************************************************** T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': ***** closing all connections ...
T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': ********************************************* aborting process. M M [Thr 7968] Wed Jul 29 04:28:08 2009 M [Thr 7968] rfcStackTrace TSV_TNEW_PAGE_ALLOC_FAILED Wed Jul 29 04:28:08 2009 M [Thr 7968] ------------------ C-STACK ---------------------- ------------------------------------------- !!! 0x33591c00 invalid stack address. Signal stack corrupted. => 32 bit R/3 Kernel => 32 bit AIX Kernel => Heap limit = 2147483645 => Stack limit = 33554432 => Core limit = 1073741312 => File size limit = 1073741312 => Heap address = 0xaffff9c0 => Stack address = 0x33591c50 => Stack low = 0x33591c50 => Stack high = 0x2ff22670 ------------------------------------------- => Stack Trace: !!! Invalid stack address encountered: 0x33591c50 !!! Stack corrupted. M [Thr 7968] ------------------------------------------------- **** ERROR file opened at 20090729 042808 DFT, SAP-REL 640,0,165 RFC-VER 3 881595 MT-SL T:11823 Error in program
'SAX00010420.PDG.merc.zcostes.intranet': <* RfcIsValidHandle [29] : returns 18:RFC_INVALID_HANDLE **** ERROR file opened at 20090729 044320 DFT, SAP-REL 640,0,165 RFC-VER 3 881595 MT-SL T:7968 Error in program
'SAX00010420.PDG.merc.zstock.intranet': RfcGetAttributes: Invalid handle [19] ~
We forget to put -AR3 and -TV, we are going to do that change and will update the post with more feed-back.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange