IBM E02HRLL-G Administration Guide - Page 172
FTPScripting Receiver receives StringIndexOutofBoundsException, Error scenario, Working scenario
View all IBM E02HRLL-G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 172 highlights
FTPScripting Receiver receives StringIndexOutofBoundsException If you receive a StringIndexOutOfBoundsException while connecting to a Pro FTP server, request the partner to remove all blank lines from the Welcome Message for the FTP server. This FTP server send this message whenever a client connects to the FTP server. Error scenario The following example shows blank lines in the Welcome Message. ftp myftp.mycompany.com Connected to myftp.mycompany.com 220 You have connected to myftp.mycompany.com FTP Server. Please enter userid and password to login 220 MYCOMPANY FTP Server ready. User (myftp.mycompany.com:(none)): Working scenario The following example shows the Welcome Message with the blank lines removed. ftp myftp.mycompany.com Connected to ftp myftp.mycompany.com 220-You have connected to myftp.mycompany.com FTP Server. Please enter userid and password to login 220 MYCOMPANY FTP Server ready. User (myftp.mycompany.com:(none)): Receiver Failure to read Configuration File If the Receiver failed to read the configuration file, the following error message is displayed: Unable to update the Receiver Config file java.io.IOException: A file or directory in the path name does not exist. This error occurs when the WebSphere Partner Gateway Receiver is starting and it does not have a connection to the database and it is attempting to read the configuration information from the BCGReceiverConfiguration.xml file. The BCGReceiverConfiguration.xml file is located in a folder specified by the attribute bcg.receiver.configpath on the System Administration Page of the console. Ensure that the path specified by bcg.receiver.configpath is correct. Configuring Users to receiving Alerts Notification If the SMTP configuration has not been provided in the System Administration page of the WebSphere Partner Gateway console, the configured alerts are not sent to the Users because document manager fails to locate the necessary SMTP configuration. To configure the alerts, update the values of the following two attributes: v On the System Administration > DocMgr Administration > Alert Engine page, update the bcg.alertNotifications.mailHost attribute v On the System Administration > DocMgr Administration > Delivery Manager page, update the bcg.delivery.smtpHost attribute 166 IBM WebSphere Partner Gateway Enterprise and Advanced Editions: Administration Guide