irodswebdav's People
irodswebdav's Issues
Wrong thread creation code
This code is wrong:
for (int i = 0; i < filesToPutIRODSPaths.size(); i++) {
Folder fold = getFolderForPath(filesToPutIRODSPaths.get(i));
PutTransferRunner runner = new PutTransferRunner(service, filesToPutLocalPaths.get(i), fold);
Thread putThread = new Thread(runner);
putThread.start();
}
It results in many processes
Use http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/package-summary.html instead of basic threads
Very strange errors during file open
INFO 2014-10-09 18:51:26,199 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo start
INFO 2014-10-09 18:51:29,435 com.helloworld.FileService - enter getInstance()
INFO 2014-10-09 18:51:29,810 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo finished 3607ms, Status:HTTP/1.1 207 Multi-status, Length:null
INFO 2014-10-09 18:51:30,857 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/desktop.ini start
INFO 2014-10-09 18:51:31,019 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo/home)
INFO 2014-10-09 18:51:31,079 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home start
INFO 2014-10-09 18:51:32,441 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:32,482 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/desktop.ini finished 1621ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:51:32,907 com.helloworld.FileService - enter getInstance()
INFO 2014-10-09 18:51:33,225 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home finished 2142ms, Status:HTTP/1.1 207 Multi-status, Length:null
INFO 2014-10-09 18:51:35,859 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/desktop.ini start
INFO 2014-10-09 18:51:35,933 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo)
INFO 2014-10-09 18:51:36,025 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods start
INFO 2014-10-09 18:51:36,140 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo)
INFO 2014-10-09 18:51:37,148 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:37,180 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo/home)
INFO 2014-10-09 18:51:39,738 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:39,774 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo/home/rods)
INFO 2014-10-09 18:51:39,913 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:39,952 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo/home)
INFO 2014-10-09 18:51:43,185 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:44,566 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:45,059 com.helloworld.FileService - enter getInstance()
INFO 2014-10-09 18:51:45,174 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/desktop.ini finished 9309ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:51:45,263 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo/home/rods)
INFO 2014-10-09 18:51:47,681 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:50,487 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods finished 14460ms, Status:HTTP/1.1 207 Multi-status, Length:null
INFO 2014-10-09 18:51:56,444 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/git.exe start
INFO 2014-10-09 18:51:56,512 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo)
INFO 2014-10-09 18:51:58,918 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:51:58,963 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo/home)
INFO 2014-10-09 18:52:02,453 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:52:02,481 com.helloworld.FileService - enter getFilesAndCollectionsUnderParentCollection (/skolkovo/home/rods)
INFO 2014-10-09 18:52:06,405 com.helloworld.FileService - exit getFilesAndCollectionsUnderParentCollection ()
INFO 2014-10-09 18:52:06,662 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/git.exe finished 10215ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:06,703 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/.git start
INFO 2014-10-09 18:52:07,090 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/.git finished 385ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:07,147 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/.git/objects start
INFO 2014-10-09 18:52:07,538 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/.git/objects finished 389ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:07,565 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/objects start
INFO 2014-10-09 18:52:07,958 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/rods/objects finished 391ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:07,983 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/.git start
INFO 2014-10-09 18:52:08,148 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/.git finished 163ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:08,176 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/.git/objects start
INFO 2014-10-09 18:52:08,352 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/.git/objects finished 173ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:08,375 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/objects start
INFO 2014-10-09 18:52:08,517 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/home/objects finished 140ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:08,540 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/.git start
INFO 2014-10-09 18:52:08,668 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/.git finished 127ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:08,692 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/.git/objects start
INFO 2014-10-09 18:52:08,796 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/.git/objects finished 103ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:08,820 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/objects start
INFO 2014-10-09 18:52:08,929 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/skolkovo/objects finished 107ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:08,952 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/.git start
INFO 2014-10-09 18:52:09,024 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/.git finished 70ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:09,047 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/.git/objects start
INFO 2014-10-09 18:52:09,160 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/.git/objects finished 110ms, Status:HTTP/1.1 404 Not Found, Length:null
INFO 2014-10-09 18:52:09,191 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/objects start
INFO 2014-10-09 18:52:09,272 io.milton.http.HttpManager - PROPFIND :: http://localhost:8080/objects finished 78ms, Status:HTTP/1.1 404 Not Found, Length:null
ERROR 2014-10-09 18:52:14,151 org.irods.jargon.core.connection.AbstractConnection - **************************************************************************************
ERROR 2014-10-09 18:52:14,152 org.irods.jargon.core.connection.AbstractConnection - ******** WARNING: POTENTIAL CONNECTION LEAK ******************
ERROR 2014-10-09 18:52:14,153 org.irods.jargon.core.connection.AbstractConnection - ******** finalizer has run and found a connection left opened, please check your code to ensure that all connections are closed
ERROR 2014-10-09 18:52:14,154 org.irods.jargon.core.connection.AbstractConnection - ******** connection is:irods://[email protected]:1247/829053325@qtp-562345204-0/1412866271958, will attempt to disconnect
ERROR 2014-10-09 18:52:14,155 org.irods.jargon.core.connection.AbstractConnection - **************************************************************************************
WARN 2014-10-09 18:52:14,156 org.irods.jargon.core.connection.IRODSProtocolManager - connection returned with force, will forcefully close and remove from session cache
WARN 2014-10-09 18:52:14,158 org.irods.jargon.core.connection.IRODSSession - discarding irods session for: irods://[email protected]:1247
WARN 2014-10-09 18:52:14,159 org.irods.jargon.core.connection.IRODSSession - discarding session that is already closed, silently ignore
migrate to jargon 4.0.2
Look up github for new version
AVoid absolute paths in code
remove all occurences of absolute paths, e.g.
String targetIrodsFileAbsolutePath = "C:\Users\Bogdan\Documents";
you should use system folders instead, e.g.
System.getProperty("java.io.tmpdir");
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.