Test installing XNAT 1.7.1: Tomcat 7 restard failed

413 views
Skip to first unread message

Robin Kämpe

unread,
Dec 20, 2016, 1:20:57 PM12/20/16
to xnat_discussion
Hi!

I am trying to make a fresh xnat 1.7.1 install on a new virtual Ubuntu machine as practice . I have followed the Comprehensive installation guide and I thought I was done. Something is wrong. I see some people have had similar problems but perhaps not identical.

This is the status of tomcat7 after I tried a restard:

 tomcat7.service - LSB: Start Tomcat.
   Loaded: loaded (/etc/init.d/tomcat7; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2016-12-20 17:53:24 GMT; 19min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14877 ExecStop=/etc/init.d/tomcat7 stop (code=exited, status=0/SUCCESS)
  Process: 14886 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)
    Tasks: 16 (limit: 4915)
   CGroup: /system.slice/tomcat7.service
           └─8133 /usr/lib/jvm/java-7-oracle/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassL

Dec 20 17:53:19 osboxes systemd[1]: Stopped LSB: Start Tomcat..
Dec 20 17:53:19 osboxes systemd[1]: Starting LSB: Start Tomcat....
Dec 20 17:53:19 osboxes tomcat7[14886]:  * Starting Tomcat servlet engine tomcat7
Dec 20 17:53:24 osboxes tomcat7[14886]:    ...fail!
Dec 20 17:53:24 osboxes systemd[1]: tomcat7.service: Control process exited, code=exited status=1
Dec 20 17:53:24 osboxes systemd[1]: Failed to start LSB: Start Tomcat..
Dec 20 17:53:24 osboxes systemd[1]: tomcat7.service: Unit entered failed state.
Dec 20 17:53:24 osboxes systemd[1]: tomcat7.service: Failed with result 'exit-code'.
lines 1-18/18 (END)


When looking in the catalina logs I get overwhelmed but I do find one thing (highlighted):
xnat@osboxes:~/Downloads$ cat /var/log/tomcat7/catalina.2016-12-20.log
Dec 20, 2016 5:07:39 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 20, 2016 5:07:39 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Dec 20, 2016 5:07:39 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 20, 2016 5:07:39 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Dec 20, 2016 5:07:39 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 20, 2016 5:07:39 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/7.0.72 (Ubuntu)
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Sep 20 2016 11:28:54 UTC
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.72.0
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            4.8.0-22-generic
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-7-oracle/jre
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.7.0_80-b15
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Oracle Corporation
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /var/lib/tomcat7
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /usr/share/tomcat7
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.awt.headless=true
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx128m
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+UseConcMarkSweepGC
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/var/lib/tomcat7
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat7
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp
Dec 20, 2016 5:07:40 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1289 ms
Dec 20, 2016 5:07:40 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Dec 20, 2016 5:07:40 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.72 (Ubuntu)
Dec 20, 2016 5:07:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Dec 20, 2016 5:07:40 PM org.apache.catalina.core.StandardContext setPath
WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
Dec 20, 2016 5:07:42 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Dec 20, 2016 5:07:42 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat7/webapps/ROOT has finished in 1,726 ms
Dec 20, 2016 5:07:42 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Dec 20, 2016 5:07:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1850 ms
Dec 20, 2016 5:52:02 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/xnat-web-1.7.1.war
Dec 20, 2016 5:52:02 PM org.apache.catalina.startup.ContextConfig beforeStart
SEVERE: Exception fixing docBase for context [/xnat-web-1.7.1]
java.io.IOException: Unable to create the directory [/var/lib/tomcat7/webapps/xnat-web-1.7.1]
    at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:98)
    at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:737)
    at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:862)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:390)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
    at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:388)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:144)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Dec 20, 2016 5:52:03 PM org.apache.catalina.core.StandardContext postWorkDirectory
WARNING: Failed to create work directory [/var/lib/tomcat7/work/Catalina/localhost/xnat-web-1.7.1] for context [/xnat-web-1.7.1]
Dec 20, 2016 5:52:03 PM org.apache.catalina.loader.WebappLoader startInternal
SEVERE: LifecycleException
java.io.IOException: Failed to create destination directory to copy resources
    at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:895)
    at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:606)
    at org.apache.catalina.loader.VirtualWebappLoader.startInternal(VirtualWebappLoader.java:191)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5499)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Dec 20, 2016 5:52:03 PM org.apache.catalina.core.ContainerBase addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xnat-web-1.7.1]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [WebappLoader[/xnat-web-1.7.1]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5499)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 10 more
Caused by: org.apache.catalina.LifecycleException: start:
    at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:632)
    at org.apache.catalina.loader.VirtualWebappLoader.startInternal(VirtualWebappLoader.java:191)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    ... 12 more
Caused by: java.io.IOException: Failed to create destination directory to copy resources
    at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:895)
    at org.apache.catalina.loader.WebappLoader.startInternal(WebappLoader.java:606)
    ... 14 more

Dec 20, 2016 5:52:03 PM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive /var/lib/tomcat7/webapps/xnat-web-1.7.1.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xnat-web-1.7.1]]
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

Dec 20, 2016 5:52:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /var/lib/tomcat7/webapps/xnat-web-1.7.1.war has finished in 718 ms
xnat@osboxes:~/Downloads$


I have set the permissions so that tomcat7 is owned by xnat and I succeeded with the test:
xnat@osboxes:~/Downloads$ ^C
xnat@osboxes:~/Downloads$ ls -ld /var/lib/tomcat7 /var/lib/tomcat7/* /etc/tomcat7 /var/log/tomcat7 /var/cache/tomcat7
drwxr-xr-x 4 xnat xnat 4096 Dec 20 17:07 /etc/tomcat7
drwxr-x--- 3 xnat xnat 4096 Dec 20 17:07 /var/cache/tomcat7
drwxr-xr-x 6 xnat xnat 4096 Dec 20 17:07 /var/lib/tomcat7
drwxr-xr-x 3 xnat xnat 4096 Dec 20 17:07 /var/lib/tomcat7/common
lrwxrwxrwx 1 xnat xnat   12 Sep 20 12:28 /var/lib/tomcat7/conf -> /etc/tomcat7
lrwxrwxrwx 1 xnat xnat   17 Sep 20 12:28 /var/lib/tomcat7/logs -> ../../log/tomcat7
drwxr-xr-x 3 xnat xnat 4096 Dec 20 17:07 /var/lib/tomcat7/server
drwxr-xr-x 3 xnat xnat 4096 Dec 20 17:07 /var/lib/tomcat7/shared
drwxrwxr-x 3 xnat xnat 4096 Dec 20 17:51 /var/lib/tomcat7/webapps
lrwxrwxrwx 1 xnat xnat   19 Sep 20 12:28 /var/lib/tomcat7/work -> ../../cache/tomcat7
drwxr-x--- 2 xnat xnat 4096 Dec 20 17:07 /var/log/tomcat7
xnat@osboxes:~/Downloads$


But I did find that /var/lib/tomcat7/work/ is owned by tomcatt7 and not xnat. Should I try to change this to xnat as well?
xnat@osboxes:~/Downloads$ ls -ld /var/lib/tomcat7/work/*
drwxr-xr-x 3 tomcat7 tomcat7 4096 Dec 20 17:07 /var/lib/tomcat7/work/Catalina
-rw-r--r-- 1 root    root    9281 Dec 20 17:53 /var/lib/tomcat7/work/catalina.policy
xnat@osboxes:~/Downloads$

Could this be it? Prior to trying a fresh install I tried to upgrade an old xnat verson. This is actually the same error I ran into there and that was the reason I tried a fresh install.. Thansk!
Best
Robin

Herrick, Rick

unread,
Dec 20, 2016, 5:02:29 PM12/20/16
to xnat_di...@googlegroups.com

I suspect you have something configured in the Tomcat server.xml file, something along the lines of:

 

<Context path="" docBase="/var/lib/tomcat7/webapps/ xnat">

    <!-- Maybe some stuff in here -->

</Context>

 

Because there’s this warning:

 

WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []

 

Tomcat won’t do that on its own, I don’t think. Have a look at your server.xml and, if there’s anything in there like this, you can comment it out or remove it.

 

Now the error you highlighted is definitely due to permissions and ownership issues. If tomcat owns the folder, it’s highly likely that xnat can’t write there. You need to make sure that all of the folders in your Tomcat installation are owned by the user specified by TOMCAT_USER. This includes following the symlinks under /var/lib/tomcat7! You can do something like this:

 

# chown -Rh xnat.xnat /var/lib/tomcat7

# chown -RH xnat.xnat /var/lib/tomcat7

 

I think that’s correct. The -h and -H options tell chown to work through the links or to affect the links directly, so the two executions change everything under the specified folder including all of the subfolders in symlinked locations AND the symlinks themselves.

 

-- 

Rick Herrick

Sr. Programmer/Analyst

Neuroinformatics Research Group

Washington University School of Medicine

 

Voice: (314) 273-1645

Web: http://www.xnat.org

Twitter: @NrgXnat

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.

 


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.

Robin Kämpe

unread,
Dec 21, 2016, 6:16:46 AM12/21/16
to xnat_discussion
Thanks Rick!

1. There were nothing like that in the server.xml file. The problem was probably due to permissions. Your command did not fix permissions to the links. I had to manually add xnat.xnat as owner of /etc/tomcat7 as well. No there was now error.

I'm not completely there yet though. I don't know if xnat is successfully running because I cannot reach the web server. I have not set up a front end proxy but I feel that could be a last step. Without one, how would I access the page? I have tried:
http://xnat
http://xnat:8080
http://xnat:8080:xnat
http://localhost
http://localhost:8080
http://localhost:8080:xnat

So either Im putting the wrong stuff in the address bar or xnat is not successfully installed.

2. In xnat_1.7 where do I put the stuff I used to put in build.properties?
3. In xnat_1.7 where do I put the stuff I used to put in services.properties (e.g. ldap1)?

How to see if xnat is installed:

Tomcat managed to restart:

xnat@osboxes:/data/xnat$ sudo service tomcat7 status
[sudo] password for xnat:
● tomcat7.service - LSB: Start Tomcat.

   Loaded: loaded (/etc/init.d/tomcat7; generated; vendor preset: enabled)
   Active: active (running) since Wed 2016-12-21 10:46:32 GMT; 15min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 21378 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=0/SUCCESS)
    Tasks: 19 (limit: 4915)
   CGroup: /system.slice/tomcat7.service
           └─21403 /usr/lib/jvm/java-7-oracle/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djav

Dec 21 10:46:27 osboxes systemd[1]: Starting LSB: Start Tomcat....
Dec 21 10:46:27 osboxes tomcat7[21378]:  * Starting Tomcat servlet engine tomcat7
Dec 21 10:46:32 osboxes tomcat7[21378]:    ...done.
Dec 21 10:46:32 osboxes systemd[1]: Started LSB: Start Tomcat..

The war file was used:

xnat@osboxes:/var/log/tomcat7$ ls -ld /var/lib/tomcat7/webapps/*
drwxr-xr-x  3 xnat xnat      4096 Dec 20 17:07 /var/lib/tomcat7/webapps/ROOT
drwxr-xr-x 18 xnat xnat      4096 Dec 21 11:07 /var/lib/tomcat7/webapps/xnat-web-1.7.1
-rw-r--r--  1 xnat xnat 207252960 Dec 20 17:51 /var/lib/tomcat7/webapps/xnat-web-1.7.1.war
xnat@osboxes:/var/log/tomcat7$


Catalina logfiles says something is still wrong. But thee is no folder called common under /usr/share/tomcat7/...:

Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server version:        Apache Tomcat/7.0.72 (Ubuntu)
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server built:          Sep 20 2016 11:28:54 UTC
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.72.0
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            4.8.0-22-generic
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-7-oracle/jre
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.7.0_80-b15
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: JVM Vendor:            Oracle Corporation
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /var/lib/tomcat7
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /usr/share/tomcat7
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties
Dec 21, 2016 11:06:58 AM org.apache.catalina.startup.VersionLoggerListener log
:

Stuff is happening under /data/xnat. There are new logs. But nothing under build. Does this look right?

xnat@osboxes:/data/xnat$ tree .
.
├── archive
├── build
├── cache
├── ftp
├── home
│   ├── config
│   │   └── xnat-conf.properties
│   ├── logs
│   │   ├── access.log
│   │   ├── anon.log
│   │   ├── application.log
│   │   ├── automation.log
│   │   ├── avalon.log
│   │   ├── axis.log
│   │   ├── configuration.log
│   │   ├── dicom.log
│   │   ├── jms.log
│   │   ├── launch.log
│   │   ├── orm.log
│   │   ├── pipeline.log
│   │   ├── prearchive.log
│   │   ├── received.log
│   │   ├── remote.log
│   │   ├── restlet.log
│   │   ├── scheduler.log
│   │   ├── security.log
│   │   ├── spring.log
│   │   ├── sql.log
│   │   ├── tasks.log
│   │   ├── turbine.log
│   │   ├── velocity.log
│   │   ├── xapi.log
│   │   ├── xdat.log
│   │   └── xnatfs.log
│   ├── plugins
│   └── work
│       └── xnat_8085373303954567252911952388602
├── pipeline
└── prearchive


Thats all the relative info I could muster. Perhaps the answer is somewhere else. But Since I solved all permission issues and it still complains about a non existing folder I dont know what the next step is.



Robin Kämpe

unread,
Dec 22, 2016, 7:59:33 AM12/22/16
to xnat_discussion
Adding some info:

I might have installed the "wrong" java version. I installed:
I did:
sudo apt-get install oracle-java7-installer
Which gave me:
xnat@osboxes:/var/log/tomcat7$ java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
xnat@osboxes:/var/log/tomcat7$



My xnat.conf file:
#
# xnat-conf.properties
# XNAT http://www.xnat.org
# Copyright (c) 2016, Washington University School of Medicine
# All Rights Reserved
#
# Released under the Simplified BSD.
#
datasource.driver=org.postgresql.Driver
datasource.url=jdbc:postgresql://localhost/xnat
datasource.username=xnat
datasource.password=xnat

hibernate.dialect=org.hibernate.dialect.PostgreSQL9Dialect
hibernate.hbm2ddl.auto=update
hibernate.show_sql=false
hibernate.cache.use_second_level_cache=true
hibernate.cache.use_query_cache=true
/data/xnat/home/config/xnat-conf.properties (END)

My /etctomcat7 file:

# OpenJDK, the Oracle JDK, and various Java SE 6+ versions are tried.
#JAVA_HOME=/usr/lib/jvm/openjdk-6-jdk

# You may pass JVM startup parameters to Java here. If unset, the default
# options will be: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC
#
# Use "-XX:+UseConcMarkSweepGC" to enable the CMS garbage collector (improved
# response time). If you use that option and you run Tomcat on a machine with
# exactly one CPU chip that contains one or two cores, you should also add
# the "-XX:+CMSIncrementalMode" option.
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC"

# To enable remote debugging uncomment the following line.
# You will then be able to use a java debugger on port 8000.
#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"

# Java compiler to use for translating JavaServer Pages (JSPs). You can use all
# compilers that are accepted by Ant's build.compiler property.
#JSP_COMPILER=javac

# Use the Java security manager? (yes/no, default: no)
#TOMCAT7_SECURITY=no

# Number of days to keep logfiles in /var/log/tomcat7. Default is 14 days.
#LOGFILE_DAYS=14
# Whether to compress logfiles older than today's
#LOGFILE_COMPRESS=1

# Location of the JVM temporary directory
# WARNING: This directory will be destroyed and recreated at every startup !
#JVM_TMP=/tmp/tomcat7-temp

# If you run Tomcat on port numbers that are all higher than 1023, then you
# do not need authbind.  It is used for binding Tomcat to lower port numbers.
# (yes/no, default: no)
#AUTHBIND=no
~
~
(END)


SHOULD this file have some extra variables defined? I found on some forum some fix to a problem similar to mine. Add to /etc/tomcat7:

export JAVA_HOME=/usr/lib/jvm/java-7-oracle/ CATALINA_HOME=/usr/share/tomcat7 CATALINA_BASE=/var/lib/tomcat7 CATALINA_PID=/var/run/tomcat7.pid CATALINA_TMPDIR=/tmp
/usr/share/tomcat7/bin/catalina.sh run


Not sure were the error is. Probably something with java variables?

Should echo $JAVA_HOME give something? Because I get nothing out of it.


Should I re-install the whole WM just to get the java JDK 7? :/

Thanks!

Robin Kämpe

unread,
Dec 22, 2016, 8:01:32 AM12/22/16
to xnat_discussion
Also:


xnat@osboxes:/data$ cat xnat/home/logs/*
2016-12-22 11:17:49,178 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2016-12-22 11:17:49,179 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2016-12-22 11:17:49,179 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2016-12-22 11:17:49,179 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2016-12-22 11:28:54,699 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2016-12-22 11:28:54,700 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2016-12-22 11:28:54,700 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2016-12-22 11:28:54,700 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2016-12-22 11:31:03,996 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2016-12-22 11:31:03,997 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2016-12-22 11:31:03,997 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2016-12-22 11:31:03,997 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2016-12-22 12:50:54,276 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2016-12-22 12:50:54,276 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2016-12-22 12:50:54,276 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2016-12-22 12:50:54,276 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2016-12-22 11:18:17,896 [localhost-startStop-1] WARN  org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space
2016-12-22 11:29:24,084 [localhost-startStop-1] WARN  org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space
2016-12-22 11:31:35,203 [localhost-startStop-1] WARN  org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space
2016-12-22 12:51:32,301 [localhost-startStop-1] WARN  org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerAdapter' defined in class path resource [org/springframework/web/servlet/config/annotation/DelegatingWebMvcConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter]: Factory method 'requestMappingHandlerAdapter' threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space
xnat@osboxes:/data$


Not sure if this is the wrong end to trouble shoot from

Robin Kämpe

unread,
Dec 22, 2016, 10:31:08 AM12/22/16
to xnat_discussion
Current Catalina.out: Warnings in beginning and something about xnat and memory in the end:

Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]

Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server version:        Apache Tomcat/7.0.72 (Ubuntu)
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server built:          Sep 20 2016 11:28:54 UTC
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.72.0
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            4.8.0-22-generic
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-7-oracle/jre
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.7.0_80-b15
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: JVM Vendor:            Oracle Corporation
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /var/lib/tomcat7
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /usr/share/tomcat7
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.awt.headless=true
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Xmx128m
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -XX:+UseConcMarkSweepGC
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dxnat.home=/data/xnat/home
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Dcatalina.base=/var/lib/tomcat7
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat7
Dec 22, 2016 3:13:55 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp
Dec 22, 2016 3:13:56 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Dec 22, 2016 3:13:56 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1001 ms
Dec 22, 2016 3:13:56 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Dec 22, 2016 3:13:56 PM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.72 (Ubuntu)
Dec 22, 2016 3:13:56 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive /var/lib/tomcat7/webapps/xnat-web-1.7.1.war
Dec 22, 2016 3:14:15 PM org.apache.catalina.startup.TldConfig execute

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Exception in thread "main"
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

(END)

Robin Kämpe

unread,
Dec 22, 2016, 10:41:27 AM12/22/16
to xnat_discussion
Update: By adding more memory to java tomcat7 I got tomca7 succesfully setup. Localhost:8080 gave me:

It works !

If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!

This is the default Tomcat home page. It can be found on the local filesystem at: /var/lib/tomcat7/webapps/ROOT/index.html

Tomcat7 veterans might be pleased to learn that this system instance of Tomcat is installed with CATALINA_HOME in /usr/share/tomcat7 and CATALINA_BASE in /var/lib/tomcat7, following the rules from /usr/share/doc/tomcat7-common/RUNNING.txt.gz.

You might consider installing the following packages, if you haven't already done so:

tomcat7-docs: This package installs a web application that allows to browse the Tomcat 7 documentation locally. Once installed, you can access it by clicking here.

tomcat7-examples: This package installs a web application that allows to access the Tomcat 7 Servlet and JSP examples. Once installed, you can access it by clicking here.

tomcat7-admin: This package installs two web applications that can help managing this Tomcat instance. Once installed, you can access the manager webapp and the host-manager webapp.

NOTE: For security reasons, using the manager webapp is restricted to users with role "manager-gui". The host-manager webapp is restricted to users with role "admin-gui". Users are defined in /etc/tomcat7/tomcat-users.xml

This should be the xnat page but at least Im closer. Catalina.out :

Dec 22, 2016 3:34:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:34:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:34:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:34:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:34:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:34:51 PM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server version:        Apache Tomcat/7.0.72 (Ubuntu)
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server built:          Sep 20 2016 11:28:54 UTC
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.72.0
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            4.8.0-22-generic
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-7-oracle/jre
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.7.0_80-b15
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: JVM Vendor:            Oracle Corporation
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /var/lib/tomcat7
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /usr/share/tomcat7
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.awt.headless=true
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xms512m
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx2g
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -XX:+UseConcMarkSweepGC
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:-OmitStackTraceInFastThrow
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MaxPermSize=512m
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+CMSIncrementalMode
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+CMSClassUnloadingEnabled
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Dxnat.home=/data/xnat/home
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Dcatalina.base=/var/lib/tomcat7
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat7
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp
Dec 22, 2016 3:34:52 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 867 ms
Dec 22, 2016 3:34:52 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Dec 22, 2016 3:34:52 PM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.72 (Ubuntu)
Dec 22, 2016 3:34:52 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive /var/lib/tomcat7/webapps/xnat-web-1.7.1.war
Dec 22, 2016 3:35:02 PM org.apache.catalina.startup.TldConfig execute

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SOURCE: /var/lib/tomcat7/webapps/xnat-web-1.7.1/
===========================
New Database -- BEGINNING Initialization
===========================
===========================
Database initialization complete.
===========================
Dec 22, 2016 3:36:03 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /var/lib/tomcat7/webapps/xnat-web-1.7.1.war has finished in 70,666 ms
Dec 22, 2016 3:36:03 PM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
Dec 22, 2016 3:36:03 PM org.apache.catalina.core.StandardContext setPath

WARNING: A context path must either be an empty string or start with a '/' and do not end with a '/'. The path [/] does not meet these criteria and has been changed to []
Dec 22, 2016 3:36:03 PM org.apache.catalina.startup.TldConfig execute

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Dec 22, 2016 3:36:03 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat7/webapps/ROOT has finished in 273 ms
Dec 22, 2016 3:36:03 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Dec 22, 2016 3:36:03 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 71035 ms
...

Herrick, Rick

unread,
Dec 27, 2016, 8:59:11 AM12/27/16
to xnat_di...@googlegroups.com

The good news is that XNAT appears to have started properly based on this message:

 

INFO: Deployment of web application archive /var/lib/tomcat7/webapps/xnat-web-1.7.1.war has finished in 70,666 ms

 

Or at the very least it started to deploy and initialized its database. You can check for any possible errors by looking in the XNAT home logs folder and seeing how things went there. Here’s a really handy command for doing this:

 

$ vim $(find /data/xnat/home/logs –size +0)

 

Change /data/xnat/home to the value set for xnat.home to in the Tomcat configuration.

 

What you’re seeing with localhost:8080 is the default Tomcat root application. You copied the XNAT war file into the webapps folder with the name xnat-1.7.1.war. In the standard Java application server model, war applications are deployed at the context (i.e. path) indicated by the war file name minus the “.war” extension. That means XNAT is available on your server at:

 

http://localhost:8080/xnat-1.7.1

 

If you’d like it to be available at http://localhost:8080, then do the following:

 

1.       Shut down Tomcat.

2.       Delete or move the folders /var/lib/tomcat7/webapps/ROOT and /var/lib/tomcat7/webapps/xnat-1.7.1 (the latter folder is created automatically when Tomcat “explodes” or extracts the contents of the war file).

3.       Move xnat-1.7.1.war to ROOT.war.

4.       Restart Tomcat.

 

This should now make XNAT available as the root application in your server.

 

-- 

Rick Herrick

Sr. Programmer/Analyst

Neuroinformatics Research Group

Washington University School of Medicine

 

--

You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.

Robin Kämpe

unread,
Jan 5, 2017, 4:10:52 AM1/5/17
to xnat_discussion
Thanks!

It seems to work fine! I can access xnat via localhost:8080. This was just done a WM in my laptop to learn and to make a WM I could with ease use as base if I was to setup a new XNAT here. Could I simply put this WM on one of our servers on the network, give it an IP adress and DNS name (and perhaps change the location of /data/xnat to a mounted storage disk) and then users could access it on the network?

Still, the warnings when launching tomcat7 are there in  the beginning of the logs. Should I worry about the early messages from the catalina.out log? : The warning messages do show up again in the log since I guess it reboots tomcat when I restarted the WM. But that is in an newer version of the logfile. The warnings are pasted here and the entire logfile below if you want to see:
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]


Im also pasting all the text from the xnat logs below if you need it. Looked for any warnings and I saw some regardign pool size. If you want to read all I will paste it bewlow but the warnings I fould comes here, should I worry:
67201 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
67546 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
49561 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
49961 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2017-01-05 08:18:31,613 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2017-01-05 08:18:31,621 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2017-01-05 08:18:31,621 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2017-01-05 08:18:31,621 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2017-01-05 07:54:42,828 Established shared JMS Connection: ActiveMQConnection {id=ID:osboxes-34891-1483602882077-3:1,clientId=null,started=false}
2017-01-05 08:19:00,938 Established shared JMS Connection: ActiveMQConnection {id=ID:osboxes-38835-1483604340356-3:1,clientId=null,started=false}
2017-01-05 07:54:46,771 [taskScheduler-1] WARN  org.nrg.xnat.helpers.prearchive.SessionXMLRebuilder - Application is not yet initialized, session XML rebuild operation delayed until initialization completed.
2017-01-05 08:19:03,605 [taskScheduler-1] WARN  org.nrg.xnat.helpers.prearchive.SessionXMLRebuilder - Applicati
on is not yet initialized, session XML rebuild operation delayed until initialization completed.
2017-01-05 08:26:08,718 [http-bio-8080-exec-7] ERROR org.nrg.xnat.restlet.actions.AutomationBasedImporter -

ALL LOGS IF YOU NEED


ALL CATALINA.OUT CONTENT:
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.ClassLoaderFactory validateFile

WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server version:        Apache Tomcat/7.0.72 (Ubuntu)
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: Server built:          Sep 20 2016 11:28:54 UTC
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         7.0.72.0
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Linux
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            4.8.0-22-generic
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             /usr/lib/jvm/java-7-oracle/jre
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.7.0_80-b15
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: JVM Vendor:            Oracle Corporation
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         /var/lib/tomcat7
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         /usr/share/tomcat7
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log

INFO: Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.awt.headless=true
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xms512m
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Xmx2g
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+UseConcMarkSweepGC
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:-OmitStackTraceInFastThrow
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:MaxPermSize=512m
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+CMSIncrementalMode
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -XX:+CMSClassUnloadingEnabled
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dxnat.home=/data/xnat/home
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=/var/lib/tomcat7
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=/usr/share/tomcat7
Jan 05, 2017 7:53:43 AM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp
Jan 05, 2017 7:53:44 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jan 05, 2017 7:53:44 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1015 ms
Jan 05, 2017 7:53:44 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 05, 2017 7:53:44 AM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.72 (Ubuntu)
Jan 05, 2017 7:53:44 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/ROOT.war
Jan 05, 2017 7:53:59 AM org.apache.catalina.startup.TldConfig execute

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SOURCE: /var/lib/tomcat7/webapps/ROOT/
Database up to date.
Jan 05, 2017 7:55:14 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /var/lib/tomcat7/webapps/ROOT.war has finished in 89,993 ms
Jan 05, 2017 7:55:14 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jan 05, 2017 7:55:14 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 90113 ms

ALL XNAT LOGS
2017-01-05 08:09:15,515 - admin 127.0.0.1 Authentication SUCCESS
2017-01-05 08:23:06,061 - admin 127.0.0.1 Authentication SUCCESS
2017-01-05 08:23:37,621 - admin 127.0.0.1 SCREEN: Index
2017-01-05 08:23:47,362 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:23:47,612 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:23:47,663 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:23:47,835 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:23:47,932 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:23:49,125 - admin 127.0.0.1 GET http://localhost:8080/data/experiments?recent=true&XNAT_XHR=x5wa0q6lx-1483604627218&format=json
2017-01-05 08:23:49,127 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:23:49,154 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xpjycitac-1483604626928&format=json
2017-01-05 08:23:49,154 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xe7mwmh6d-1483604626910&format=json
2017-01-05 08:23:49,172 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xarcgkvo3-1483604627213&format=json
2017-01-05 08:24:18,928 - admin 127.0.0.1 SCREEN: XDATScreen_add_xnat_projectData
2017-01-05 08:24:23,484 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xs9a5ho7w-1483604663248&format=json
2017-01-05 08:24:23,547 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=x18pjb5er-1483604663230&format=json
2017-01-05 08:24:23,959 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:24:36,206 - admin 127.0.0.1 ACTION: AddProject
2017-01-05 08:24:38,988 - admin 127.0.0.1 SCREEN: XDATScreen_report_xnat_projectData xnat:projectData test
2017-01-05 08:24:45,302 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xnnhqmm9d-1483604685099&format=json
2017-01-05 08:24:45,403 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:24:45,421 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xajwsn4gx-1483604685138&format=json
2017-01-05 08:24:46,565 - admin 127.0.0.1 GET http://localhost:8080/REST/projects/test/pars?format=json&stamp=1483604686510&rnd=1483604686511
2017-01-05 08:24:46,750 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/tracers/tracers?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&rnd=1483604686684
2017-01-05 08:24:46,839 - admin 127.0.0.1 GET http://localhost:8080/data/config/edit/projects/test/image/dicom/script?format=json&rnd=1483604686651
2017-01-05 08:24:46,975 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/seriesImportFilter/config?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&rnd=1483604686655
2017-01-05 08:24:47,060 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/resources/notifications/files/archival.lst?rnd=1483604686674
2017-01-05 08:24:47,289 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?XNAT_XHR=xoqacj90i-1483604687169&format=json
2017-01-05 08:24:47,442 - admin 127.0.0.1 GET http://localhost:8080/data/automation/scripts?XNAT_XHR=x9zquikko-1483604687160&format=json
2017-01-05 08:24:47,514 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/resource_config/script?contents=true&format=json&_=1483604681254
2017-01-05 08:24:47,544 - admin 127.0.0.1 GET http://localhost:8080/REST/projects/test/searches/@xnat:subjectData?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&rnd=1483604687354
2017-01-05 08:24:47,641 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/separatePETMR/config?contents=true&timestamp=1483604687230
2017-01-05 08:24:47,830 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604681255
2017-01-05 08:24:47,928 - admin 127.0.0.1 POST http://localhost:8080/REST/search?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&cache=true&refresh=true
2017-01-05 08:24:47,934 - admin 127.0.0.1 GET http://localhost:8080/data/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604681256
2017-01-05 08:24:48,385 - admin 127.0.0.1 GET http://localhost:8080/REST/search/_test_xnat_col_subjectData_admin_1483604688183?format=xList&offset=0&limit=200&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&rnd=1483604688339
2017-01-05 08:24:56,401 - admin 127.0.0.1 ACTION: ProjectDownloadAction
2017-01-05 08:24:56,412 - admin 127.0.0.1 SCREEN: XDATScreen_download_sessions
2017-01-05 08:24:59,765 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xhsbe51a1-1483604699706&format=json
2017-01-05 08:24:59,883 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:24:59,955 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=x8mlze48c-1483604699687&format=json
2017-01-05 08:25:05,279 - admin 127.0.0.1 SCREEN: XDATScreen_report_xnat_projectData xnat:projectData test
2017-01-05 08:25:10,172 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xx44ojmpm-1483604709990&format=json
2017-01-05 08:25:10,287 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=x8xqh47xn-1483604710005&format=json
2017-01-05 08:25:10,359 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:25:11,552 - admin 127.0.0.1 GET http://localhost:8080/REST/projects/test/pars?format=json&stamp=1483604711411&rnd=1483604711412
2017-01-05 08:25:11,662 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/seriesImportFilter/config?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&rnd=1483604711588
2017-01-05 08:25:11,696 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/resources/notifications/files/archival.lst?rnd=1483604711651
2017-01-05 08:25:11,855 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/tracers/tracers?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&rnd=1483604711678
2017-01-05 08:25:11,908 - admin 127.0.0.1 GET http://localhost:8080/data/config/edit/projects/test/image/dicom/script?format=json&rnd=1483604711581
2017-01-05 08:25:13,108 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/resource_config/script?contents=true&format=json&_=1483604706842
2017-01-05 08:25:13,111 - admin 127.0.0.1 GET http://localhost:8080/data/automation/scripts?XNAT_XHR=xsfrq9xuc-1483604712793&format=json
2017-01-05 08:25:13,141 - admin 127.0.0.1 GET http://localhost:8080/REST/projects/test/searches/@xnat:subjectData?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&rnd=1483604712919
2017-01-05 08:25:13,191 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?XNAT_XHR=xguc2x9g6-1483604712799&format=json
2017-01-05 08:25:13,379 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/separatePETMR/config?contents=true&timestamp=1483604712852
2017-01-05 08:25:13,416 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604706843
2017-01-05 08:25:13,439 - admin 127.0.0.1 POST http://localhost:8080/REST/search?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&cache=true&refresh=true
2017-01-05 08:25:13,542 - admin 127.0.0.1 GET http://localhost:8080/data/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604706844
2017-01-05 08:25:13,872 - admin 127.0.0.1 GET http://localhost:8080/REST/search/_test_xnat_col_subjectData_admin_1483604713530?format=xList&offset=0&limit=200&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&rnd=1483604713702
2017-01-05 08:25:42,725 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/resource_config/script?format=json&rnd=1483604742617
2017-01-05 08:25:45,302 - admin 127.0.0.1 GET http://localhost:8080/data/automation/scripts?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604706845
2017-01-05 08:25:53,213 - admin 127.0.0.1 PUT http://localhost:8080/data/projects/test/config/resource_config/script?inbody=true&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e
2017-01-05 08:25:53,332 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/resource_config/script?format=json&rnd=1483604753259
2017-01-05 08:25:53,403 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/resource_config/script?contents=true&format=json&_=1483604706846
2017-01-05 08:25:53,439 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604706847
2017-01-05 08:25:53,512 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604706848
2017-01-05 08:25:53,609 - admin 127.0.0.1 GET http://localhost:8080/data/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604706849
2017-01-05 08:26:05,951 - admin 127.0.0.1 POST http://localhost:8080/data/projects/test/resources/test/files/xnatlogs.txt?overwrite=false&update-stats=false&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&extract=true&sendemail=false
2017-01-05 08:26:08,704 - admin 127.0.0.1 POST http://localhost:8080/REST/services/import?import-handler=automation&project=test&process=true&configuredResource=test&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&xsiType=xnat%3AprojectData
2017-01-05 08:26:08,858 - admin 127.0.0.1 POST http://localhost:8080/data/services/refresh/catalog?resource=/archive/projects/test/resources/test&options=populateStats,append,delete,checksum&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e
2017-01-05 08:26:08,917 - admin 127.0.0.1 SCREEN: XDATScreen_report_xnat_projectData xnat:projectData test
2017-01-05 08:26:14,520 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xwq87drnb-1483604774255&format=json
2017-01-05 08:26:14,527 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=x1e09g4tl-1483604774293&format=json
2017-01-05 08:26:14,538 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:26:15,579 - admin 127.0.0.1 GET http://localhost:8080/REST/projects/test/pars?format=json&stamp=1483604775411&rnd=1483604775412
2017-01-05 08:26:15,661 - admin 127.0.0.1 GET http://localhost:8080/data/config/edit/projects/test/image/dicom/script?format=json&rnd=1483604775523
2017-01-05 08:26:15,739 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/resources/notifications/files/archival.lst?rnd=1483604775563
2017-01-05 08:26:15,812 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/seriesImportFilter/config?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&rnd=1483604775539
2017-01-05 08:26:15,827 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/tracers/tracers?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&rnd=1483604775579
2017-01-05 08:26:16,624 - admin 127.0.0.1 GET http://localhost:8080/data/automation/scripts?XNAT_XHR=xgk7oag1a-1483604776511&format=json
2017-01-05 08:26:16,662 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?XNAT_XHR=xa2qyyfed-1483604776532&format=json
2017-01-05 08:26:16,717 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/resource_config/script?contents=true&format=json&_=1483604770665
2017-01-05 08:26:16,829 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/config/separatePETMR/config?contents=true&timestamp=1483604776617
2017-01-05 08:26:16,888 - admin 127.0.0.1 GET http://localhost:8080/REST/projects/test/searches/@xnat:subjectData?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&rnd=1483604776692
2017-01-05 08:26:17,066 - admin 127.0.0.1 GET http://localhost:8080/data/projects/test/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604770666
2017-01-05 08:26:17,148 - admin 127.0.0.1 POST http://localhost:8080/REST/search?XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&format=json&cache=true&refresh=true
2017-01-05 08:26:17,214 - admin 127.0.0.1 GET http://localhost:8080/data/automation/handlers?format=json&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&_=1483604770667
2017-01-05 08:26:17,423 - admin 127.0.0.1 GET http://localhost:8080/REST/search/_test_xnat_col_subjectData_admin_1483604777228?format=xList&offset=0&limit=200&XNAT_CSRF=074d17b1-6224-406c-b2f2-3966c1c0aa6e&rnd=1483604777361
2017-01-05 08:26:23,125 - admin 127.0.0.1 GET http://localhost:8080/REST/projects/test/resources?all=true&format=json&file_stats=true&sortBy=category,cat_id,label&timestamp=1483604782971&rnd=1483604782972
2017-01-05 08:40:50,720 - admin 127.0.0.1 Authentication SUCCESS
2017-01-05 08:40:50,895 - admin 127.0.0.1 SCREEN: Index
2017-01-05 08:40:56,123 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xr2pnier8-1483605655861&format=json
2017-01-05 08:40:56,141 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xmnt0x4mu-1483605655895&format=json
2017-01-05 08:40:56,349 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:40:56,482 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:40:56,497 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:40:56,502 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:40:56,623 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:40:56,686 - admin 127.0.0.1 GET http://localhost:8080/data/experiments?recent=true&XNAT_XHR=x250kuv97-1483605656170&format=json
2017-01-05 08:40:56,742 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:40:56,806 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xd7txzs0q-1483605656161&format=json
2017-01-05 08:41:02,243 - admin 127.0.0.1 SCREEN: Page
2017-01-05 08:41:06,636 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xlea5qev7-1483605666401&format=json
2017-01-05 08:41:06,658 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:41:06,713 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=x5u3abd91-1483605666366&format=json
2017-01-05 08:50:24,234 - admin 127.0.0.1 SCREEN: Index
2017-01-05 08:50:27,975 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xftm9efin-1483606227729&format=json
2017-01-05 08:50:27,979 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xqwfk6vae-1483606227755&format=json
2017-01-05 08:50:28,023 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:50:28,266 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xx9r0q9bg-1483606228063&format=json
2017-01-05 08:50:28,360 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:28,361 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:28,395 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:28,405 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:28,576 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:28,617 - admin 127.0.0.1 GET http://localhost:8080/data/experiments?recent=true&XNAT_XHR=xm22k5zba-1483606228080&format=json
2017-01-05 08:50:30,158 - admin 127.0.0.1 SCREEN: Page
2017-01-05 08:50:33,775 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xfxaxdfkb-1483606233614&format=json
2017-01-05 08:50:33,846 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xzdxkap06-1483606233624&format=json
2017-01-05 08:50:33,865 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:50:53,440 - admin 127.0.0.1 SCREEN: Index
2017-01-05 08:50:57,161 - admin 127.0.0.1 GET http://localhost:8080/data/projects?favorite=true&XNAT_XHR=xwf6yiigb-1483606256985&format=json
2017-01-05 08:50:57,192 - admin 127.0.0.1 GET http://localhost:8080/data/search/saved?format=json
2017-01-05 08:50:57,214 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xcx5ao6b7-1483606256966&format=json
2017-01-05 08:50:57,366 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:57,574 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:57,649 - admin 127.0.0.1 GET http://localhost:8080/data/projects?accessible=true&XNAT_XHR=xb68o7xkt-1483606257292&format=json
2017-01-05 08:50:57,698 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:57,700 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:57,702 - admin 127.0.0.1 SCREEN: DataTypeSearch
2017-01-05 08:50:57,884 - admin 127.0.0.1 GET http://localhost:8080/data/experiments?recent=true&XNAT_XHR=xtk068npt-1483606257309&format=json
67201 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
67546 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
49561 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
49961 [localhost-startStop-1] ERROR org.apache.axis.configuration.EngineConfigurationFactoryServlet  - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2017-01-05 07:54:06,619 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2017-01-05 08:18:31,613 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource class, using the default value of org.apache.commons.dbcp2.BasicDataSource
2017-01-05 08:18:31,621 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource initial connection pool size, using the default value of 20
2017-01-05 08:18:31,621 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource maximum connection pool size, using the default value of 40
2017-01-05 08:18:31,621 [localhost-startStop-1] WARN  org.nrg.xnat.initialization.DatabaseConfig - No value set for the XNAT datasource connection pool idle size, using the default value of 10
2017-01-05 07:54:42,828 Established shared JMS Connection: ActiveMQConnection {id=ID:osboxes-34891-1483602882077-3:1,clientId=null,started=false}
2017-01-05 08:19:00,938 Established shared JMS Connection: ActiveMQConnection {id=ID:osboxes-38835-1483604340356-3:1,clientId=null,started=false}
2017-01-05 07:54:46,771 [taskScheduler-1] WARN  org.nrg.xnat.helpers.prearchive.SessionXMLRebuilder - Application is not yet initialized, session XML rebuild operation delayed until initialization completed.
2017-01-05 08:19:03,605 [taskScheduler-1] WARN  org.nrg.xnat.helpers.prearchive.SessionXMLRebuilder - Application is not yet initialized, session XML rebuild operation delayed until initialization completed.
2017-01-05 08:26:08,718 [http-bio-8080-exec-7] ERROR org.nrg.xnat.restlet.actions.AutomationBasedImporter -
java.lang.NullPointerException
    at org.nrg.xnat.restlet.actions.AutomationBasedImporter.buildWorkflow(AutomationBasedImporter.java:751)
    at org.nrg.xnat.restlet.actions.AutomationBasedImporter.createWorkflowEntry(AutomationBasedImporter.java:393)
    at org.nrg.xnat.restlet.actions.AutomationBasedImporter.processUpload(AutomationBasedImporter.java:197)
    at org.nrg.xnat.restlet.actions.AutomationBasedImporter.call(AutomationBasedImporter.java:155)
    at org.nrg.xnat.restlet.services.Importer.handlePost(Importer.java:221)
    at org.restlet.Finder.handle(Finder.java:357)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Router.handle(Router.java:504)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Router.handle(Router.java:504)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
    at org.restlet.Application.handle(Application.java:341)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Router.handle(Router.java:504)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Router.handle(Router.java:504)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
    at org.restlet.Filter.handle(Filter.java:195)
    at org.restlet.Filter.doHandle(Filter.java:150)
    at org.restlet.Filter.handle(Filter.java:195)
    at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    at org.restlet.Component.handle(Component.java:673)
    at org.restlet.Server.handle(Server.java:331)
    at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
    at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
    at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:200)
    at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.nrg.xnat.restlet.util.UpdateExpirationCookie.doFilter(UpdateExpirationCookie.java:37)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:122)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.nrg.xnat.security.XnatInitCheckFilter.doFilter(XnatInitCheckFilter.java:51)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:48)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.nrg.xnat.security.XnatBasicAuthenticationFilter.doFilterInternal(XnatBasicAuthenticationFilter.java:143)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:53)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:133)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.nrg.xnat.security.XnatExpiredPasswordFilter.doFilter(XnatExpiredPasswordFilter.java:184)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:152)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
    at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:442)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1083)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:640)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
2017-01-05 08:09:16,342 [http-bio-8080-exec-7] WARN  org.nrg.xnat.security.XnatInitCheckFilter - Admin user admin has logged into the uninitialized server and is being redirected to http://localhost:8080/setup
2017-01-05 08:09:26,163 [http-bio-8080-exec-3] WARN  org.nrg.xnat.security.XnatInitCheckFilter - Admin user admin has logged into the uninitialized server and is being redirected to http://localhost:8080/setup
2017-01-05 08:23:07,239 [http-bio-8080-exec-10] WARN  org.nrg.xnat.security.XnatInitCheckFilter - Admin user admin has logged into the uninitialized server and is being redirected to http://localhost:8080/setup
2017-01-05 08:23:10,246 [http-bio-8080-exec-11] WARN  org.nrg.xnat.security.XnatInitCheckFilter - Admin user admin has logged into the uninitialized server and is being redirected to http://localhost:8080/setup
2017-01-05 07:55:13,180 - SELECT pg_get_serial_sequence('xnat_projectData_resource','xnat_projectData_resource_id') AS col_name
2017-01-05 07:55:13,218 - SELECT pg_get_serial_sequence('xnat_projectData_investigator','xnat_projectData_investigator_id') AS col_name
2017-01-05 07:55:13,221 - SELECT * FROM xnat_projectData_investigator_xnat_projectData_investigator_id_seq
2017-01-05 07:55:13,222 - SELECT * FROM xnat_projectData_investigator_xnat_projectData_investigator__seq
2017-01-05 07:55:13,230 - SELECT pg_get_serial_sequence('xnat_subjectData_resource','xnat_subjectData_resource_id') AS col_name
2017-01-05 07:55:13,237 - SELECT pg_get_serial_sequence('xnat_experimentData_resource','xnat_experimentData_resource_id') AS col_name
2017-01-05 07:55:13,237 - SELECT * FROM xnat_experimentData_resource_xnat_experimentData_resource_id_seq
2017-01-05 07:55:13,261 - SELECT pg_get_serial_sequence('xnat_datatypeProtocol_fieldGroups','xnat_datatypeProtocol_fieldGroups_id') AS col_name
2017-01-05 07:55:13,262 - SELECT * FROM xnat_datatypeProtocol_fieldGroups_xnat_datatypeProtocol_fieldGroups_id_seq
2017-01-05 07:55:13,263 - SELECT * FROM xnat_datatypeProtocol_fieldGro_xnat_datatypeProtocol_fieldGro_seq
2017-01-05 08:19:22,809 - SELECT pg_get_serial_sequence('xnat_projectData_resource','xnat_projectData_resource_id') AS col_name
2017-01-05 08:19:22,812 - SELECT pg_get_serial_sequence('xnat_projectData_investigator','xnat_projectData_investigator_id') AS col_name
2017-01-05 08:19:22,813 - SELECT * FROM xnat_projectData_investigator_xnat_projectData_investigator_id_seq
2017-01-05 08:19:22,813 - SELECT * FROM xnat_projectData_investigator_xnat_projectData_investigator__seq
2017-01-05 08:19:22,817 - SELECT pg_get_serial_sequence('xnat_subjectData_resource','xnat_subjectData_resource_id') AS col_name
2017-01-05 08:19:22,820 - SELECT pg_get_serial_sequence('xnat_experimentData_resource','xnat_experimentData_resource_id') AS col_name
2017-01-05 08:19:22,820 - SELECT * FROM xnat_experimentData_resource_xnat_experimentData_resource_id_seq
2017-01-05 08:19:22,827 - SELECT pg_get_serial_sequence('xnat_datatypeProtocol_fieldGroups','xnat_datatypeProtocol_fieldGroups_id') AS col_name
2017-01-05 08:19:22,827 - SELECT * FROM xnat_datatypeProtocol_fieldGroups_xnat_datatypeProtocol_fieldGroups_id_seq
2017-01-05 08:19:22,828 - SELECT * FROM xnat_datatypeProtocol_fieldGro_xnat_datatypeProtocol_fieldGro_seq
2017-01-05 08:19:01,379 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.CreateOrUpdateDatabaseViews - This service is the primary XNAT node, checking whether database updates are required.
2017-01-05 08:19:01,431 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.AbstractInitializingTask - The table 'xdat_search.xs_item_access' does not yet exist. Deferring execution.
2017-01-05 08:19:01,623 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.AbstractInitializingTask - The system is not yet fully initialized. Delaying execution of the intializing task "System Path Verification" until initialization is completed.
2017-01-05 08:19:01,626 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.UpdateConfigurationService - No suspect configuration entries found.
2017-01-05 08:19:01,626 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.AbstractInitializingTask - The system is not yet fully initialized. Delaying execution of the intializing task "Update new secure definitions" until initialization is completed.
2017-01-05 08:19:16,626 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.CreateOrUpdateDatabaseViews - This service is the primary XNAT node, checking whether database updates are required.
2017-01-05 08:19:31,631 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.CreateOrUpdateDatabaseViews - This service is the primary XNAT node, checking whether database updates are required.
2017-01-05 08:19:31,638 [taskScheduler-1] INFO  org.nrg.xnat.initialization.tasks.CreateOrUpdateDatabaseViews - Initializing database views...
2017-01-05 08:09:23,525 [http-bio-8080-exec-10] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:09:25,106 [http-bio-8080-exec-10] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:09:26,323 [http-bio-8080-exec-2] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:09:26,400 [http-bio-8080-exec-2] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:23:08,504 [http-bio-8080-exec-2] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:23:09,456 [http-bio-8080-exec-2] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:23:10,393 [http-bio-8080-exec-11] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:23:10,431 [http-bio-8080-exec-11] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - The site is being initialized by user admin. Setting default values from context.
2017-01-05 08:23:34,124 [http-bio-8080-exec-1] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property siteId to value: XNAT
2017-01-05 08:23:34,127 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpEnabled to value: true
2017-01-05 08:23:34,140 [http-bio-8080-exec-4] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property requireLogin to value: true
2017-01-05 08:23:34,182 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpProtocol to value: smtp
2017-01-05 08:23:34,190 [http-bio-8080-exec-7] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property archivePath to value: /data/xnat/archive
2017-01-05 08:23:34,203 [http-bio-8080-exec-4] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property userRegistration to value: false
2017-01-05 08:23:34,248 [http-bio-8080-exec-1] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property siteUrl to value: http://localhost:8080
2017-01-05 08:23:34,248 [http-bio-8080-exec-4] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property enableCsrfToken to value: true
2017-01-05 08:23:34,249 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpSslTrust to value:
2017-01-05 08:23:34,279 [http-bio-8080-exec-7] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property prearchivePath to value: /data/xnat/prearchive
2017-01-05 08:23:34,289 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpUsername to value:
2017-01-05 08:23:34,290 [http-bio-8080-exec-1] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property adminEmail to value: y...@yoursite.org
2017-01-05 08:23:34,313 [http-bio-8080-exec-10] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property emailRecipientUpdate to value: y...@yoursite.org
2017-01-05 08:23:34,338 [http-bio-8080-exec-7] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property cachePath to value: /data/xnat/cache
2017-01-05 08:23:34,339 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property emailPrefix to value: XNAT
2017-01-05 08:23:34,357 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpStartTls to value: false
2017-01-05 08:23:34,364 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpPort to value: 25
2017-01-05 08:23:34,372 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpAuth to value: false
2017-01-05 08:23:34,380 [http-bio-8080-exec-7] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property buildPath to value: /data/xnat/build
2017-01-05 08:23:34,385 [http-bio-8080-exec-8] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property smtpHostname to value: localhost
2017-01-05 08:23:34,437 [http-bio-8080-exec-7] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property ftpPath to value: /data/xnat/ftp
2017-01-05 08:23:34,439 [http-bio-8080-exec-10] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property emailRecipientErrorMessages to value: y...@yoursite.org
2017-01-05 08:23:34,476 [http-bio-8080-exec-10] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property helpContactInfo to value: y...@yoursite.org
2017-01-05 08:23:34,489 [http-bio-8080-exec-7] INFO  org.nrg.xapi.rest.settings.SiteConfigApi - Set property pipelinePath to value: /data/xnat/pipeline
2017-01-05 08:23:34,545 [http-bio-8080-exec-10] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property emailRecipientNewUserAlert to value: y...@yoursite.org
2017-01-05 08:23:34,578 [http-bio-8080-exec-10] INFO  org.nrg.xapi.rest.notifications.NotificationsApi - Set property emailRecipientIssueReports to value: y...@yoursite.org
...

Herrick, Rick

unread,
Jan 11, 2017, 5:49:53 PM1/11/17
to xnat_di...@googlegroups.com

You can definitely move the VM onto your network and make it accessible. The only concerns would be administrative: does your institute’s IT policy allow VMs with that OS and configuration on the network, etc. But from the functional perspective it’s totally fine.

 

All of the messages you’re seeing in the log files is totally fine, with one possible exception, the AutomationBasedImporter exception. That’s hard to say what might be happening there, but I’ll pass it on to the developer who wrote that code.

 

The “Problem with directory” messages happen on systems that use deb packages. On RH systems, the primary install folder for most applications is under /usr/share/xxx, so /usr/share/tomcat7. Some parts of many applications are installed under /var/lib/xxx and then linked back to /usr/share/xxx. On Debian systems, the /usr/share/xxx isn’t used and the primary install folder is /var/lib/xxx. The installed applications have no idea which of these they’re running under, so I think you’re just seeing Tomcat having a look around on start-up to see what might be where.

--

You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at https://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.

Robin Kämpe

unread,
Jan 12, 2017, 3:20:23 AM1/12/17
to xnat_discussion
Awesome, and thanks for your reply!

Yes, I'm allowed. We currently have that setup. A Windows server running a WM via VirtualBox. This is also a debian (ubuntu) system with xnat 1.6.5 installed. I wanted to learn about 1.7.1 before I tried to update our main server. I will also perhaps spread the word of xnat to other deparatmens, that was also a reason for me to install a new and pure xnat 1.7 on a WM: So that I can easelly set it up for them.

Looking forward to any potential future workshop, last was one super fun!

I might get back to this thread once I try to implement this WM on the network. I have a functional ldap setup on our current server so want to make sure this will work with 1.7.1 as well (a bit different setup I guess). Also with the name of the machine. I want to be able to put http://xnat and no the ip and without the port 8080.

Looking forward to the reply of the developer regardin that particular error message.

Thanks again, for a non-computer scienteist I feel good about having installed xnat from scratch. The documentation was good!
...
Reply all
Reply to author
Forward
0 new messages