CATALINA_OPTS="${CATALINA_OPTS} -Dxnat.home=/data/xnat/home"I’d suggest renaming the war file from xnat-web-1.7.5.3.war to either xnat.war or ROOT.war. You’ll also probably need to delete the exploded war folder, which would be in the webapps folder and named xnat-web-1.7.5.3. Tomcat takes the name of the war file and makes that the application context, i.e. the path used to access the application. If your war file is named xnat-web-1.7.5.3, then you’d access XNAT with the URL:
http://server/xnat-web-1.7.5.3
That’s a little cumbersome, so rename it to xnat.war:
$ mv /var/lib/tomcat/webapps/xnat-web-1.7.5.3.war /var/lib/tomcat/webapps/xnat.war
$ rm -rf /var/lib/tomcat/webapps/xnat-web-1.7.5.3
That gives you:
Or rename it to ROOT.war, which is a special case:
$ mv /var/lib/tomcat/webapps/xnat-web-1.7.5.3.war /var/lib/tomcat/webapps/ROOT.war
$ rm -rf /var/lib/tomcat/webapps/xnat-web-1.7.5.3
That gives you:
Another thing you need to check is that the same user owns all of the Tomcat folders, the various XNAT folders (/data/xnat/home, but also whatever you set for archive and other folders), AND that that user is the user that runs the Tomcat process. While I understand why you needed to configure the Tomcat service separate from the standard install under CentOS 7.6, once you do that it becomes much more difficult to figure out what’s going on because of issues like permissions, configuration, etc. Make sure you check the Tomcat logs in /var/log/tomcat as well: that’s where you’ll find info if something goes wrong at the Tomcat level, like configuration or permissions issues.
--
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
Phone: +1 (314) 273-1645
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/xnat_discussion/2e6f5ea0-c80a-4bd7-8b37-98e609cf3404%40googlegroups.com.
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.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_di...@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/2e6f5ea0-c80a-4bd7-8b37-98e609cf3404%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tomcat 7 definitely does not require Java 6. In fact, in our lab we actually run almost exclusively now on Java 8. And XNAT itself uses a number of language features that aren’t in Java 6, so there’s no way that that will work. Rather than rolling back to Java 6, trying upgrading to Java 8 and giving that a try.
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/d7ebdb69-d2c1-4b2e-8771-28290291959a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/d7ebdb69-d2c1-4b2e-8771-28290291959a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...
Does it work if you remove the ":8080" from your xnat-conf.properties file and restart Tomcat? The datasource url is not the same as your XNAT site URL (see https://wiki.xnat.org/documentation/xnat-administration/xnat-setup-first-time-configuration/xnat-setup-options-custom-configuration-settings for more information).
-Mike
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_di...@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/2e6f5ea0-c80a-4bd7-8b37-98e609cf3404%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Verdi,
Do you have the default tomcat webapp installed in your webapps folder? Can you try removing that (both ROOT/ and ROOT.war if they exist in the webapps folder), and then renaming XNAT to ROOT.war?
Thanks,
Charlie
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/ab002b1a-927a-432e-a907-bed15e1b7512%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Could you try what Charlie suggested, while keeping the ":8080" removed from your xnat-conf.properties file, and let us know what errors you get after making those changes?
-Mike
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/ab002b1a-927a-432e-a907-bed15e1b7512%40googlegroups.com.
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.
--
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_di...@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/SN6PR02MB4703B167E45DB4C91182C50AFE020%40SN6PR02MB4703.namprd02.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.
If you have a webapp installed with a name that isn't just ROOT.war or ROOT/, the URL for accessing it is going to depend on the file name. It looks like from previous messages that the war was kept with the original name of xnat-web-1.7.5.3.war, but attempts to reach it were at localhost:8080. It's possible that it was actually working previously at localhost:8080/xnat-web-1.7.5.3, or maybe tomcat doesn't handle dashes/periods in the webapp name.
- Charlie
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/f975693a-4a4e-4f21-bba5-cc827761b928%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.