FTP Adapter on Unix

Hi There,
I created a new JNDI Location and configured corresponding connection Factories for the above FTP Adapter. In the connection Factories I entered my username and password and unix server host name. I set the the ftpAbsolutepath to my Home Directory on the server.
I created a simple BPEL process which uses FTP Adapter to get a file and inserts into database as a BLOB. The FTP adapter is not polling and file is not getting deleted.
Please Advise.
Thanks
Krishna
Edited by: user452458 on Apr 7, 2010 1:50 PM
Edited by: user452458 on Apr 10, 2010 9:57 AM

Hi Antonis,
Sorry for the confusion. It didn't pick up at all.
I am using FTP as Service Component.
As it is not polling, I initiated it manually from BPEL Console.
Then it is inserting a record into the Database as a blob.
I am not getting an error. I did not understand how it is inserting data into database when it is not getting the file at all.
I then modified the above BPEL Process by adding one more DB Adapter and FTP Adapter. DB Adapter will read the blob and FTP Adapter will write the file back to the server in a different path.
When I initiate this, I am getting the below error:
Unable to send file to server
;nested exception is
ORABPEL- 11429
Error Sending File to FTP Server.
In summary it seems that the process is not hitting the FTP Server.
But as per connection factory setting, username and password is valid and have access to the server.
Could there be any other reason.
Thanks
Krishna
Edited by: user452458 on Apr 7, 2010 5:03 PM
Edited by: user452458 on Apr 7, 2010 5:45 PM
Edited by: user452458 on Apr 10, 2010 9:54 AM

Similar Messages

  • How to set file permission using Oracle FTP Adapter

    Hi,
    I am using Oracle SOA Suite 11.1.1.4. I am trying to put a file using Oracle FTP adapter on unix box. The file that gets written to target system has file permission as RW/R/R. But this is a legacy system, and for them to consume this file - they expect the file permission to be RW/RW/R.
    They have set the .profile with the required permissions for the ftp user account that we are using. But still when my BPEL process writes a file to unix box through ftp adapter, the file permission is RW/R/R.
    Is there any way to control file permissions while writing files using ftp adapter? Any help would be highly appreciated.

    907597 wrote:
    But these setting needs to be done on unix server. Yes, that's the way to go... There's no config for that on FtpAdapter as far as I know...
    This setting will enable the same configurations for all other ftp accounts on the server, which doesnt sound correct. Any other way of doing this? Or can this be done only for one ftp account?You have to check if your ftp server is capable of having different umask for different ftp users... I believe most do not...
    http://h30499.www3.hp.com/t5/System-Administration/Setting-FTP-umask-per-user/td-p/2590101#.UMZ0TeEe7ng
    Cheers,
    Vlad

  • FTP Adapter configuration for UNIX env

    Hi
    Can anyone help in setting up an FTP adapter which will just read files from the given location in a UNIX environment. I have done the same in windows environment with FILEZILLA and it works fine. Now i need to implement the same in UNIX environment. So i have the composite ready. All i need is what settings need to be made in UNIX env..??
    Edited by: 944160 on Dec 20, 2012 1:21 AM

    Resolved

  • FTP adapter pass file name to command

    I am executing a command after the reciever FTP adapter.  The filename that ftp-ed has a dynamic name and I need to execute the command against that file.  Is there a way I can pass that filename as a variable to the unix command.  I know how the UNIX shell wants it, I just do not know how to set that name as a variable in XI.
    Thanks
    Skip Ford

    Skip
    Go through this url where you can pass the same filename from a sender to a receiver file adapter. But you SP should be 14 and above.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Hope this helps.....
    ---Satish

  • Issue in SFTP configuration in FTP adapter (Oracle SOA 10.1.3.3)

    Hi,
    We are trying to connect FTP adapter to SFTP server and have made all the necessary configuration changes required to $ORACLE_HOME/j2ee/oc4j_soa/application-deployments/default/FtpAdapter/oc4j-ra.xml. Following properties are updated in this file.
    <config-property name="host" value="sftp.server.ip.address"/>
    <config-property name="port" value="22"/>
    <config-property name="username" value="userID"/>
    <config-property name="password" value="passwd"/>
    <config-property name="useSftp" value="true"/>
    <config-property name="authenticationType" value="publickey"/>
    <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
    <config-property name="preferredCompressionAlgorithm" value="none"/>
    <config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
    <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
    <config-property name="privateKeyFile" value="/home0103/vchander/sftptest/id_rsa"/>
    <config-property name="preferredCipherSuite" value="blowfish-cbc"/>
    <config-property name="transportProvider" value="socket"/>
    Restarted the SOA server after configuring these settings. Created a BPEL process using this FTP adapter to pick a CSV file from a SFTP location and deployed the process successfully on the BPEL server. But FTP adapter is not picking the file from SFTP location and in BPEL log.xml we can see following errors:
    <MSG_TEXT>JCA: ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:153)
    at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:24)
    at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:134)
    at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:64)
    at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:194)
    at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
    at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
    at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
    at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
    at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
    at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
    at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
    at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
    at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
    at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
    at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:96)
    at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:984)
    at oracle.tip.adapter.ftp.SFTPAgent.getFileList(SFTPAgent.java:316)
    at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
    at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:252)
    at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:142)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:797)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    It seems all SFTP server related settings are proper but still logs are saying it’s an issue with SFTP server settings. Also I am able to do SFTP successfully from UNIX prompt but the same settings are not working for SOA suite.
    I would appreciate any inputs on the same.
    Thanks in Advance,
    Uday

    Hi,
    I am herewith attaching the complete log exceptions that are getting caught in log.xml for SFTP configuration.
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.224-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>28</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210857159587:619</UNIQUE_ID><SEQ>20</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: JCAActivationAgent::init - Initializing the JCA activation agent, processId='bpel://localhost/default/TestSftpProcess~1.0/</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.225-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>28</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210857159587:619</UNIQUE_ID><SEQ>20</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
    process='bpel://localhost/default/TestSftpProcess~1.0/'
    domain='default'
    WSDL location='sfile.wsdl'
    portType='Get_ptt'
    operation='Get'
    activation properties={portType=Get_ptt}
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.229-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>28</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210857159587:619</UNIQUE_ID><SEQ>20</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: Adapter Framework instance: OraBPEL - endpointActivation for portType=Get_ptt, operation=Get</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.330-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>28</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210857159587:619</UNIQUE_ID><SEQ>20</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: ENDPOINT ACTIVATION CALLED IN FTP ADAPTER</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.331-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>28</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210857159587:619</UNIQUE_ID><SEQ>20</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: Adapter Framework instance: OraBPEL - successfully completed endpointActivation for portType=Get_ptt, operation=Get</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.373-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>20</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496827:172</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: The connection variable is null in postCall. This could be because of a call postCall w/o a preceeding call to preCall.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.373-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>20</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496827:172</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
         at java.lang.Throwable.<init>(Throwable.java:57)
         at java.lang.Throwable.<init>(Throwable.java:68)
         at javax.resource.ResourceException.<init>(ResourceException.java:49)
         at oracle.tip.adapter.api.exception.PCResourceException.<init>(PCResourceException.java:108)
         at oracle.tip.adapter.file.FileResourceException.<init>(FileResourceException.java:87)
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:153)
         at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:24)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:134)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:64)
         at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:194)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:96)
         at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:984)
         at oracle.tip.adapter.ftp.SFTPAgent.getFileList(SFTPAgent.java:316)
         at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
         at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:252)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:142)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:797)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.382-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>20</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496827:172</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
         at java.lang.Throwable.<init>(Throwable.java:57)
         at java.lang.Throwable.<init>(Throwable.java:68)
         at javax.resource.ResourceException.<init>(ResourceException.java:49)
         at oracle.tip.adapter.api.exception.PCResourceException.<init>(PCResourceException.java:108)
         at oracle.tip.adapter.file.FileResourceException.<init>(FileResourceException.java:87)
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:153)
         at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:24)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:134)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:64)
         at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:194)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:96)
         at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:984)
         at oracle.tip.adapter.ftp.SFTPAgent.getFileList(SFTPAgent.java:316)
         at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
         at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:252)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:142)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:797)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.383-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>20</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496827:172</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
         at java.lang.Throwable.<init>(Throwable.java:57)
         at java.lang.Throwable.<init>(Throwable.java:68)
         at javax.resource.ResourceException.<init>(ResourceException.java:49)
         at oracle.tip.adapter.api.exception.PCResourceException.<init>(PCResourceException.java:108)
         at oracle.tip.adapter.file.FileResourceException.<init>(FileResourceException.java:87)
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:153)
         at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:24)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:134)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:64)
         at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:194)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:96)
         at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:984)
         at oracle.tip.adapter.ftp.SFTPAgent.getFileList(SFTPAgent.java:316)
         at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
         at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:252)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:142)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:797)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.383-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>20</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496827:172</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
         at java.lang.Throwable.<init>(Throwable.java:57)
         at java.lang.Throwable.<init>(Throwable.java:68)
         at javax.resource.ResourceException.<init>(ResourceException.java:49)
         at oracle.tip.adapter.api.exception.PCResourceException.<init>(PCResourceException.java:108)
         at oracle.tip.adapter.file.FileResourceException.<init>(FileResourceException.java:87)
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:153)
         at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:24)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:134)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:64)
         at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:194)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:96)
         at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:984)
         at oracle.tip.adapter.ftp.SFTPAgent.getFileList(SFTPAgent.java:316)
         at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
         at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:252)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:142)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:797)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.383-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>20</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496827:172</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
         at java.lang.Throwable.<init>(Throwable.java:57)
         at java.lang.Throwable.<init>(Throwable.java:68)
         at javax.resource.ResourceException.<init>(ResourceException.java:49)
         at oracle.tip.adapter.api.exception.PCResourceException.<init>(PCResourceException.java:108)
         at oracle.tip.adapter.file.FileResourceException.<init>(FileResourceException.java:87)
         at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:153)
         at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:24)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:134)
         at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:64)
         at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:194)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:96)
         at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:984)
         at oracle.tip.adapter.ftp.SFTPAgent.getFileList(SFTPAgent.java:316)
         at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
         at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:252)
         at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:142)
         at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
         at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:272)
         at java.lang.Thread.run(Thread.java:797)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.384-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>20</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496827:172</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: Poller raising Alert for exception : ORABPEL-11447
    Error in establishing a session with SSH Server..
    Unable to establish a session with the server.
    Please ensure hostname and port specified to login to the server are correct.
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.414-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.console</MODULE_ID>
    <THREAD_ID>29</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210857170765:622</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>wsdl location : http://ios0103e.idc.company.org:8888/orabpel/default/TestSftpProcess/1.0/TestSftpProcess?wsdl resolved location :http://ios0103e.idc.company.org:8888/orabpel/default/TestSftpProcess/1.0/TestSftpProcess?wsdl</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:02.968-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>13</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856395891:4</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: The connection variable is null in postCall. This could be because of a call postCall w/o a preceeding call to preCall.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:03.044-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>18</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210856496358:166</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: The connection variable is null in postCall. This could be because of a call postCall w/o a preceeding call to preCall.</MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-15T09:13:03.069-04:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ios0103e.idc.company.org</HOST_ID>
    <HOST_NWADDR>10.11.52.102</HOST_NWADDR>
    <MODULE_ID>esb.console</MODULE_ID>
    <THREAD_ID>29</THREAD_ID>
    <USER_ID>oraeintd</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.11.52.102:51559:1210857170765:622</UNIQUE_ID><SEQ>15</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Commit starting +++++++++++++++</MSG_TEXT>
    Any help would be highly appreciated.

  • FTP adapter ESB

    Ok im trying to use an FTP adapter to grab a file from my unix server and bring to my local computer. I setup the correct connection to my unix server in the oc4j file i simply put an ftp adapter out on my workspace and i define that first adapter as the GET sound correct so far? Then while doing the put side of this operation i specified another FTP adapter (i want to bring it back to my local machine for testing) Does this sound correct or would i want a file adapter? In the end im going to want from server to server. <-------- in this case would i want ftp to ftp? Or should i be ok with ftp to ftp at all times.
    Then while making the put adapter why does it ask for the file naming convention to PUT lol i want to put the same file name that i pick up obviously i mean can you change the name before it PUT's?

    You're right.
    the ftp adapter put needs a filename to write/ftp the file.
    http://docs.huihoo.com/oracle/docs/B14099_19/integrate.1012/b25307/adptr_file.htm#CIAHJAEB
    you could the headervariables of the ftp get, to get the filesnames of the just picked up files and transform these to the ftp put

  • InterConnect - FTP adapter:Message queue empty

    Hi,
    I have installed oracle InterConnect 9.0.4.
    The send point and receive end point are configured as separate folders
    ota.send.endpoint=ftp://hcsdlx01/interexample/sender/
    ota.receive.endpoint=ftp://hcsdlx01/interexample/receiver
    We have placed an xml file at the sender location.
    And trying to retrieve at reciever end point
    But we are getting a message saying message queue empty in the oailog.txt
    can anyone shed the possible sources of error.
    Regards
    Venkat

    Finally succeeded in spotting error.
    The FTP adapter.ini file was not configured properly
    The point is that The send point and receive points should be as per the file system.
    In our case the endpoint as we see in browser say:
    ftp://example/endpoint
    but in the file in Unix server was
    <dir1>/<dir2>/endpoint
    In the adapter.ini we changed to endpoint = <dir1>/<dir2>/endpoint.
    It started working properly,
    Thank u marcus

  • Sender FTP Adapter, text mode should convert source file?

    Hi !
    We have a Unix file system where systems and people drop files to be captured by XI. XI runs also on another Unix system.
    We configured the Sender FTP comm channel from XI to use the TEXT mode, to have converted the captured file to Unix TEXT (eol = 0x0A), no matter the format of the file used to transfer the source file to the XI polling folder.
    But we noticed that TEXT or BINARY modes in sender FTP adapter works all the same, like binary.
    What are we doing wrong?
    Thanks,
    Matias

    No. to see the difference put a gif and give txt in file adapter you will get an error for the same file u use binary it works.
    their is difference b/w these . if you use special characters like european then you need to use UTF-8 or UTF-16 or bigInidan  if it is binary then you output will junk charaters for these sysmobls
    Message was edited by:
            Sreeram Reddy

  • FTP Adapter - Send (Target)

    Hi,
    I have interconnect 9i standalone installation on HP-UNIX with most of the adapters installed.
    The integration scenario/flow of the data is:
    Source: DB Adapter
    Target: DB Adapter and FTP.
    I have multiple targets in the above scenario. The integration trigger point is change in a table of the Source DB Adapter.
    The integration works fine from Source DB to Target DB. Whereas the second target adapter FTP is not receiving the data/creating a file as mentioned in the parameter file.sender.file_name_rule in the adapter.ini file. I have included the settings of my adapter.ini below:
    application=trg_consultants_ftp
    bridge_class=oracle.oai.agent.adapter.technology.TechBridge
    ota.type=XML
    ota.send.endpoint=file://localhost/shahul/ftp/out
    file.sender.type=ASCII
    file.sender.file_name_rule=emp_%TIME%.xml
    the other settings is as default. Could any one help me why i am not able receive the file. The APP view of the Ftp adapter was created using a DTD. I exported the PL/SQL code for the application and got a empty package definition. Hence i didnt create the package for Ftp.
    Thanks,
    Shah

    Hi,
    I defined the message type as XML (ota.type=XML). I thought i may have to create the PL/SQL package for FTP adapter too - like a DB Adapter. But now my integration is working and both the DB and FTP adapter are subscribing the message from the hub. Actually i had some of the receiving end property enabled and then i commented them and restarted the adapter then it started working.

  • FTP adapter on BPEL

    I am using Oracle AS 10.1.3.1 on windows. My FTP server is also on Windows. But during invoke of outbound FTP adapter i am getting following error
    I am able to do FTP from AS machine to FTP server (Window) through command prompt and it is working fine.
    Error message
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>550</code>
    </part><part name="summary"><summary>file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_ProfileProcesTest_1.3_42d6d84ceee8de6430d37dfbfaa14936.tmp/FTP_To_OUT.wsdl Put_ptt::Put(Root-Element) - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
    Unable to send file to server.
    ; nested exception is:
    ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    </summary>
    </part><part name="detail"><detail>550 /FTPFolders/CUST_081210184025.txt: The system cannot find the path specified. </detail>
    </part></bindingFault>
    Defination of FTP Adapter is
    <definitions
    name="FTP_To_OUT"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/FTP_To_OUT/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:imp1="http://TargetNamespace.com/Read"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/" location="ftpAdapterOutboundHeader.wsdl"/>
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://TargetNamespace.com/Read" schemaLocation="CUST_2007330181610_1.xsd" />
    </schema>
    </types>
    <message name="Root-Element_msg">
    <part name="Root-Element" element="imp1:Root-Element"/>
    </message>
    <portType name="Put_ptt">
    <operation name="Put">
    <input message="tns:Root-Element_msg"/>
    </operation>
    </portType>
    <binding name="Put_binding" type="tns:Put_ptt">
    <jca:binding />
    <operation name="Put">
    <jca:operation
    FileType="binary"
    PhysicalDirectory="FTPFolders"
    InteractionSpec="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec"
    FileNamingConvention="CUST_%yyMMddHHmmss%.txt"
    NumberMessages="1"
    OpaqueSchema="false" >
    </jca:operation>
    <input>
    <jca:header message="hdr:OutboundHeader_msg" part="outboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="FTP_To_OUT">
    <port name="Put_pt" binding="tns:Put_binding">
    <jca:address location="eis/Ftp/FtpAdapter" />
    </port>
    </service>
    <plt:partnerLinkType name="Put_plt" >
    <plt:role name="Put_role" >
    <plt:portType name="tns:Put_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Defination of OC4j-ra.xml is
    <?xml version="1.0"?>
    <oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
    <imported-shared-libraries>
    <import-shared-library name="oracle.bpel.common"/>
    <import-shared-library name="oracle.xml"/>
    </imported-shared-libraries>
    <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
    <config-property name="host" value="10.zzz.yy.xxx"/>
    <config-property name="port" value="21"/>
    <config-property name="username" value="xxx"/>
    <config-property name="password" value="yyy"/>
    <config-property name="keepConnections" value="true"/>
    <config-property name="serverType" value="win"/>
    <config-property name="serverLocaleLanguage" value=""/>
    <config-property name="serverLocaleCountry" value=""/>
    <config-property name="serverLocaleVariant" value=""/>
    <config-property name="serverEncoding" value=""/>
    <config-property name="useFtps" value="false"/>
    <config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
    <config-property name="walletPassword" value="welcome1"/>
    <config-property name="channelMask" value="both"/>
    <config-property name="securePort" value="990"/>
    <config-property name="keyStoreProviderName" value=""/>
    <config-property name="keystoreType" value=""/>
    <config-property name="keystoreAlgorithm" value=""/>
    <config-property name="enableCipherSuits" value=""/>
    <config-property name="proxyHost" value=""/>
    <config-property name="proxyPort" value=""/>
    <config-property name="proxyUsername" value=""/>
    <config-property name="proxyPassword" value=""/>
    <config-property name="proxyType" value=""/>
    <config-property name="proxyDefinitionFile" value=""/>
    <config-property name="useProxy" value="false"/>
    <config-property name="useSftp" value="false"/>
    <config-property name="authenticationType" value="password"/>
    <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
    <config-property name="preferredCompressionAlgorithm" value="none"/>
    <config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
    <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
    <config-property name="privateKeyFile" value=""/>
    <config-property name="preferredCipherSuite" value="blowfish-cbc"/>
    <config-property name="transportProvider" value="socket"/>
    <connection-pooling use="none">
    </connection-pooling>
    <security-config use="none">
    </security-config>
    </connector-factory>
    </oc4j-connector-factories
    Edited by: user6408601 on Dec 10, 2008 6:03 AM

    Probably the Windows FTP server chokes on the path "/FTPFolders/CUST_081210184025.txt" as it uses Unix separators. You may need to use "\FTPFolders\CUST_081210184025.txt". I can't see the properties in the XML you have given, but when you configure the FTP adapter in the application server console there should be one field for the separator and one for the root folder. Both should be "\" rather than "/" on Windows. The default is "/".
    Good luck!

  • FTP adapter without change directory - is it possible?

    Guys,
    I have an FTP adapter question. We are trying to both
    send and receive a file using FTP. To do this we use
    the server, user ID, password (etc) and the directory
    name. The directory is mandatory.
    After connecting to the ftp server, XI always seems to
    issuing a "cd <directory>" command, however this fails
    because this target company doesn't want to give
    anybody the option to do a "cd" command on their FTP
    server, therefore the whole file transmission fails.
    Is there any way for XI not to use a "cd"?
    We could just place the file on our server and run a
    Unix scripts to FTP it over, but it would be such a
    backward solution.
    Any ideas?
    It would be a disappointment if SAP didn't think of
    this.
    Your help would be much appreciated, thanks a lot,
    Viktor

    Hi Viktor,
         What i could understand from your question is that in the FTP server you'll be writing a file in folder A and once the writing is done you need to get it moved to Folder B using a 'CD' OS command. But this OS command is not allowed in the FTP server.
        If that is the case then it will be better to write the file directly into the Folder B. But in the file adapter use the option 'Use Temporary File'. In that case until and unless the file is written fully the file will be having the name .tmp or so.
        The advantage will be the third party server could be polling the folder B for a file *.txt in that case it won't pick this .tmp file.
    Cheers
    JK
    PS: Award points if this helps you.

  • Change in file permission in ftp adapter

    Hi All,
    I am facing a problem in ftp adapter. I have a text file with 777 permissions when i am moving the file with ftp adapter(FTPMove operation to another folder file permissions are getting changed to 644. But if i move the file using command prompt permissions are same. The server is unix machine.
    Can anyone plz tell me that how the files can be moved with same permissions using ftp adapter. i m using jdeveloper11.1.1.4.0. and soa11g.
    Thanks in advance,
    Sourbh

    Actually i use File Zilla client for file move and my question is that Is there a way that ftp adapter dont change file permissions while moving a file from one directory to another directory.

  • JCA Binding error with FTP Adapter on put operation

    Hi
    I am facing a problem with put operation with ftp adapter. my soa service will get file from the 1st ftp server (Unix) as attachment and is putting the file on another ftp serve(Unix)r. the put operation is failing with the below error:-
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server. Error sending file to FTP Server. Unable to send file to server. Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>Unexpected termination: Socket closed</detail></part><part name="code"><code>null</code></part></remoteFault></bpelFault>
    this is a SFTP server and the corressponding property is set to true on the configuration. I had also recreated the jndi again & also increased the max connections to 700, but still facing the same issue. Also i am able to ftp the files to this location through filezilla. Also i continously getting the below errors in soa_server1.out:-
    <Jul 24, 2012 7:25:11 AM CDT> <Error> <oracle.soa.bpel.engine> <BEA-000000> <Unhandled exception for ComponentDN=default/NShoreAccrualConcService!1.0*soa_9113be23-2e93-4e54-9987-2e8ae5a4b2e6/ProcessNShoreAccurals CompositeInstanceId=330020 ComponentInstanceId=330018>
    <Jul 24, 2012 7:25:11 AM CDT> <Error> <oracle.soa.bpel.engine> <BEA-000000> <This exception occurred because the fault thrown in the BPEL flow was not handled by any fault handlers and reached the top-level scope. Root cause :
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server.
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    ,detail=<detail>Unexpected termination: Socket closed</detail>
    ,code=<code>null</code>}
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:338)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1059)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:586)
         at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:130)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74)
         at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2543)
         at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1165)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1071)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4430)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4361)
         at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:698)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:555)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:673)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:293)
         at sun.reflect.GeneratedMethodAccessor1687.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
         at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
         at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
         at sun.reflect.GeneratedMethodAccessor1119.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy277.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    >
    <Jul 24, 2012 7:25:11 AM CDT> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-000000> <failed to handle message
    com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server.
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>

    Error itself indicates the potential issues -
    Please ensure
    1. Specified remote output Dir has write permission
    2. Output filename has not exceeded the max chararters allowed by the OS and
    3. Remote File System has enough spaceRegards,
    Anuj

  • FTP Adapter  Sync Read in SOA Suite cluster  giving issues

    Hello All ,
    I am trying to use a FTP Adapter in sync read mode in bpel in clustered environment.
    FTP Adapter has to sync read a file from a remote unix server. And during this the error that comes is file not found.
    ORABPEL-11007
    No Data to process.
    File /o31364629.pdf to be processed was not found or not available or has no content
    Whereas FILE IS THERE IN THE DIRECTORY.
    This issue is coming intermittent . I do have some successful BPEL instances coming up.
    But majorly its failing.
    Now turnign the logs in DEBUG mode said its trying to create some temp file which is unable.
    Caused by: ORABPEL-11440
    Error in writing temp file after getting content.
    Error in writing temp file after getting content for file: o31364629.pdf
    Please ensure 1. the local filesystem has write permission 2. local file system is not full.
    Please see below full log.
    <2009-12-16 10:47:30,970> <INFO> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTPInteraction Created
    <2009-12-16 10:47:30,971> <DEBUG> <LiebertServices.collaxa.cube.ws> <AdapterFramework::Outbound> file:/apps/erikap1/aerikap1/erikap1_SoaSuite/bpel/domains/LiebertServices/tmp/.bpel_Test_FTP_1.0_c904a18cefb4038ec3b754d37b34d2d1.tmp/New_FTP_adap.wsdl [ SynchRead_ptt::SynchRead(Empty,opaque) ] - Starting JCA LocalTransaction
    <2009-12-16 10:47:30,971> <DEBUG> <LiebertServices.collaxa.cube.ws> <AdapterFramework::Outbound> file:/apps/erikap1/aerikap1/erikap1_SoaSuite/bpel/domains/LiebertServices/tmp/.bpel_Test_FTP_1.0_c904a18cefb4038ec3b754d37b34d2d1.tmp/New_FTP_adap.wsdl [ SynchRead_ptt::SynchRead(Empty,opaque) ] - Invoking JCA Outbound Interaction
    <2009-12-16 10:47:30,971> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTP outbound adapter interaction invoked : oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec@17b7cfb
    <2009-12-16 10:47:30,971> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FileInteraction::PROPS ====>{}
    <2009-12-16 10:47:30,972> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> Considering header for filename, output filename from header: o31364629.pdf
    <2009-12-16 10:47:30,972> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> Not Considering header for directory as it is blank
    <2009-12-16 10:47:30,972> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTP Agent Determined
    <2009-12-16 10:47:30,972> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTPSource::Local Temp Directory is /ftpdata/elshap1/reach/fileftp/temp_ftp/localhost_LiebertServices_Test_FTP~1.0_/outbound
    <2009-12-16 10:47:30,972> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTP Host: dianadb.emrsn.com
    <2009-12-16 10:47:30,972> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTP Post: 21
    <2009-12-16 10:47:30,973> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTP Username: elsha_p
    <2009-12-16 10:47:30,973> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTP Keep Connections: true
    <2009-12-16 10:47:30,973> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> FTP outbound adapter read file interaction invoked.
    <2009-12-16 10:47:30,973> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> Outbound File Adapter received request to read file with parameters: { Directory=, FileName=o31364629.pdf, DeleteFile=false}, headers=[_directory=[], _filename=[o31364629.pdf], _props=[{}]]
    <2009-12-16 10:47:30,974> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> Creating Temp File iwCmE1Jr7hUYMdXRISl0OA== Local Path: /ftpdata/elshap1/reach/fileftp/temp_ftp/localhost_LiebertServices_Test_FTP~1.0_/outbound Remote Dir:
    <2009-12-16 10:47:30,976> <DEBUG> <LiebertServices.collaxa.cube.ws> <File Adapter::Outbound> Calling getContentsAsStream() on FTPAgent: dianadb.emrsn.com: type = FTP, host = dianadb.emrsn.com:21, username = elsha_p
    directory = null, mode = STREAM, fileType = ASCII, maxRetries = 0 Localfile: o31364629.pdf Path: /ftpdata/elshap1/reach/fileftp/temp_ftp/localhost_LiebertServices_Test_FTP~1.0_/outbound/iwCmE1Jr7hUYMdXRISl0OA== Remote Dir:_
    <2009-12-16 10:47:30,982> <ERROR> <LiebertServices.collaxa.cube.ws> <AdapterFramework::Outbound> file:/apps/erikap1/aerikap1/erikap1_SoaSuite/bpel/domains/LiebertServices/tmp/.bpel_Test_FTP_1.0_c904a18cefb4038ec3b754d37b34d2d1.tmp/New_FTP_adap.wsdl [ SynchRead_ptt::SynchRead(Empty,opaque) ] - Could not invoke operation 'SynchRead' against the 'FTP Adapter' due to:
    ORABPEL-11007
    No Data to process.
    File /o31364629.pdf to be processed was not found or not available or has no content
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
         at oracle.tip.adapter.file.outbound.FileReader.readFile(FileReader.java:253)
         at oracle.tip.adapter.file.outbound.FileReader.executeFileRead(FileReader.java:168)
         at oracle.tip.adapter.file.outbound.FileInteraction.executeFileRead(FileInteraction.java:248)
         at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:172)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:486)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:479)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:528)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:285)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:829)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:412)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3714)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1657)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5787)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1089)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:589)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:421)
         at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-11440
    Error in writing temp file after getting content.
    Error in writing temp file after getting content for file: o31364629.pdf
    Please ensure 1. the local filesystem has write permission 2. local file system is not full.
         at oracle.tip.adapter.ftp.inbound.FTPSource.getContents(FTPSource.java:883)
         at oracle.tip.adapter.ftp.inbound.FTPSource.getFileFromSource(FTPSource.java:799)
         at oracle.tip.adapter.file.outbound.FileReader.readFile(FileReader.java:250)
         ... 43 more
    I am using the setting for file adapter to avoid race condition in HA environment.
    Set oracle.tip.adapter.file.controldirpath=/ftpdata/elshap1/reach in pc.properties file
    This is shared folder accesible from both nodes & is given 777 full permission till the folder outbound where the temp fiel is getting created.
    Please let me know if you have any idea on this.
    This is a severe prodcution issue for us.
    thanks in advance.
    --Shivani                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Just want to highlight the below portion in the log listed.
    Caused by: ORABPEL-11440
    Error in writing temp file after getting content.
    Error in writing temp file after getting content for file: o31364629.pdf
    Please ensure 1. the local filesystem has write permission 2. local file system is not full.
         at oracle.tip.adapter.ftp.inbound.FTPSource.getContents(FTPSource.java:883)
         at oracle.tip.adapter.ftp.inbound.FTPSource.getFileFromSource(FTPSource.java:799)
         at oracle.tip.adapter.file.outbound.FileReader.readFile(FileReader.java:250)
         ... 43 more
    Thanks Shivani

  • Novice Question:  XML File using FTP Adapter Help Requested

    I need to create (publish) a message from an XML file that is written to a particular folder on a Win2000 machine (I intend running the adapter on the same machine). I think that the FTP adapter should be the easiest way to do this but I have only used this adapter to publish DL3-defined files, and only then on a unix platform.
    Is the FTP adapter the correct approach or is there a better way, and if it is the correct approach, can anyone point me to a sample application or pass along a sample adapter.ini so I can figure out configuring the adapter.
    Thanks
    Eric

    We use the FTP adapter for both reading and writing XML files. And it works quite OK (there are a few gliteches but nothing you cannot work around). You need to first make (find) a DTD for your XML file and import that as the AV for the message in IS (IStudio). Then you just point the adapter to the correct directory and it should work from there.
    As for better way Im not sure I'm no InterConnect expert but I dont know any other way to do it.
    Might be worth to notice (if you didn't already know) that you dont actually need FTP if it is on the local filesystems you can in the FTP adapter read from the local FS something along the lines of file:///c:/foo/bar as oposed to ftp://...
    As for adapter.ini you shouldn't need anything besids pointing the reciver to the correct directory the rest is done from IS.
    Let me know if you want more details...
    // MickeM

Maybe you are looking for

  • Error: java.util.ConcurrentModificationException

    Hi Experts, I am trying to login   UME from index.html, i got following error. java.util.ConcurrentModificationException      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)      at java.util.HashMap$ValueIterator.next(HashMap.java:822)

  • APP-FND-01931: Your session is no longer valid or your logon information...

    Hello everyone, I have an instance which was cloned successfully through Rapid clone and after finishing the clone we refreshed the database using the hot backup we have (RMAN). Database is successfully cloned and opened but we are unable to login to

  • Remove Line feed at the end of the file while using file adapter

    Hi All, I have a requirement. We are sending a file from SAP to FTP using file adapter. we are successful in sending the file to FTP but at the end of the file a extra blank line is created . Can anyone please suggest how to remove the extra line fee

  • Intercompany invoice

    Hi, Using which transaction code we post the intercompany invoice receipt manually in the ordering company in intercompany sales process. Thanks

  • FXO not disconnecting

    I have a 2800 Series router with 12.4-15.T1 with 4 FXO ports in it. These ports are connected to another system that forwards calls onto another phone - long story, but it saves huge long distance $$ over satellite phones. The issue is the system get