Unzipping /home/xnat/.gradle/wrapper/dists/gradle-2.2.1-bin/88n1whbyjvxg3s40jzz5ur27/gradle-2.2.1-bin.zip to /home/xnat/.gradle/wrapper/dists/gradle-2.2.1-bin/88n1whbyjvxg3s40jzz5ur27
Set executable permissions for: /home/xnat/.gradle/wrapper/dists/gradle-2.2.1-bin/88n1whbyjvxg3s40jzz5ur27/gradle-2.2.1/bin/gradle
Building pipeline engine
* From: /data/XNAT_anonymised/code/xnat_1.6.5/pipeline
* To: /home/xnat/XNAT/Home/code/Current/pipeline
* Email: xxx
* Site name: XNAT_anonymised
* Site URL: https://xxx:8443/XNAT_anonymised
* SMTP server: 192.168.213.96
Resource folders:
* /data/XNAT_anonymised/code/xnat_1.6.5/pipeline/templates/resources
Script folders:
* /data/XNAT_anonymised/code/xnat_1.6.5/pipeline/templates/scripts
Binary folders:
:copyBinaries UP-TO-DATE
:copyLibs
:copyResources
:copyScripts
:copyAll
BUILD SUCCESSFUL
Total time: 7.353 secs
but then when I tried to run the failed Autorun command via
/home/xnat/XNAT/Home/code/Current/pipeline/bin/XnatPipelineLauncher -pipeline xnat_tools/AutoRun.xml ...
I got
Error: Could not find or load main class org.nrg.pipeline.client.XNATPipelineLauncher
As far as I know I typed all the entries in the gradle.properties file correctly and pipeline/lib appears to have lots of jars in it.
Any suggestions?
Best wishes,
Simon
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.
You actually shouldn’t need gradle installed at all. The XNAT setup script invokes setup.sh (or bat) in the pipeline installation folder, which in turn calls the gradlew[.bat] script in the same folder. That checks to see whether you have gradle installed, uses that if so, and downloads a local copy of gradle if not (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
My guess is that your build.properties file is missing a couple properties.
The new pipeline build scripts actually work in a manner similar to the XNAT builder: there’s an installer folder and a destination folder (and an optional pipeline modules folder). If the XNAT setup can’t find the installer or deployment folders, it will try default locations (pipeline-installer and pipeline in the builder folder for the installer and deployment folders respectively).
The class that you’re getting the message about is in one of the basic pipeline libraries. Check the lib folder and verify that pipelineClient-1.6.5.jar is there.
If it’s not, then something went wrong with the installation. I doubt this is the case, since you said there are plenty of libraries there.
Also, make sure the pipeline location specified in your XNAT configuration is where the application was deployed TO, not FROM.
Now make sure the paths in the bin/XnatPipelineLauncher script are correct. Edit that file and make sure that the paths used in the -classpath parameter point to libraries in the correct location.
ERROR main org.nrg.pipeline.client.XNATPipelineLauncher - Unable to launch pipeline /home/xnat/XNAT/Home/code/Current/pipeline/catalog/xnat_tools/AutoRun.xml
java.lang.NoClassDefFoundError: org/nrg/xdat/bean/XnatAbstractresourceBean
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2625)
at java.lang.Class.privateGetPublicMethods(Class.java:2743)
at java.lang.Class.getMethods(Class.java:1480)
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine