Ftpscripting Receiver Receives Stringindexoutofboundsexception; Error Scenario; Working Scenario; Receiver Failure To Read Configuration File - IBM E02HRLL-G - WebSphere Partner Gateway Express Administration Manual

Administration guide
Table of Contents

Advertisement

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-
<blank line>
You have connected to myftp.mycompany.com FTP Server.
<blank line>
Please enter userid and password to login
<blank line>
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,
v On the System Administration > DocMgr Administration > Delivery Manager
166
IBM WebSphere Partner Gateway Enterprise and Advanced Editions: Administration Guide
update the bcg.alertNotifications.mailHost attribute
page, update the bcg.delivery.smtpHost attribute

Advertisement

Table of Contents
loading

This manual is also suitable for:

Websphere partner gateway

Table of Contents