Comments (7)
Apparently the rename
operation is not supported by the commons-vfs2 lib.
In AbstractFileObject.java
protected void doRename(final FileObject newFile) throws Exception {
throw new FileSystemException("vfs.provider/rename-not-supported.error");
}
The version of commons-vfs2 is org.apache.commons.wso2:commons-vfs2:2.0-wso2v15
from siddhi-io-file.
Hi @debelyoo ,
We tested your siddhi app on our end and the move after process operation works properly on our environment.
Could you please verify whether you have write access to your target location in the file system?
from siddhi-io-file.
@debelyoo do you have any feedback on the response made by Minudika?
from siddhi-io-file.
I have write access on the target folder, but I still get the exception.
from siddhi-io-file.
I have checked this source code it works properly without any exception or error .I think it will be better if you check your directly folder whether that input file exist in the correct path or not(' file.uri='file:///home/wso2carbon/wso2sp-4.3.0/wso2/editor/deployment/input/input1.json') and also check is there any existing same name file in move path a("move.after.process='file:///home/wso2carbon/wso2sp-4.3.0/wso2/editor/deployment/processed/input1.json', ") if it is please remove it.
from siddhi-io-file.
It seems like a common issue that faced with VFS file transport. We may need to dig this since we couldn't reproduce this locally.
from siddhi-io-file.
Hi,
I am also facing the same issue in (vfs2 2.2).
Is this Issue resolved ?
from siddhi-io-file.
Related Issues (20)
- Issue in metrics at source & sink levels
- [L1] File source does not accept regex for the file path
- If tailing disabled, and if its a large file which will take time more than the persisting interval, the file processing may stop
- file:move operation does not return false when the source file is not found
- Cannot use FTP or SFTP as dir.uri HOT 1
- File move only move the file to a new directory, it should also able to rename a file and move to same location
- 'include.by.regexp' and 'exclude.root.dir' parameters in file:move() are not dynamic
- Regex matching is not dynamic in file:copy function HOT 1
- Currently trailers are not supported in file source and EOF support was removed for modes other than Regex & Text-full HOT 1
- Exception occurs when file reads the tailer when no new line available
- Add support for SMB and Webdav protocols
- ClassCastException: org.quartz.simpl.RAMJobStore cannot be cast to org.quartz.spi.JobStore
- Need the feature for TSV file read. HOT 1
- Specify allowed combinations of parameters
- File Listening Extension for SI
- Request support for monitor the extenstion
- Improvement to read the file header
- NullPointer Exception when changing states (Run/ Stop) in Tooling HOT 1
- Process files using Cron Expression
- Tailing mode, last line is not reading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from siddhi-io-file.