Respected Sir, I am trying to split a file using file connector
Below is my FileConnector Proxy : <?xml version="1.0" encoding="UTF-8"?> <proxy name="FileConnectorProxy" startOnLoad="true" transports="vfs" xmlns=" http://ws.apache.org/ns/synapse"> <target> <inSequence> <property name="destination" scope="default" type="STRING" value="file:///C:/Flatfile/ "/> <property name="source" scope="default" type="STRING" value="file:///C:/Flatfile/FileConnInput"/> <property name="xpathExpression" scope="default" type="STRING" value="//catalog/book"/> <fileconnector.splitFile> <source>{$ctx:source}</source> <destination>{$ctx:destination}</destination> <chunkSize>4096</chunkSize> <xpathExpression>{$ctx:xpathExpression}</xpathExpression> </fileconnector.splitFile> </inSequence> <outSequence/> <faultSequence/> </target> </proxy> I added the fileconnector following below link in wso2ei server. https://docs.wso2.com/display/ESB490/Managing+Connectors+in+Your+ESB+Instance To add a connector: On the Main tab in the ESB Management Console, under Connectors click Add. Click Browse, specify the ZIP file, and click Open. Click Upload. The connector will now appear in the Connectors list and is ready to be enabled in your ESB instance. To enable a connector: On the Main tab in the ESB Management Console, under Connectors click List to view the uploaded connectors. Click Enable next to a connector you want to enable, and then confirm that you want to change its status. Repeat this step for each connector you want to enable. While deploying the application it is giving me the following error. [2018-03-26 13:29:10,334] [EI-Core] ERROR - VFSTransportListener Unable to stop service : FileConnectorProxy - unable to find the corresponding protocol endpoint and the application gets deployed as the faulty application . [2018-03-26 13:29:10,533] [EI-Core] INFO - ApplicationManager Successfully Deployed Carbon Application : FileConnectorAppCompositeApplication_1.0.0 {super-tenant} It is not able to pick the file from "FileConnInput" folder. Please find attached error logs. Please guide. With Regards, Aditya
error.log
Description: Binary data
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
