Ubuntu 12.04 On Wed, Aug 22, 2012 at 6:57 PM, Paul Fremantle <[email protected]> wrote:
> Which OS are you on? > > Paul > > On 22 August 2012 13:41, Andun Sameera <[email protected]> wrote: > >> Hi All, >> >> I am trying to test the functionality of transport.vfs.MoveAfterProcess >> using the following configuration, >> >> <proxy name="VFSProxy7" >> transports="vfs" >> startOnLoad="true" >> trace="disable"> >> <target> >> <inSequence> >> <property name="OUT_ONLY" value="true"/> >> <log level="full"/> >> <send> >> <endpoint name="FileEpr"> >> <address >> uri="vfs:file:///media/Studies/My_Works/WSO2_Carbon_Trunk/platform_4.0.0/4.0.0/products/esb/4.5.0/modules/integration/tests/target/test-classes/artifacts/ESB/synapseconfig/vfsTransport/test/out/out.txt"/> >> </endpoint> >> </send> >> </inSequence> >> </target> >> <parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter> >> <parameter name="transport.PollInterval">1</parameter> >> <parameter >> name="transport.vfs.MoveAfterProcess">file:///media/Studies/My_Works/WSO2_Carbon_Trunk/platform_4.0.0/4.0.0/products/esb/4.5.0/modules/integration/tests/target/test-classes/artifacts/ESB/synapseconfig/vfsTransport/test/original/</parameter> >> <parameter >> name="transport.vfs.FileURI">/media/Studies/My_Works/WSO2_Carbon_Trunk/platform_4.0.0/4.0.0/products/esb/4.5.0/modules/integration/tests/target/test-classes/artifacts/ESB/synapseconfig/vfsTransport/test/in/</parameter> >> <parameter name="transport.vfs.FileNamePattern">.*.txt</parameter> >> <parameter name="transport.vfs.ContentType">text/plain</parameter> >> </proxy> >> >> When I put a file to the in folder following exception is thrown in >> console continues. Also I am uploading the config via the Clarity >> Framework. Also I tried without Clarity just running a ESB instance. That >> also fails in the same manner. >> >> TID: [] [WSO2 Enterprise Service Bus] [2012-08-22 18:00:49,992] ERROR >> {org.apache.synapse.transport.vfs.VFSTransportListener} - Error moving file >> : >> file:///media/Studies/My_Works/WSO2_Carbon_Trunk/platform_4.0.0/4.0.0/products/esb/4.5.0/modules/integration/tests/target/test-classes/artifacts/ESB/synapseconfig/vfsTransport/test/in/test.txt >> to >> file:///media/Studies/My_Works/WSO2_Carbon_Trunk/platform_4.0.0/4.0.0/products/esb/4.5.0/modules/integration/tests/target/test-classes/artifacts/ESB/synapseconfig/vfsTransport/test/original/ >> {org.apache.synapse.transport.vfs.VFSTransportListener} >> org.apache.commons.vfs2.FileSystemException: Could not rename >> "file:///media/Studies/My_Works/WSO2_Carbon_Trunk/platform_4.0.0/4.0.0/products/esb/4.5.0/modules/integration/tests/target/test-classes/artifacts/ESB/synapseconfig/vfsTransport/test/in/test.txt" >> to >> "file:///media/Studies/My_Works/WSO2_Carbon_Trunk/platform_4.0.0/4.0.0/products/esb/4.5.0/modules/integration/tests/target/test-classes/artifacts/ESB/synapseconfig/vfsTransport/test/original/test.txt". >> at >> org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1117) >> at >> org.apache.synapse.transport.vfs.VFSTransportListener.moveOrDeleteAfterProcessing(VFSTransportListener.java:425) >> at >> org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:322) >> at >> org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:158) >> at >> org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:107) >> at >> org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67) >> at >> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) >> at java.lang.Thread.run(Thread.java:619) >> >> When I change the transport.vfs.MoveAfterProcess to DELETE it works fine. >> >> Thanks >> AndunSLG >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Paul Fremantle > CTO and Co-Founder, WSO2 > OASIS WS-RX TC Co-chair, VP, Apache Synapse > > UK: +44 207 096 0336 > US: +1 646 595 7614 > > blog: http://pzf.fremantle.org > twitter.com/pzfreo > [email protected] > > wso2.com Lean Enterprise Middleware > > Disclaimer: This communication may contain privileged or other > confidential information and is intended exclusively for the addressee/s. > If you are not the intended recipient/s, or believe that you may have > received this communication in error, please reply to the sender indicating > that fact and delete the copy you received and in addition, you should not > print, copy, retransmit, disseminate, or otherwise use the information > contained in this communication. Internet communications cannot be > guaranteed to be timely, secure, error or virus-free. The sender does not > accept liability for any errors or omissions. > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
