FTP Adapter in SOA 11g

Hi All,
I am using a FTP adapter to get files from remote server. The FTP server has password authentication type security. In the connection factory I have given host, port, user name, password and sftp=true.  Is there any way to test this connection from Web Logic server itself? From SOA server logs I am not able to see any error but not able to retrieve the files so just want to make sure whether the connection is fine or not.

Hi,
Go to EM into SOA > soa-infra > Logs > Log Configuration, look for oracle.soa.adapter configuration under oracle.soa and set it to TRACE (FINE should be enough)...
That should show something for you in the log files, hopefully you can figure out what it is wrong based on that...
Cheers,
Vlad

Similar Messages

  • 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.

  • CharacterSet Property for FTP adapter in SOA 10.1.3.5

    Hi All,
    I am facing an issue while setting a jca property for FTP adapter. The property I am setting is to sync Read files of UTF-8 type of characterSet. Hence in jca properties I am setting the following value:
    <jca:operation
    FileType="ascii"
    CharacterSet="UTF-8"
    LogicalDirectory="directory"
    InteractionSpec="oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec"
    LogicalArchiveDirectory="FileArchiveDirectory"
    DeleteFile="true"
    FileName="fileName"
    OpaqueSchema="true"
    UseRemoteArchive="true">
    I want this changes to be done since the FTP adapter is not able to read files with the file name having special characters of type UTF-8.
    When I execute this I am getting the following error:
    [ SynchRead_ptt::SynchRead(Empty,opaque) ] - WSIF JCA Execute of operation 'SynchRead' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec due to: Error while setting JCA WSDL Property.
    Property setCharacterSet is not defined for oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec
    Please verify the spelling of the property.
    I am trying this in SOA 10.1.3.5. can you please provide me a solution for this issue.

    Hi,
    I am facing the same scenario.
    FTP adapter is picking file as opq and sending as email attachment.But the adapter not able to resolve special characters like Á....In the received payload of the adapter Á is replaced by ?......
    Can anyone please help me out or suggest a work around.Thanks in advance..
    Thanks & Regards,
    Subho

  • FTP Adapter on SOA 10.1.3.1

    Hi all,
    I am using FTP Adapter to FTP the file, but its not able to invoke.
    Do i need to update anything in oc4j-ra.xml file like username or Password or any other entry, If yes the which username and password or the entry.
    Regards,
    Vikram Singh

    Hi ,
    I did the setting in oc4j-ra.xml file for the FTP server.
    I am getting the follwoing error while running the BPEl process. I have checked the read write permission.
    +++++++++++++
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>550</code>
    </part><part name="summary"><summary>file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_Airticity_Process_1.0_bc04d4d0e0927a043f00d8dd40324e6d.tmp/FTP.wsdl [ Put_ptt::Put(OutputFile) ] - 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 /D:/vikram/output/po_2.xml: The filename, directory name, or volume label syntax is incorrect. </detail>
    </part></bindingFault>
    ++++++++++++++
    Please help.
    Thanks and Regards,
    Vikram singh

  • Problem archiving file using FTP adapter

    Hi,
    I am polling some files from another server using FTP adapter in SOA 11g. Even though I have checked the option to archive the files, the files get archived successfully on the server where the SOA process is running, but I am unable to archive the files on the server from which I am reading the file
    I am not sure whether this is the default behaviour or is there any way to archive files on the same server from which I pick or read the file.
    Any help is appreciated.
    Thanks,
    Namrata

    Hi Neeraj,
    Thanks, the archiving in the remoteLocation worked by doing what you told me...
    I tried archiving to the local machine which is not working for me ... i gave both the properties as below...
    <property name="UseRemoteArchive" value="false"/>
    <property name="PhysicalArchiveDirectory" value="C:\Users\naresh\Desktop\ftp"/>
    Thanks,
    Naresh

  • FTP Adapter XML file with Attachments in SOA 11g.

    Hi All,
    I have a unique requirements where I need to generate an XML file and write it to an FTP server through SOA 11g. The content of this XML File may contain attachments like agreement copies, terms and conditions (files in *.pdf format). Now sometimes I need to add these pdfs as attachments and include them in the XML file and write them to FTP Server from SOA 11g.
    Has anyone ever encountered such a scenario. Can you throw light on how this could be achieved.
    Thanks,
    Venkat

    I am not entirely sure by what do you mean by "including attachments inside the XML" ?
    Do you want to say that XML might contain the contents of the attachment, something like this -
    <XML_Body>
    <Attachment>content in cleartext</Attachment>
    </XML_Body>
    Or should it contain pointers like "href" inside the XML ?

  • FTP Adapter, B2b and SOA performance Test

    Hi All,
    We have a requirement to processes Large XML files ranging from 1 MB to 200 MB. Our Flow is FTP Adapter picks the XML's Repeatable Nodes. BPEL Transforms and Loops thru each XML node and calls B2B Adapter in Each Loop. We are doing Advanced EDI batching to aggregate all the nodes in one XML to one EDI. Files upto 7 MB are working fine with FTP fileraise property= 1 and polling frequency=300s. Files with 14MB are failing with JTA transaction Time Out (Time Out Set=500s) and Server running in PROD mode. We are using SOA Suite 11.1.1.7 and HIPAA 834 Transactions. Is there a Payload size Limitation For FTP Adapter or SOA Suite? Do we need to Follow a different approach to achieve our functionality? Do we need to set any Performance parameters? Please share your thoughts.
    Thanks In Advance!!!

    Pl do not post duplicates - FTP Adapter, B2b and SOA performance Test

  • FTP Adapter on OSB - how to specify logical directory path

    I am using the ftp adapter on osb 11g (Oracle Service Bus Version: [Oracle Service Bus Server Side Dependencies 11.1 Thu Aug 19 02:10:08 PDT 2010 ] Oracle Weblogic Server Version: [WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 ])
    I defined the ftp adapter using jdev and imported the jca artifacts into osb.
    I created a business service using jca adapter to put the file to the ftp server.
    The problem is the write directory on the ftp server is different for each environment - DEV, QA, PROD.
    I used a physical directory specification when defining the adapter in JDEV because it wasn't clear from the help how i would override a logical directory during deployment to osb (it is clear if deploying to soa suite).
    Is there a way to override this dynamically override this directory at runtime. Or even better a way to override during deployment time?

    You do it either way....
    Import the SBConfig jar into the sbconsole and change the value in the JCA file
    or
    Re: Customizing JCA FTP Adapter properties in OSB

  • 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

  • Request-Reply in JMSAdapter SOA 11g using a Topic and a Queue

    Hi All
    We are trying to implement JMS Request\Reply with Tibco EMS Server using JMS Request\Reply. Problem is that Tibco has exposed a topic (where request message has been enqueued) and replies the message is a pre defined JMS queue.
    I am trying to use JMS adapter in SOA 11g (OSB doesnt support request\reply as soon as destination is selected as Topic ) with foreign JMS server setup in weblogic.
    Problem is that when i invoke the composite, it errors out saying that request destination has to be a queue. I tried to find any sample that talks about request-reply with topics but could not find any.
    Is request-reply pattern supported with topics or topic-queue combinations in JMS adapter 11g? Please let u know. Thanks

    Hi All
    The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
    <adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
    wsdlLocation="RemoteOSBJMSService.wsdl"
    xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/JMS/RequestReplyTopic"
    UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
    UIConnectionName="chdsez147855d"/>
    <endpoint-activation portType="Reply_ptt" operation="Reply"
    UITransmissionPrimitive="Request-response">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="PayloadType" value="TextMessage"/>
    <property name="UseMessageListener" value="false"/>
    <property name="DestinationName" value="jms.soa.local.response.q"/>
    </activation-spec>
    </endpoint-activation>
    <endpoint-interaction portType="Request_ptt" operation="Request"
    UITransmissionPrimitive="Request-response">
    <interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
    <property name="TimeToLive" value="0"/>
    <property name="PayloadType" value="TextMessage"/>
    <property name="DeliveryMode" value="Persistent"/>
    <property name="DestinationName" value="jms.soa.local.request.topic"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
    Please help!

  • FINEST debug logs for ftp adapter

    Hi All,
    How do I turn on the FINEST debug level for ftp adapter in SOA application.
    Thanks

    Not sure you can do it just for file but
    login to EM and navigate to SOA -> soa_infra
    right-click on soa_infra and select logs -> log configuration
    expand oracle.soa
    you will see
    oracle.soa.adapter
    set this to the level you desire
    cheers
    James

  • SOA 11g FTP Adapter creating outbound connections every minute

    FTP Adapter SOA 11.1.1.4 build.
    ####<Feb 17, 2011 1:30:49 PM EST> <Info> <Common> <usadanassoad1> <soa_server1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@374c159d> <Jing> <> <f1996a6c9a644552:-510fae37:12e30729d3f:-8000-0000000000008b36> <1297967449047> <BEA-000628> <Created "1" resources for pool "eis/Ftp/DynmManageFtp", out of which "1" are available and "0" are unavailable.>
    ####<Feb 17, 2011 1:31:48 PM EST> <Info> <Common> <usadanassoad1> <soa_server1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@374c159d> <Jing> <> <f1996a6c9a644552:-510fae37:12e30729d3f:-8000-0000000000008b36> <1297967508533> <BEA-000628> <Created "1" resources for pool "eis/Ftp/DynmManageFtp", out of which "1" are available and "0" are unavailable.>
    ####<Feb 17, 2011 1:32:49 PM EST> <Info> <Common> <usadanassoad1> <soa_server1> <weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@374c159d> <Jing> <> <f1996a6c9a644552:-510fae37:12e30729d3f:-8000-0000000000008b36> <1297967569034> <BEA-000628> <Created "1" resources for pool "eis/Ftp/DynmManageFtp", out of which "1" are available and "0" are unavailable.>
    And the total connections are now over --1200-- currently.
    Outbound Connection Pool      Server           State      Current Connections      Created Connections
    eis/Ftp/DynmManageFtp          soa_server1     Running          1               1244
    Any ideas to why connections are being created would be helpful.
    Edited by: 827647 on Feb 25, 2011 12:41 PM

    This was due to polling attempts to "put" within the apps code

  • SOA FTP Adapter stops working abruptly

    Hi All,
    I have a ftp service which provides XML file streams real-time on a remote machine. I connect to this FTP server using the SOA FTP adapter and process files by polling based on timestamp every 3 seconds.
    The issues I face are
    1) The ftp adapter stop working abruptly. Has anybody faced this issue, if yes how can this be resolved?
    2) The XML files comes to FTP location at the rate 2 files per second. Ideally I want to procss this files real-time using FTP adapter. But the backlog build is causing issues. How do I fix it?
    3) If there is any downtime in production how should the SOA FTP application be activated after restart.
    Also, what are the other FTP adapter configuration required to optimize the SOA FTP application to meet my business purpose.

    I am using SOA 11g Fusion Middleware. The error I am getting in the logs are as follows:
    [2010-10-14T15:51:49.116+11:00] [WLS_SOA] [NOTIFICATION] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@152f8c60] [userId: <anonymous>] [ecid: 0000Iid4Vx39xWD_n91FiZ1ChcgY00001u,0] [APP: soa-infra] [composite_name: ProcessData] [component_name: Mediator] [component_instance_id: 89E3E8C0D74E11DF8F0C9FB8AC26F197] [dcid: 46e7c258a0e5cad6:-5a895c67:12ba90f4a18:-8000-000000000000197a] FTP Adapter FetchAvlFiles Could not publish file {20101014T022558ZGA0002.xml} as endpoint has been de-activated.
    [2010-10-14T15:51:49.116+11:00] [WLS_SOA] [NOTIFICATION] [] [oracle.soa.adapter] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@152f8c60] [userId: <anonymous>] [ecid: 0000Iid4Vx39xWD_n91FiZ1ChcgY00001u,0] [APP: soa-infra] [composite_name: ProcessData] [component_name: Mediator] [component_instance_id: 89E3E8C0D74E11DF8F0C9FB8AC26F197] [dcid: 46e7c258a0e5cad6:-5a895c67:12ba90f4a18:-8000-000000000000197a] FTP Adapter FetchAvlFiles [[
    BINDING.JCA-11079
    The endpoint has been released.
    The endpoint has been released.
    The endpoint has been released, the message will not be published.
    This is a non-fatal error. No fix is required.
    at oracle.tip.adapter.file.inbound.Publisher.checkForDeactivation(Publisher.java:627)
    at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:327)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.xlate(InboundTranslatorDelegate.java:476)
    at oracle.tip.adapter.file.inbound.InboundTranslatorDelegate.doXlate(InboundTranslatorDelegate.java:118)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.doXlate(ProcessorDelegate.java:377)
    at oracle.tip.adapter.file.inbound.ProcessorDelegate.process(ProcessorDelegate.java:175)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:349)
    at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
    at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Edited by: user5108636 on 13/10/2010 23:28

  • SOA FTP Adapter Performance Optimization

    The application scenario is as below
    There is a remote FTP service which receives real-time XML files (may be 2 files per second). In my SOA 11g application, I am using FTP adapter to connect to the remote FTP server. The FTP adapter polls for new files based on the file creation timestamp and after processing, deletes the files. All good so far, no issues at all.
    However, there is a huge backlog in the files. How can improve or speed up the FTP adapter process to match or better the remote FTP file creation rate? Please note I am not doing much processing here, just perist the files to a database. The consuming application expects real-time file feed.
    There should be some configuration in SOA FTP adapter to optimize the performance and beat the file spitting FTP monster.
    Thanks

    However, the inbound FTP location receives around 30 files in a second max. How do I configure the FTP adapter to beat this rate. I looked through the document link and tried few trials
    MaxRaiseSize: 20
    SingleThreadModel: both true and false
    ThreadCount:20
    However, I still cannot beat the rate at which the files are put to this location. Please what configuration changes shhould I consider.
    Thanks
    Edited by: user5108636 on 17/10/2010 21:34

  • SOA 11g: DB Adapter design issue

    I have a Stored Procedure that reads from a table, and in my composite I have a DB adapter to read the procedure, pull the data and a use mediator/BPEL to pass the data on to a JMS adapter.
    The question is
    1. how to poll the DB adapter to invoke the Stored Procedure automatically, like file/ftp adapter
    2. can similar polling operation be done on a JMS adapter
    I'm using SOA 11g with Weblogic Server 10.3 and Jdeveloper 11.1.1.2

    You can't poll a stored procedure, you can only poll changes to database tables, and views.
    Yes you can poll JMS like file adapter.
    cheers
    James

Maybe you are looking for

  • AR Open Items

    Hi All, I would like to know what is the trasaction code for uploading the AR Open Items in FI and Vendor master data. Please help me... Thanx Kelly.

  • How to get Source Code out of SCA File

    I have a SCA file comprising SAP Ecommerce 5 solution. What I want to achieve is to get all the source code out of it including the original directory structure. Unzipping it doesn't give me the required results and requires a lot of manual work crea

  • How to see tablespace size in data dictionary

    How can I see the tablespace size, and used tablespace size in data dictionary view? it is not in dba_tablespaces, and v$tablespace Thanks.

  • Embedding pdf or show notes into a podcast in iweb

    Is it possible to embed show notes or a pdffor download into a podcast using iweb? Either through Garage band or by editing the RSS and XML or some other way??

  • XMP Schema for WAV files

    Hi, I am planning to use XMP metadata for WAV files and I would like to create a Schema for the same. I know that that XMP has schemas for other Formats like TIFF and EXIF. If there is a XMP schema for WAV already(probably the Adobe Audition uses it)