ALSB FTP Nuance

This was originally posted on my dev2dev blog June 18th, 2008.

One of my customers just recently had an issue with AquaLogic Service Bus's FTP transport.  They were attempting to write a file to a remote ftp site using a Business Service, but they kept getting a 553 error from the FTP server.  The stack looked similar to this:

com.bea.wli.sb.transports.TransportException: Received error response (553) from FTP server [localhost] IP [127.0.0.1 port [21] status [connected] upon executing command [stor ./data/inbound/somefile.csv]
at com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessage(FTPTransportProvider.java:399)
at com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessageAsync(FTPTransportProvider.java:289)
at sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

It turns out that the path on the business service should be relative to the user of the service account of the FTP Business Service based on the directory the user was being placed in upon a successful ftp login.

So the original FTP URI was ftp://locahost:21/data/inbound/

but since a specific user was being used being placed in a user-specific directory by the ftp-server, the URI should have been:

ftp://localhost:21/../../data/inbound

The relative path components are required because the "data" directory is two levels above where the user was being placed.  If you encounter this problem and need help from support, reference case 790268 and they should be able to help you out.

Comments:

I would like to find out more about using Proxy Service for a FTP connection to Linux. It just does not happen for me no matter what i try. Would you be able to help me out on this? Many thanks. Daphne.

Posted by Daphne Koh on March 10, 2009 at 09:30 AM PDT #

Daphne, I would encourage you to use the SOA Suite forum, currently the forum for OSB questions, to formulate a question based on the types of things you have tried and some of the trouble-shooting steps you've taken. http://forums.oracle.com/forums/forum.jspa?forumID=320 James

Posted by James Bayer on March 10, 2009 at 09:18 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

James Bayer Image
I was formerly a Product Manager on the WebLogic Server team based out of Oracle HQ. You can find my new blog at http://iamjambay.com.
Follow Me on Twitter
Oracle WebLogic

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today