TF400Gateway TroubleShooting

From PresenceWiki
Revision as of 13:36, 11 October 2011 by Graham (Talk | contribs)

Jump to: navigation, search

The first thing to do should be to check the logs in the C:\TF400Gateway\Log directory for the word "error"

Anything other than a Socket Error is considered fatal and needs to be investigated further.

Once a message has been released from the as400, this should appear as an AQR in the TF400Gateway log, so checked for that.

After this we see a variety of packet types:-

AQR - Add Queue Request
MOQ - Message On Queue
MNQ - Message Not Queued
QRU - Queue Request Update


Sending Faxes

When sending a fax the AQR travels down to the TF400Gateway.

The message is requested from the AS400 and downloaded to the TF400Gateway and converted.

The TF400Gateway then interacts with FaxCom via an api to create the fax.

This can be found in the log:-

Sending Emails

When the message type is an email as opposed to fax, we should see CreateFile

ProjEmail : Entering CreateFile

Then Later

ProjEmail : sfcn7307 Updating File E:\Tf400Gateway\tf400\HostQNum_A.ini ProjEmail : Writing line 'A64083' ProjEmail : strDirPath=E:\Program Files\IMPSGATEWAY\FILES\SMTP\SMTPimpsscan\A64083\

HostQNum_A.ini contains the Next Reference that will be created in the Impsgateway scan directory. Once this folder has been created the HostQNum_A.ini will be incremented.

Because the TF400Gateway can interact with several AS400s there may be more than one HostQNum file. One for each driver HostQNum_A.ini, HostQNum_B.ini etc.


TF400.Ini File

[TF400]
ActivitySortType=2
Archiving=None
AS400Port=5203
CheckMissedStatusIntervalInMinutes=30
debug-level=4
DefaultAs400IPAddress=192.168.65.18
DefaultAs400Name=ep400p1                        
DialSuffix=                                                                                         
DriverID=A
EmailRecordsToCheck=5
EmailTimerIntervalBusy=5
EmailTimerIntervalQuiet=60
EuroCharRequired=TRUE
FaxAtt33kConvertWaitTime=5
FaxAttTrysBeforeFail=10
FaxComServerName=E:\program files\Biscom\FaxcomQ_Queue01
FaxComUserName=Administrator
FONT=CO
ForcePCLOverlay=                                                                                    
ForwardFaxMessagesToRouting=false
HostAddress=@presencebpm.com
ImpsGateWayPath=E:\Program Files\IMPSGATEWAY
ImpsgatewayRoutingScanFolder=e:\Program Files\Impsgateway\Files\Routing\RoutingScan\
IncomingImpsgatewayRoutingScanFolder=e:\Program Files\Impsgateway\Files\Routing\RoutingScan\      
IncomingNextImpsgatewayRoutingFolder= 2179
IncomingNextImpsgatewayRoutingTifFileNumber= 6000098
IncomingScanFolder=E:\Faxin
IncomingUploadToAS400=true
IncomingUploadToImpsgateway=false
LincolnEPFaxCLPath=E:\program files\Biscom\FAXCOM Server\u\EPFax\Bin\EPFaxCL.exe
LOCALE=EN-UK
MAILGATE-MAIL=TF400
MainWindow=TF400
MAX_LEGALPAGE_LENGTH_USABLE=1425
MAX_LETTERPAGE_LENGTH_USABLE=1122
MAX_USA_LETTERPAGE_LENGTH_USABLE=1055
MaxDataRead=7168
MaxDelRecsInUploadQueue=40
MaximumActivitiesToQuery=3
MIN_LEGALPAGE_LENGTH=1245
OverrideConvertStatusToIdle=
PCLPageSize=2280
Port=7773
PrintAllPages=TRUE
PrintPageLimit=100
PrintServerCheck=2
ReverseSort=FALSE
Service-Application=TF400$DIRECTORY:TFRequestHandler.exe
SLEEP=15
SockInBuffer=8192
STD_LEGALPAGE_LENGTH_USABLE=1369
SystemDateFormat=MM/dd/yyyy
Transport=TCPIP
UseDefaultCoverPage=false
UseLincolnConverter=True
Version=7.6.4
FaxComPassword=
[Logicals]
TF400$DIRECTORY=E:\TF400Gateway\
TF400$LOG=E:\TF400Gateway\Log\
TF400$TF400=E:\TF400Gateway\TF400\
TF400$TF400_IN=E:\TF400Gateway\TF400\In\
[CloudFax400]
FaxCloudDateFormat=dd/MM/yyyyHH:mm:ss
FaxCloudDirectory=\\grahamxp\c$\CloudFax400_Files\
FaxCloudEnabled=false
FaxCloudGatewayAddress=192.168.65.27
FaxCloudGatewayPortListen=4450
FaxCloudGatewayPortSend=4451
FaxCloudMOQTimeOut=120
FaxCloudSendLogAuditRequest=true
FaxCloudTF400GatewayMachineName=SQLSERVEREP
FaxCloudTimerIntervalBusy=5
FaxCloudTimerIntervalQuiet=60