FAIL - Application at context path /xnat could not be started

72 views
Skip to first unread message

Frank Li

unread,
Mar 21, 2017, 9:41:01 AM3/21/17
to xnat_discussion
Hi Community,

I'm new to xnet. I finally got all the components working (I guess) except when I try to deploy ROOT.war . tomcat 7 manager shows 

FAIL - Application at context path / could not be started

so I found I had CATALINA_OPTS="${CATALINA_OPTS} -Dxnat.home=/data/xnat/home"  missing in tomcat.conf.

After I added CATALINA_OPTS to tomcat.conf. my tomcat wouldn't start. status shows:



MMar 21 13:33:06 centos-2gb-sgp1-01 server[6706]: Java virtual machine used: /usr/lib/jvm/jre/bin/java
Mar 21 13:33:06 centos-2gb-sgp1-01 server[6706]: classpath used: /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli...mon.jar
Mar 21 13:33:06 centos-2gb-sgp1-01 server[6706]: main class used: org.apache.catalina.startup.Bootstrap
Mar 21 13:33:06 centos-2gb-sgp1-01 server[6706]: flags used: ${CATALINA_OPTS} -Dxnat.home=/data/xnat/home
Mar 21 13:33:06 centos-2gb-sgp1-01 server[6706]: options used: -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Dj...Manager
Mar 21 13:33:06 centos-2gb-sgp1-01 server[6706]: arguments used: start
Mar 21 13:33:06 centos-2gb-sgp1-01 server[6706]: Error: Could not find or load main class ${CATALINA_OPTS}
Mar 21 13:33:06 centos-2gb-sgp1-01 systemd[1]: tomcat.service: main process exited, code=exited, status=1/FAILURE
Mar 21 13:33:06 centos-2gb-sgp1-01 systemd[1]: Unit tomcat.service entered failed state.
Mar 21 13:33:06 centos-2gb-sgp1-01 systemd[1]: tomcat.service failed.


can you please help?

Thanks

Frank

McKay, Mike

unread,
Mar 24, 2017, 4:10:38 PM3/24/17
to xnat_di...@googlegroups.com

Frank,

 

You might want to check out a recent discussion board post on this topic: https://groups.google.com/forum/#!topic/xnat_discussion/312-c_q4HPc

 

-Mike

--
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.

Reply all
Reply to author
Forward
0 new messages