ESB FTP Adapter Not Archiving to FTP Server
I have a FTP adapter in which I have pointed a logical archive directory to a directory on the FTP server. However, the file is not getting archived to that folder. If I point the logical directory to a shared folder on the server it archives the file. Can I not archive a file on the FTP server? I have checked permissions on the FTP folder and they are correct.
Thanks.
I found the solution to this issue. There is a property named UseRemoteArchive that needs to be set in the WSDL in the <jca:operation> element. See below for details.
<jca:operation
FileType="ascii"
LogicalDirectory="incomingDirectory"
ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
LogicalArchiveDirectory="archiveDirectory"
DeleteFile="true"
IncludeFiles="*\.xml"
PollingFrequency="100"
MinimumAge="0"
OpaqueSchema="false"
UseRemoteArchive="true" >
</jca:operation>
Similar Messages
-
10.1.3.4 - ESB FTP adapter not processing the files in the input directory
I created a process that reads from a logical inputDir. I migrated the ESB service to another box and created the same adapter connection etc. however nothing really happens in this new environment. In the opmn.log i see the following statements and no other info.
2008-12-16 14:03:41,994> <INFO> <collaxa> <ServerManager::loadProcesses> Done loading processes for all domains
<AdapterFramework::Inbound> Instantiating inbound part of Adapter Framework instance: OraESB
<AdapterFramework::Inbound> Adapter Framework instance: OraESB - endpointActivation for portType=Get_ptt, operation=Get
<AdapterFramework::Inbound> Creating new instance of Resource Adapter oracle.tip.adapter.ftp.FTPResourceAdapter
<AdapterFramework::Inbound> Adapter Framework instance: OraESB - starting Resource Adapter oracle.tip.adapter.ftp.FTPResourceAdapter
<FTP Adapter::Inbound> File/FTP Adapter started successfully.
<FTP Adapter::Inbound> ENDPOINT ACTIVATION CALLED IN FTP ADAPTER
<AdapterFramework::Inbound> Adapter Framework instance: OraESB - successfully completed endpointActivation for portType=Get_ptt, operation=Get
<FTP Adapter::Inbound> Connection Created
<FTP Adapter::Inbound> Connection Created
The last message "Connection Created" keeps repeating, but no processing occurs. I tried increasing all the loggers to finest. but still nothing happens.
any idea how to troubleshoot this ? the only difference in the environment is that the new environment has 10.1.3.4 MLR2 and the first one is just plain 10.1.3.4Make sure that you modified the oc4j-ra.xml file in the FtpAdapter directory and have put the correct hostname and username and password. The directory structure looks like this //some-directory/oc4j_soa/application-deployments/default/FtpAdapter/oc4j-ra.xml.
-
FTP adapter --- Not picking up files
Hi,
I have set up an FTP adapter in archive mode to read files from FTP server and process it while archiving a copy of it. I have set up Poll interval at 40 secs and retry interval also set up. It works great the first time . Processes the file and archives it. But when the same files comes in again in the FTP server, I see the foll. message in the adapter monitor "Error: Stopped due to error: com.sap.aii.adapter.file.ftp.FTPEx: inputdat.txt: No such file or directory: No such file or directory."..The file exists in the FTP server but its not processed..I am not sure what I am missing...
-TeresaHi Michal,
I have timestamp set up for archive directory..So every run will create an archive file with timestamp..But the input filename remains the same..Archive functionality would remove the file inthe FTP server..So when the file comes again into the FTP server, the FTP adapter doesn't trigger automatically. Everytime I had to activate the IB for FTP adapter to trigger the process. I know this is not how XI-FTP adapter should work..Our scenario is we would receive weekly files into the FTP adpater with the same name. We need to archive each weekly file and also send it for further processing..I can't be activating the process manually ....I know something is going wrong but can't figure it out...:(..Any help is appreciated...:)
-Teresa -
Hi,
We have a clustered environment in Oracle SOA 10.1.3.4 MLR#1. We are setting up 3 different bpel processes polling 3 different locations and using 3 different data source. When we deploy them none of the ftp polling is working. We looked at various blog and added property for ClusterId
<property name="clusterGroupId">myBpelAdapterCluster</property>
I also tried using a different clustergroupid for each of the bpel process.
Does this clusterGroupId should be different for each BPEL process or can we use myBpelAdapterCluster for all 3. Please suggest me what may be the cause for the ftp adapter not polling.
Thanks
Jagan.I was contacted by our DBA team for an exception received while writing a file to a FTP location.
Then i looked at the exception message and asked them to check the whether they are able to contact the ftp server using command prompt then they said the user password got expired.
They reset the password and its working now.
Am i missing something here :(
Exception:
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.
Thanks,
Vijay
Edited by: veejai24 on 25-Jul-2012 07:10 -
Hi
I trying to get files from a remote FTP server
but the FTP adapter configured is not able to pick up files from the remote folder
using
soa 11.1.1.3
filezilla as FTP server
+<Sep 5, 2011 5:32:56 PM GMT+05:30> <Error> <oracle.soa.b2b.transport> <BEA-00000+
+0> <[IPT_FileRecMonitorError] Error in ftp or file receiver monitor.>+
FINE: Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using mcf
for credentials
FINE: Ftp Adapter Managed Connection Created
FINE: Ftp Adapter Adding Event Listener
FINE: Ftp Adapter Connection Created
+FINE: Ftp Adapter Using locale=[null] for ftp server+
+FINE: Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Wed Aug 31 1+
+9:40:00 GMT+05:30 2011] for [Aug 31 19:40], time offset=[0]+
+FINE: Ftp Adapter Using locale=[null] for ftp server+
+FINE: Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Fri Sep 02 1+
+8:23:00 GMT+05:30 2011] for [Sep 02 18:23], time offset=[0]+
+FINE: Ftp Adapter Using locale=[null] for ftp server+
+FINE: Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Fri Sep 02 1+
+8:33:00 GMT+05:30 2011] for [Sep 02 18:33], time offset=[0]+
+FINE: Ftp Adapter Using locale=[null] for ftp server+
+FINE: Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Mon Sep 05 1+
+3:13:00 GMT+05:30 2011] for [Sep 05 13:13], time offset=[0]+
+FINE: Ftp Adapter Using locale=[null] for ftp server+
+FINE: Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Mon Sep 05 1+
+3:45:00 GMT+05:30 2011] for [Sep 05 13:45], time offset=[0]+
FINE: Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@8
+68852+
can someone help me on this
-Regards
adiKsystimeHey Naresh
thanks for your earlier reply
but I have no luck yet
soa_server logs show
FINE: Ftp Adapter Clearing Event Listeners
FINE: Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using apps
erver credentials
FINE: Ftp Adapter Managed Connection Created
FINE: Ftp Adapter Adding Event Listener
FINE: Ftp Adapter Connection Created
FINE: Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@1
+47dc09+
FINE: Ftp Adapter The candidate set size in matchManagedConnection [1]
FINE: Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using apps
erver credentials
FINE: Ftp Adapter Connection Created
FINE: Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@1
d469b0
FINE: Ftp Adapter The candidate set size in matchManagedConnection [1]
FINE: Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using apps
erver credentials
FINE: Ftp Adapter Connection Created
FINE: Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@1
+040f85+
FINE: Ftp Adapter FTPManagedConnection::destroy called, closing physical socket
and No luck yet in picking up the remote files
regards
adiKsystime -
Sender FTP Adapter not working with certain name
Hello,
We're facing the next problem within XI.
We configured a sender FTP adapter within the central adapter engine. This adapter is configured correctly however for some reason it is not picking up any file from the FTP server.
Changing status to inactive-> active again all kinds of modes and configs we tested.
However when copying this non-working adapter to a new one with a different name (Configuration is exactly the same!!!!!) and use this one in the sender agreement it worked immediately.
Somebody else faced similar problems and managed to solve it because for this error we don't want to adjust our naming conventions....
Thanks,
EmileHi Emile,
This could happen when AE cache is not getting updated.
Goto SXI_CACHE.
Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
Regards,
Anish -
FTP adapter to connect to SFTP server that sits outside of firewall
We have a firewall between soa server and ftp server. There is no proxy server configured on the firewall. We tried two configuration as listed below both were not working. ANy guidance would be greatly appreciated! Thanks!
We are able to do sftp through command prompt from soa server to ftp server.
Kathar
First configuration:
host
port - 22
username
password
sftp - true
transport mode - socket
authenticationType - PASSWORD
Error Received
[2013-05-23T09:05:27.619-10:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 5fb2a7b48dd0cab4:e4632bf:13ec4b1184d:-8000-000000000005a46f,1:30571] [APP: soa-infra] FTP Adapter FTPTestProject [[
BINDING.JCA-11445
The SSH API threw an exception.
The SSH API threw an exception.
The SSH API threw an exception.
Maverick has not been setup properly. Please correct the setup.
at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.setUpPasswordSocketConnection(SSHSessionImpl.java:206)
at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.<init>(SSHSessionImpl.java:128)
at oracle.tip.adapter.ftp.SshImpl.SshImplFactory.getSshImpl(SshImplFactory.java:26)
at oracle.tip.adapter.ftp.SFTPManagedConnection.setupSftpConnection(SFTPManagedConnection.java:154)
at oracle.tip.adapter.ftp.SFTPManagedConnection.<init>(SFTPManagedConnection.java:67)
at oracle.tip.adapter.ftp.FTPManagedConnectionFactory.createManagedConnection(FTPManagedConnectionFactory.java:180)
at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803)
at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:419)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:344)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:323)
at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620)
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:317)
at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:380)
at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129)
at oracle.tip.adapter.ftp.FTPConnectionFactory.getConnection(FTPConnectionFactory.java:102)
at oracle.tip.adapter.ftp.SFTPAgent.preCall(SFTPAgent.java:1192)
at oracle.tip.adapter.ftp.SFTPAgent.validateInputDir(SFTPAgent.java:758)
at oracle.tip.adapter.ftp.inbound.FTPSource.revalidatePollingError(FTPSource.java:1357)
at oracle.tip.adapter.file.inbound.PollWork.onAlert(PollWork.java:476)
at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:357)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: com.maverick.ssh.SshException: Failed to negotiate a transport component [aes192-cbc] [aes256-ctr]
at com.maverick.ssh2.TransportProtocol.A(Unknown Source)
at com.maverick.ssh2.TransportProtocol.C(Unknown Source)
at com.maverick.ssh2.TransportProtocol.processMessage(Unknown Source)
at com.maverick.ssh2.TransportProtocol.startTransportProtocol(Unknown Source)
at com.maverick.ssh2.Ssh2Client.connect(Unknown Source)
at com.maverick.ssh.SshConnector.connect(Unknown Source)
at oracle.tip.adapter.ftp.SshImpl.SSHSessionImpl.setUpPasswordSocketConnection(SSHSessionImpl.java:194)
... 24 more
Second configuration:
host
port - 22
username
password
sftp - true
transport mode - http
authenticationType - PASSWORD
Below error indicates it expects proxy configuration, but we don't have any
Error
Proxy Host: Proxy Port: -1 Proxy UserName: Connection Type: http
[2013-05-23T09:00:42.837-10:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 5fb2a7b48dd0cab4:e4632bf:13ec4b1184d:-8000-0000000000059c8e,1:30566] [APP: soa-infra] FTP Adapter FTPTestProject Exception while setting up session
[2013-05-23T09:00:42.837-10:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms\n] [userId: <anonymous>] [ecid: 5fb2a7b48dd0cab4:e4632bf:13ec4b1184d:-8000-0000000000059c8e,1:30566] [APP: soa-infra] FTP Adapter FTPTestProject [[
BINDING.JCA-11443
Adapter internal error.
Adapter internal error.
The adapter has become unstable. This could be because of incorrect parameters supplied to the adapter. The parameter: [Ljava.lang.String;@19062d06 had value: [Ljava.lang.String;@19062d0c
Please make sure that SFTP has been setup correctly.
Edited by: Kathar on May 23, 2013 12:25 PMHi,
We have a firewall between soa server and ftp server. There is no proxy server configured on the firewall...
We are able to do sftp through command prompt from soa server to ftp server...Some facts above look discordant... My understanding is you have to use http to access a ftp server running outside a firewall and socket if it's inside a firewall...
However, you seem to have access with socket from FtpAdapter and also are able to do sftp via command prompt (without using a proxy!)... Those facts make me believe that the connection is actually not going through the firewall... Is the Ftp server in the internal network? Is the soa server running on Windows or Linux?
Recheck your configuration according to steps on the document bellow and do some further investigation to assure that the connection from soa server to the ftp server is actually going through the firewall... Ask for the network administrator to close the SFTP port on the firewall and see if you still can connect to it...
http://docs.oracle.com/cd/E28280_01/integration.1111/e10231/adptr_file.htm#CACDFFFB
Cheers,
Vlad -
Receiver FTP adapter not intialized
Hello all,
I have set up a receiver File adapter but when I check the adapter monitor it shows me "Adapter not initialized"...The authorizations are prefect since I have set admin id's in the FTP server username and pwd. I would like to check the adapter engine to see if this adpater has been turned on..What is the URL to check the adapter engine in the J2EE stack ?? Also I set up a mail adapter which never shows up in the adapter monitor ..What could be missing??
-KenHi,
go to the path:
<server>\<sapSID>\DVEBMGS10\j2ee\cluster\server0\log\services\com.sap.aii.adapter.file.svc
inside you should be able to find all of you adapters
config_[adaptername] files.
inside you can see their configuration and sometimes
an error message at the end
maybe there will be something over there
Regards,
michal -
FTP adapter not activating on its own
Hi all,
I have set up a sender FTP adapter and whenever a file falls in there the process is not trigered automatically...Everytime we need activate our directory settings to send the file through FTP adapter...I am not able to figure out why the FTP ADAPTER cannot get activated once it receives a file..
Any ideas...
-TeresaHi teresa
What I can figure out is , I think you might not given the polling time , after certain time adapter needs to poll the file from source and excute it. add some value of polling say 60( 60 sec) . It will poll the file after every 60 sec and excute it. also make sure that mode should not be test otherwise it will excute it every time after polling time and u will have huge no of messages in XI.
Hope this will help .
regards
Vinod ahir -
FTP Adapter not picking flat file
Hi,
I am trying to upload a simple flat file using FTP adapter
I have done all the configuraion setings & mapping program as well. But when i used the tcode SXMB_MONI for monitoring, it says "no message available".
Plz help.
Ragards,
RajatHi,
Check these~
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
Mark Helpful Answers
Hope this helps,
Regards,
Moorthy -
AS400 - File adapter not archiving File and Member
Hi Gents,
Specific problem for the archiving of file/members on the AS400 system. When the file adapter is archiving the AS400 member to an AS400 archive file it is leaving an empty file structure in the origin directory. So at the end of the day we have a lot of AS400 Files with no members.
AS400 Technical folks are looking for the FTP 'script' that is being executed on the AS400 to pick up the file and archive it.
Has anyone else encountered this AS400 problem, were you able to solve it?
Also how can I see the exact commands being executed on the AS400 from XI?
Thanks in advance and regards.
MarkExtend the trace file to Debug in Visual Admin, and re run:
 Services
 Log Configurator
 Locations
 Choose the location (Java package) and the tracing level (severity)
(for example, com.sap.aii.adapter.file)
 Root Location > com > sap > aii > File
 Set the severity and choose Copy Severity to Subtree.
Check the log file which will give you the details.
Don't forget to switch this back afterwards.
There are also quite a few OSS Notes relating to problems with Adapter Framework and AS/400... -
Hi All
I created the BPEL process to FTP csv file from FTP Server with FTP Get Adapter with file type "ASCII" mode. Even i mentioned the directory name for incoming files as "/u12/usrvis/noble" and provided "Input.csv" file name in Incoming files with name pattern and made poll frequency to 1 sec.
The path mentioned for directory name here is physical path and it is existing as it is in the server also.
But when i run the process, it is not ftp ing the Input.csv file from FTP server to my local machine.
Please help me out.
Thanks
Suneel -Hi Emile,
This could happen when AE cache is not getting updated.
Goto SXI_CACHE.
Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
Regards,
Anish -
FTP-adapter not picking all files
Hi,
We have scenario, where FTP should pick a file and post it as a idoc to SAP. Now it happens that FTP pick's some files and leaves some out.
The parameters are:
File name = *
Connection mode = Per file transfer
Quality of service = Exactly once
Poll interval (secs) = 3000
If I look at the adapter monitoring the last polling interval was done yesterday morning. How's that possible if interval is 3000 seconds?Hi Tapio,
We also faced the same problem but it was with NFS protocol. Can you pls check with the help of your System Administrator, after putting some more new files into the relevant folder and see what all are the privileges that is coming to each file and also the user group its saying for the files, especially the ones which are not picked.
There is a chance that the one which is not picked can be of a different user group and your FTP user is belonging to different user group.
We are in XI 3.0 SP15..
Pls check the same.
Cheers
JK -
AQ/FTP adapter not working
I am a newbie to oracle interconnect 9i and learning it from the oracle documentation.
I successfully created DB to DB publish/subscribe example and worked on cross referencing as well. Now I am working on AQ and FTP examples. I have following doubts
1. I created the aqapp application for AQ example given in oracle interconnect 9i documentation. My adapter service started successfully.
When I execute the procedure given in the example, to enqueue the xml_raw_q1 queue then the procedure completes successfully but the adapter reacts nothing. I am not sure whether my message is enqueued or not and if it does then why my adapter don’t pick up the message.
2. Regarding FTP, I tried to develop an example for it but was not able to do so. In oracle documentation for FTP adapters, there is no demo example given in oracle documentation as was given for DB adapters. So if someone can provide the same or similar then it will be quite helpful to me to understand FTP adapters as well.Hi Emile,
This could happen when AE cache is not getting updated.
Goto SXI_CACHE.
Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
Regards,
Anish -
FTP Adapter not writing the file in FTP directory
We have desiged BPEL Process which will get data from Oracle and write in txt file in FTP directory.
For last few days, we are getting following error when we invoke the BPEL Process:
file:/u102/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_XXADS_INT033_DEL_EBS_OUT_1.0_0be42a99260084d9bd5104929a8ac1b2.tmp/DELFTPservice.
wsdl [ Put_ptt::Put(opaque) ] - WSIF JCA Execute of operation 'Put' failed due
to: Error saving control file.
Error saving control file: "/u102/product/10.1.3.1/OracleAS_1/j2ee/home/fileftp/controlFiles/ZmbNdvlpVkaee+
OddQzH2Q==/outbound/controlFile_ob.properties"
; nested exception is:
ORABPEL-11080
Error saving control file.
Error saving control file: "/u102/product/10.1.3.1/OracleAS_1/j2ee/home/fileftp/controlFiles/ZmbNdvlpVkaee+
OddQzH2Q==/outbound/controlFile_ob.properties"
Please make sure that a valid control file exists.
Can anyone help me to resolve this?
Thanks,
Hariharan RamakrishnanI tried to redo the config objects but still the same issue is there. anyone has any idea
Maybe you are looking for
-
New ALV field is not displaying
Hi I have added the currency field in the existing ALV report. The final internal table having the currency field and it has value. Curreny field is not displaying in output. Pls help Below is my ALV code for currency. PERFORM FILL_FIELDCAT USING 'WA
-
IPhoto Usage Tips, Tricks, suggestions??
I was hoping someone could help me by answering a couple basic iPhoto usage questions I have... First, is there a way in which I can automatically create an iPhoto "Album" from each of my iPhoto "Events, without having at manually drag each one over?
-
Issue with Monitoring of Subscription Orders
Dear Experts , Recently we are facing an issue in the monitoring of subscription orders. We have scheduled the Monitoring ( Tcode : JKRM) in the background during the night time. Since last few days, our basis guy is complaining about creation of too
-
I have a user that started having trouble with Photoshop CS6 lagging a week or two ago. Everything was fine before that. She reports that all the other adobe apps are working fine. The machine has been used for a couple of years now with no trouble a
-
Hi Experts, When I creating the Technical System we are having the options like 1.Web As ABAP 2. Web AS Java 3. Standalone Java 4. Third Party. I want to know the difference between Web As Java and Stand Alone Java? Which one is used in which scenari