Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webdav copy does not always work #117

Open
jspaaks opened this issue Aug 9, 2019 · 0 comments
Open

webdav copy does not always work #117

jspaaks opened this issue Aug 9, 2019 · 0 comments

Comments

@jspaaks
Copy link
Member

jspaaks commented Aug 9, 2019

UploadFileLocalToSftpAbsolutePathsWebdavEquivalent permalink

docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
$ docker pull xenonmiddleware/webdav
Using default tag: latest
latest: Pulling from xenonmiddleware/webdav
050382585609: Pull complete 
176f33c6acfa: Pull complete 
c3ed50c293d9: Pull complete 
22c41ef3a0f5: Pull complete 
1069d92f8ad4: Pull complete 
ee79cfd764eb: Pull complete 
d6c84170e734: Pull complete 
1ce2b585535a: Pull complete 
72e2251604e6: Pull complete 
eb536db73621: Pull complete 
9ae6ab27461a: Pull complete 
Digest: sha256:aae1f93082aa638a868e571efe55f9fa8d6c1d655743509261a8d953c91988dd
Status: Downloaded newer image for xenonmiddleware/webdav:latest
$ docker run --detach --publish 10080:80 --hostname webdav xenonmiddleware/webdav
297d3e296d3ba16da102434b081e6012e824d91aca484dd20fcb954fb4447142
$ cadaver http://localhost:10080/~xenon/uploads/
Authentication required for DAV-upload on server `localhost':
Username: xenon
Password: 
dav:/~xenon/uploads/> ls
Listing collection `/~xenon/uploads/': collection is empty.
dav:/~xenon/uploads/> exit
Connection to `localhost' closed.
$ ./gradlew run -Pmain=nl.esciencecenter.xenon.tutorial.UploadFileLocalToSftpAbsolutePathsWebdavEquivalent

> Task :run
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/daisycutter/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.0/3a3c6a62719d967175b76b63925f1fb495f11437/jaxb-impl-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Done

BUILD SUCCESSFUL in 1s
3 actionable tasks: 1 executed, 2 up-to-date
$ cadaver http://localhost:10080/~xenon/uploads/
Authentication required for DAV-upload on server `localhost':
Username: xenon
Password: 
dav:/~xenon/uploads/> ls
Listing collection `/~xenon/uploads/': collection is empty.
dav:/~xenon/uploads/> exit
Connection to `localhost' closed.
$ ./gradlew run -Pmain=nl.esciencecenter.xenon.tutorial.UploadFileLocalToSftpAbsolutePathsWebdavEquivalent

> Task :run
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/daisycutter/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.0/3a3c6a62719d967175b76b63925f1fb495f11437/jaxb-impl-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Done

BUILD SUCCESSFUL in 1s
3 actionable tasks: 1 executed, 2 up-to-date
$ cadaver http://localhost:10080/~xenon/uploads/
Authentication required for DAV-upload on server `localhost':
Username: xenon
Password: 
dav:/~xenon/uploads/> ls
Listing collection `/~xenon/uploads/': collection is empty.
dav:/~xenon/uploads/> exit
Connection to `localhost' closed.
$ ./gradlew run -Pmain=nl.esciencecenter.xenon.tutorial.UploadFileLocalToSftpAbsolutePathsWebdavEquivalent

> Task :run
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/daisycutter/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.0/3a3c6a62719d967175b76b63925f1fb495f11437/jaxb-impl-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Done

BUILD SUCCESSFUL in 1s
3 actionable tasks: 1 executed, 2 up-to-date
$ ./gradlew run -Pmain=nl.esciencecenter.xenon.tutorial.UploadFileLocalToSftpAbsolutePathsWebdavEquivalent

> Task :run
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/daisycutter/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.0/3a3c6a62719d967175b76b63925f1fb495f11437/jaxb-impl-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Done

BUILD SUCCESSFUL in 1s
3 actionable tasks: 1 executed, 2 up-to-date
$ ./gradlew run -Pmain=nl.esciencecenter.xenon.tutorial.UploadFileLocalToSftpAbsolutePathsWebdavEquivalent

> Task :run
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
Exists: http://localhost:10080/~xenon/uploads/
Exists: http://localhost:10080/~xenon/uploads
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/daisycutter/.gradle/caches/modules-2/files-2.1/com.sun.xml.bind/jaxb-impl/2.3.0/3a3c6a62719d967175b76b63925f1fb495f11437/jaxb-impl-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exists: http://localhost:10080/~xenon/uploads/sleep.sh/
Exists: http://localhost:10080/~xenon/uploads/sleep.sh
file adaptor: Destination path already exists: /~xenon/uploads/sleep.sh

BUILD SUCCESSFUL in 1s
3 actionable tasks: 1 executed, 2 up-to-date
$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant