FTP Adapter Unable to change directory 'inputDir'

Hi all. I'm trying to put the file into BPEL Process, transform and put it to the output directory like in tutorial 129.FTPAdapter FTPDebatching. But I've got this message:
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="code">
<code>550</code>
</part>
<part name="summary">
<summary>file:/C:/OraHome_1/integration/orabpel/domains/default/tmp/.bpel_FTPDebatch0ing_1.0.jar/FTPDebatchingOutput.wsdl
[ Put_File_ptt::Put_File(po) ] - WSIF JCA Execute of operation 'Put_File' failed due to: Error changing directory in the host.
Change working directory to /outputDir in the server failed. ;
nested exception is: ORABPEL-11431 Error changing directory in the host.
Change working directory to /outputDir in the server failed.
Check the error stack and fix the cause of the error.
Contact oracle support if error is not fixable.</summary>
</part>
<part name="detail">
<detail>550 /outputDir: The system cannot find the file specified.</detail>
</part>
</bindingFault>
What am i must to do?

Hi Varun,
Review of the ftp protocol specification
http://www.w3.org/Protocols/rfc959/
http://www.w3.org/Protocols/rfc959/5_Declarative.html
shows that LIST command
LIST
125, 150
226, 250
425, 426, 451
450
500, 501, 502, 421, 530
does not have 550 code among the codes which are supposed to be returned by ftp server in response
to ls command. So, it looks like the ftp server running on AIX platofrm violates the ftp protocol specification.
As a result bpel ftp adapter returns an error and the process goes off-line.
Solution:
Apply patch 4508850.
If for any reason the official patch does not work, then apply the patch manually using the following steps:
1. Stop OC4J_BPEL
2. Create the following directories:
$O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound
$O_H\integration\orabpel\system\classes\oracle\tip\adapter\ftp\inbound
3. Copy the following files
FileSource.class, PollWork.class, FTPSource.class
from the patch to
$O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound\FileSource.class
$O_H\integration\orabpel\system\classes\oracle\tip\adapter\file\inbound\PollWork.class
$O_H\integration\orabpel\system\classes\oracle\tip\adapter\ftp\inbound\FTPSource.class
4. Restart OC4J_BPEL
Cheers,
Anirudh Pucha

Similar Messages

  • FTP Adapter unable to deliver inbound Msg to mediator - NullPointerExceptio

    Hi All,
    I am trying to Poll a XML fIle in remote server thru FTP ADapter, i am getting below error while polling, at server its faulted and can see error message as java.lang.NullPointerException.
    FTP Adapter Project2 Failed to send message {home/XXXXMLFiles/XXXXXX9.XML} to Adapter Framework
    XXXXFTPAdapter Service PollFTP was unable to perform delivery of inbound message to the composite default/Project2!1.0*soa_46421085-96df-4a3a-8a36-026007fac848 due to: java.lang.NullPointerException
    ORAMED-01362:[Runtime Error] Unexpected runtime error occured while processing the message.Possible Fix:Check log file for any exceptions and contact Oracle Support Services for further help.[[
    java.lang.NullPointerException
         at oracle.tip.mediator.dispatch.CaseExecutionPlan.getEffectiveExecutableCases(CaseExecutionPlan.java:146)
         at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processNormalCases(InitialMessageDispatcher.java:271)
         at oracle.tip.mediator.dispatch.InitialMessageDispatcher.processCases(InitialMessageDispatcher.java:250)
         at oracle.tip.mediator.dispatch.InitialMessageDispatcher.dispatch(InitialMessageDispatcher.java:148)
         at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.process(MediatorServiceEngine.java:860)
         at oracle.tip.mediator.serviceEngine.MediatorServiceEngine.post(MediatorServiceEngine.java:631)
         at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
         at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194)
         at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:215)
         at sun.reflect.GeneratedMethodAccessor1320.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy248.post(Unknown Source)
         at oracle.integration.platform.blocks.adapter.fw.jca.mdb.AdapterServiceMDB.onMessage(AdapterServiceMDB.java:606)
         at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:462)
         at oracle.tip.adapter.file.inbound.Publisher.onMessageDelegate(Publisher.java:460)
         at oracle.tip.adapter.file.inbound.Publisher.publishMessage(Publisher.java:397)
         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)
    Thanks usr1

    Linux usually has ftp disabled, try using ssh
    if you are on 10.1.3.3 this has been enabled.
    I would tend to do all my modification in the Enterprise Manger console, not the xml as you are able to get more meaning around the filed names and what they are used for.
    To enable ssh you need to perform the following
    change the port to 22
    set ssh encryption = true
    cheers
    James

  • ESB- FTP adapter unable to poll a file

    I have a FTP adapter it has to poll files, with diff naming convention.(like "asd", 'wer',"jkl","AVC"). But the adapter was unable to poll a file which name start with AVC
    reamining files are polled successfully.At ftp location ftp adapter will poll file and place all records into DB through ESB,for ESB we can set adapters as inbound.Plz give me any suggessions to solve this problem(10.1.3.4).Thq.

    I checked the error logs and it informed it was not able to create the stage directory where as i am only creating the stage directory and providing the path to it.so i could not really understand the exact error.
    Does a stage directory get created automatically anywhere else?

  • FTP Adapter Could not find directory

    I have a BPEL process that I am able to pull from the FTP server, but when I try put a file on the FTP server I get the following errors. I am using the same WSDL to pull and send files. The WSDL is set up as SyncRead with a type = 'MOVE'.
    The BPEL is 1.1 process
    The SOA is 11G
    The FTP server is Windows and the SOA server is Linux.
    FTP Adapter  SCESSftpRemoteFiles:FileFtpMove [ SynchRead_ptt::SynchRead(Empty,opaque) ]  FTPInteraction::could not validate or create directory [/TEST/test/outbound]
    JCABinding=>  SCESSftpRemoteFiles:FileFtpMove [ SynchRead_ptt::SynchRead(Empty,opaque) ]  Could not invoke operation 'SynchRead' against the 'FTP Adapter' due to:
    BINDING.JCA-11096
    The IO operation failed.
    The IO operation failed.
    The "OPER[NOOP][NONE]" IO operation for "/TEST/test/outbound/test.txt" failed.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    JCABinding=>  [default/SCESSftpRemoteFiles!1.0*soa_8a30f7ab-4e61-4139-aabd-0cb77cbff44a.FileFtpMove]:SynchRead  Two-way operation SynchRead() failed
    got FabricInvocationException com.maverick.sftp.SftpStatusException: No such file
    at com.maverick.sftp.SftpSubsystemChannel.A(Unknown Source)
    at com.maverick.sftp.SftpSubsystemChannel.openFile(Unknown Source)
    at com.maverick.sftp.SftpSubsystemChannel.openFile(Unknown Source)
    at com.sshtools.sftp.SftpClient.get(Unknown Source)
    at com.sshtools.sftp.SftpClient.get(Unknown Source)
    at oracle.tip.adapter.ftp.SshImpl.SFTPChannelImpl.get(SFTPChannelImpl.java:247)
    at oracle.tip.adapter.ftp.SFTPClient.getBinaryFileAsStream(SFTPClient.java:548)
    at oracle.tip.adapter.ftp.SFTPAgent.getBinaryFileAsStream(SFTPAgent.java:355)
    at oracle.tip.adapter.ftp.SFTPAgent.getContentAsStream(SFTPAgent.java:396)
    at oracle.tip.adapter.ftp.inbound.FTPSource.getContents(FTPSource.java:982)
    at oracle.tip.adapter.ftp.inbound.FTPSource.getFileFromSource(FTPSource.java:907)
    at oracle.tip.adapter.ftp.outbound.FTPIoOperation.ioOnly(FTPIoOperation.java:134)
    at oracle.tip.adapter.ftp.outbound.FTPIoOperation$2.perform(FTPIoOperation.java:844)
    at oracle.tip.adapter.ftp.outbound.FTPInteraction.executeFTPIo(FTPInteraction.java:308)
    at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:266)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:357)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:595)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeSyncJcaReference(JCAInteractionInvoker.java:545)
    at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performSynchronousInteraction(JCAEndpointInteraction.java:547)
    at oracle.integration.platform.blocks.adapter.AdapterReference.request(AdapterReference.java:183)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:182)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:190)
    at sun.reflect.GeneratedMethodAccessor2231.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy353.request(Unknown Source)
    at oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:858)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:267)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1099)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:594)
    at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:132)
    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:173)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2718) at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1197)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1100) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:76)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:251)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:330)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4650)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4581)
    at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:714)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:559)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:535)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:319)
    at sun.reflect.GeneratedMethodAccessor5158.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    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.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:103)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:113)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:100) 4
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:154)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:113)
    at sun.reflect.GeneratedMethodAccessor1416.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:68)
    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.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    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 com.sun.proxy.$Proxy335.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:30)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:89)
    at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:65)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at com.collaxa.cube.engine.dispatch.Dispatcher$ContextCapturingThreadFactory$2.run(Dispatcher.java:933)
    at java.lang.Thread.run(Thread.java:744)

    Hi,
    on linux just try to vim /TEST/test/outbound/test.txt and see if you can open the file.
    Can be wrong folder or wrong file name/extension.
    Let us know.
    Cheers
    Augusto

  • Powershell : unable to change directory

    HI All,
    I have connected an external drive which is called (e:) to my laptop and trying to get into one of the dir on this exteranl drive but my command is not working. I have got the right prompt which is e:\> but how to get into a different folder?
    the folder is called cmd.talk and i am doing the following:
    e:\>cd:\cmd.talk
    but is not working. It comes back to e:\ promt.
    Thank-you
    SQL 75

    I think you just need to take out the ":\" between cd and cmd.talk.
    Your command would read this way: cd cmd.talk

  • FTP Adapter - ModificationTimeFormat  -issue

    Hi,
    We are using FTP adapter to poll a file from FTP server. We neither have an option to delete or archive files from that FTP remote server hence we are using "FileModificationTime" option. When we use this option, polling adapter errors out with ---
    "Could not get file modification time for file :/testfile.txt. Verify that the values for the "ModificationTimeFormat" activation parameter are correct.Ensure the time format pattern and filename begin index and end index are specified according to the specific FTP server.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
         at oracle.tip.adapter.ftp.inbound.FTPSource.getTimestamp(FTPSource.java:1100)
         at oracle.tip.adapter.file.inbound.FileList.isMinimumAgePeriod(FileList.java:462)
         at oracle.tip.adapter.file.inbound.FileList.ignoreFile(FileList.java:497)
         at oracle.tip.adapter.ftp.FTPClient.populateNlstResults(FTPClient.java:918)
         at oracle.tip.adapter.ftp.FTPClient._listFiles(F"
    Below is the synopsis of log file -
    <2010-04-01 16:21:53,026> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Host test.ftp.server FTP command: MDTM /PGP BAM OUTBND UKFSBAM
    <2010-04-01 16:21:53,078> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTP Command: MDTM, reply:
    500 command not understood
    <2010-04-01 16:21:53,078> <WARN> <default.collaxa.cube.activation> <File Adapter::Inbound> FTPClient.getMDTM(): unexpected 500 is encountered.
    <2010-04-01 16:21:53,078> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Host test.ftp.server FTP command: QUIT
    <2010-04-01 16:21:53,129> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTP Command: QUIT, reply:
    221 Goodbye.
    <2010-04-01 16:21:53,130> <ERROR> <default.collaxa.cube.activation> <File Adapter::Inbound> Could not get file modification time for : PGP BAM OUTBND UKFSBAM
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Control socket being read by [JCA-work-instance:FTP Adapter-27]
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@f20ee14
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTPManagedConnection::destroy called, closing physical socket
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Clearing Event Listeners
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Error retrieving polled files.
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound>
    ORABPEL-11430
    Error in listing files in the remote directory.
    Unable to list file in remote directory.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:470)
    at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:234)
    at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:254)
    at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:144)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-11400
    Can someone please help.
    Thanks,
    Phani

    The FTP server you're connecting to does not understnad the MDTM command the FTP adapter is configured to use in order to obtain the files date/time:
    <2010-04-01 16:21:53,078> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTP Command: MDTM, reply:
    500 command not understood
    Try using one of the other File Modification Time options in the FTP Adapter wizard such as Directory Listing or File Name Substring

  • Need Help on FTP Adapter Archival Process

    Hi Guru's,
    I implemented FTP Adapter for Inbound Operation to read the file from inbound directory and after reading the file should be archived in Archival Directory and Delete the file from directory from inbound directory.
    In my case file is successfully picked from inbound directory and records inserted in to database table. File is not Archiving in Archival Folder and File deleted from Inbound Directory. Here I need to Archive the files in Archival Folder.
    Thanks in Advance
    Could you please help me in this regard and Please provide pointers to me

    <property name="UseRemoteArchive" value="true"/>
    Set this property to "true" to notify the Oracle FTP Adapter that the archival directory is on the same FTP server. If set to "false", the Oracle FTP Adapter uses a local file system folder for archival.
    for more Information here to go : http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/adptr_propertys.htm#CHDEDJEA
    Regards,
    MS Raghava

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

  • Unable to Create FTP Adapter + Oracle ESB

    Hi,
    Following is the scenario in Oracle ESB:-------
    I created one FILE Adapter for reading file from directory and FTP Adapter to put that file to FTP site in Oracle ESB.
    When i checked in the ESB console File was getting picked up by the FILE ADAPTER but unable to put on the FTP Site.
    Could any one please tell me what should i suppose to enter in the field of "Directory for Outgoing Files (physical path):" and what should i select "Physical Path" OR "logical path" i.e in STEP 4
    I have given all access to FTP site i.e READ/WRITE
    Following is the error message i am getting in Oracle ESB Console for the same....
    Could any one please suggest some thing???
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl Put_ptt::Put(opaque) - 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. at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:623) at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:726) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source) at oracle.tip

    Hi JTaylor,
    I am still unable to find FtpAdapter in the EM (Enterprise Manager) so can't find/change the entry for "eis/Ftp/FtpAdapter"
    Following are the some application which are already in my EM.
    Applications:-
    ascontrol, ccore, coreman, datatags, default, esb-dt, esb-rt,
    gateway, hw_services, javasso, orabpel, orainfra, policymanager, ruleauthor ,
    rulehelp , WSIL-App
    Still i am getting the following error which is related to step 2. Entry in the step 2 & oc4j-ra.xml is the same i.2
    ""eis/Ftp/FtpAdapter"
    An unhandled exception has been thrown in the ESB system. The exception reported
    is: "org.collaxa.thirdparty.apache.wsif.WSIFException:
    esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl [
    Put_ptt::Put(opaque) ] - WSIF JCA Execute of operation 'Put' failed due to:
    Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl [
    Put_ptt::Put(opaque) ] - : The Adapter Framework was unable to establish an
    outbound JCA connection due to the following issue: ORABPEL-12510 Unable to
    locate the JCA Resource Adapter via WSDL port element jca:address. The Adapter
    Framework is unable to startup the Resource Adapter specified in the WSDL
    jca:address element: location='eis/Ftp/FtpAdapter'. The reason for this is most
    likely that either 1) the Resource Adapters RAR file has not been deployed
    successfully to the OC4J Application server or 2) the 'location' attribute in
    $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has
    not been set to eis/Ftp/FtpAdapter. In the last case you might have to add a new
    'connector-factory' entry (connection) to oc4j-ra.xml. Please correct this and
    then restart the BPEL/OC4J Application Server ; nested exception is:
    ORABPEL-12511 Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl [
    Put_ptt::Put(opaque) ] - : The Adapter Framework was unable to establish an
    outbound JCA connection due to the following issue: ORABPEL-12510 Unable to
    locate the JCA Resource Adapter via WSDL port element jca:address. The Adapter
    Framework is unable to startup the Resource Adapter specified in the WSDL
    jca:address element: location='eis/Ftp/FtpAdapter'. The reason for this is most
    likely that either 1) the Resource Adapters RAR file has not been deployed
    successfully to the OC4J Application server or 2) the 'location' attribute in
    $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-
    Could please give me u r e-mail id so i can send some snap shot to u ? So it would be greate help for me to solve this problem.
    Thanks & Regards
    Shivraj

  • 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

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

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

  • Dynamically generate terget directory in receiver FTP adapter

    Hi guys,
    I'm trying to set up a scenario where the file will be placed into a terget directiry based on values from the incoming message. I can't use variable substitution as my target message does not contain the needed value, so I'm trying to set up a dynamic configuration in an UDF. Unfortunately, this is not working.. Any ideas, what could be wrong? The receiver FTP adapter always just takes values from it's configuration. It doesn't help when I try to change it in mapping.
    This is the java map code in the UDF:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, a);
    conf.put(key2, "tfilename.txt");
    return "";
    Thanks a lot for any help,
    Olian

    Hi,
    use below code it will work fine
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    String a=conf.get(key);
    String b=conf.get(key1);
    var1 = a+b; ;
    return var1;
    map this udf to root element of your receiver structure.
    Regards,
    Raj

  • How to change the JCA JNDI dynamically using FTP Adapter

    We have 5 FTP Servers, each having a directory to poll. We have created 5 CCI instances for these FTP Adapters in the FTPAdapter deployment. We created a BPEL process and using FTP Adapter to connect to above mentioned servers.
    Question: Customer's requirement is to use a single BPEL process to poll all these FTP Servers at a specified date and time. How can we connect dynamically to each FTP server at specified time.
    (OR)
    Is there any way to change the JCAJNDI dynamically in a FTP Adapter configuration ?
    I have seen that FTP Adapter POLL doesnt take any JCA JNDI/hostname/un/pwd/date/time dynamically.
    Regards
    Pavan

    Hi Pavan,
    It's possible to change the JNDI dynamically but only when you use put operation where you can control the JNDI name at the time of invoking the FTP Adapter as described in below link.
    Dynamic JNDI in FTP Adapter | jca.jndi property not picked by Adapter
    However, can you consider using BPEL process with SyncRead (and read files through all the JNDIs in a loop) and scheduling this BPEL process to a desired frequency?
    Regards,
    Neeraj Sehgal

  • FTP adapter: exc. 550 : No such file or directory

    Hi Men,
    I'm working on 7.0 version.
    I am facing a problem with FTP adapter.
    In few words, I configured a CC FTP sender to get files from a remote server (in test mode).
    As I start this channel, CC monitor retrieves the following error message:
    "Could not process file '<getThisFile>.xml': com.sap.aii.adapter.file.ftp.FTPEx: 550 outbox: No such file or directory."
    where '<getThisFile>.xml' is filename and "outbox" is the directory.
    I presume that it recognizes the filename and the directory but the error message says "dir or file are wrongs".
    I tried the same action by command line with same user and password ftp. Result: I was able to get this file from dir "outbox".
    ...I should exclude a file permission problem.
    Here below, some Logs from "default.trc" file:
    #1.5#001125BDB332006E000000390006802E0004400DCACAD490#1196327887885#com.sap.aii.adapter.file.File2XI##com.sap.aii.adapter.file.File2XI.processFtpList()#J2EE_GUEST#0####ff6d7bd09e5b11dc9e34001125bdb332#XI File2XI[CC_FTP_SND_Order_new/BS_Arianna_DEV/]_57##0#0#Error#1
    #/Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/File#Plain###Retrieving file 'orders.00089872.xml' failed unexpectedly with com.sap.aii.adapter.file.ftp.FTPEx: 550 outbox: No such file or directory.#
    where:
    CC_FTP_SND_Order_new is the CC sender;
    BS_Arianna_DEV related Business Service.
    'orders.00089872.xml' file to get.
    'outbox' dir path
    .... nothing else.
    Have you ever faced a similar problem? Any suggestion to fix it?
    Thanks in advance
    Alex

    Hi friends,
    FTP server is a Microsoft Windows XP [Version 5.1.2600]
    When I log in, I only change in a sub dir called outbox.
    If I put back slash before (for WinOS), the dir path is wrong (cd \outbox should mean that outbox is under root).
    Some FTP server logs:
    Nov 29 09:40:00 golem ftpd[25272]: USER 8023******
    Nov 29 09:40:00 golem ftpd[25272]: PASS password****
    Nov 29 09:40:00 golem ftpd[25272]: SYST
    Nov 29 09:40:00 golem ftpd[25272]: TYPE Image
    Nov 29 09:40:00 golem ftpd[25272]: CWD outbox
    Nov 29 09:40:00 golem ftpd[25272]: PASV
    Nov 29 09:40:00 golem ftpd[25272]: LIST orders*
    Nov 29 09:40:00 golem ftpd[25272]: CWD outbox
    Nov 29 09:40:00 golem ftpd[25272]: QUIT
    I suppose that XI works fine and FTP server receives two times the "cd outbox" command. II also suppose that this Windows FTP server  memorizes the subdir "outbox" each time I log in by FTP with user  "8023******"

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

Maybe you are looking for

  • Checkbox Value in where condition of query

    Hi, I have a check box which shows values based on the LOV's . If i check on the checkbox the values that are selected on the check box must be used in the where condition to update the table. Please suggest me how to take the check box values. Am us

  • Is it feasible to do System copy between SAP r/3 4.7 and ECC 6.0?

    Hello Everyone, Please let me know is it possible to do a system copy between two different SAP versions( SAP R/3 and ECC6.0 ABAP stack) Background: OS: Windows 2003 DB: MSSQL 2005 Appreciate your response Thanks, Vadivambal

  • Home Hub 3 - Poor Wireless Performance and Solutio...

    When I recently joined BT I installed a new Home Hub 3. Setup was fairly straightforward and all appeared   to be working well. My home setup comprises desktops and laptops; the laptops via wireless, and the desktops via a switch and then Ethernet ca

  • Updating indesign Pantone swatch books

    why is it that the pantone book references in design cs4 do not tally up with the pantone books that i have, i am using up to date books with with like for like matches i.e pantone solid uncoated in indesign and in the reference book, yet there is a

  • Populate business delegate

    Hi i studied a bit jsf reason is we need to convert an application. however, i have a question. in struts you have forms and actions. that actionClass populates a business-delegate with formbean data. i don't like this approach. (not that businessDel