Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java in database sun.net.ftp library ftpclient passive mode

Mark ReichmanJun 18 2008 — edited Jun 18 2008
We just upgraded our DB from 9i to 10gR2. We have quite a bit of java code in the database. According to the DBAs we were using 1.3.1 java in 9i and are also using 1.3.1 with 10g. We are using the sun.net.ftp library in a java object in the db. In this library there is a class called ftpclient. This ftp object in the DB began to failed after the upgrade. In our code we are not issuing any methods of this class specifying to use active or passive mode. Our network people have shown us that the ftp is going into pasv mode right away at startup. According to our network people this used to start up in active mode and according to them ftp always starts in active mode, if not told to do otherwise. Are there default java settings in the database somewhere that control this setting? Im thinking somebody before my time in 9i set this to active and now by default its set to passive. Its not the java object code and the ftp session is going immediately into 'PASV' mode.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2008
Added on Jun 18 2008
0 comments
301 views