« Using X.509 Certificates for Identity Propagation with Web Service Security in WebLogic Server | Main | Using REST with Oracle Service Bus »

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 (2)

Daphne Koh:

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.

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

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

james_bayer.jpg

I am a Senior Sales Consultant covering enterprise customers in and around the Chicago area focusing on middleware and internet technologies. My career began as a Java consultant and architect where I experienced the technology shift toward SOA. I enjoy helping customers solve business problems by applying Oracle technology solutions.

About This Entry

This page contains a single entry from the blog posted on June 18, 2008 6:41 PM.

The previous post in this blog was Using X.509 Certificates for Identity Propagation with Web Service Security in WebLogic Server.

The next post in this blog is Using REST with Oracle Service Bus.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle