nm67 Posted February 6, 2018 Posted February 6, 2018 User name : nm67War file Name : GATE_Web.jar I've put it in the home dir, could you please activate it ? Thanks.
Krydos Posted February 6, 2018 Posted February 6, 2018 That .war file cannot be deployed.FAIL - Application at context path /nm67_GATE_Web could not be started
nm67 Posted February 6, 2018 Author Posted February 6, 2018 I've successfully run it on my local PC and it's running on a web server on an ISP at : http://gatecybertech.net/ Could you please give more details as to why it can't be started ? The tomcat version I target is 8.0 or 8.5, could that be the problem ? Thanks. Frank
Krydos Posted February 6, 2018 Posted February 6, 2018 Johnny, the server you picked, is running Tomcat 7.0.42. Tommy is running Tomcat 8.5.24.
nm67 Posted February 6, 2018 Author Posted February 6, 2018 So can you put me on wait list for Tommy ? Thanks. Frank
Krydos Posted February 7, 2018 Posted February 7, 2018 There is no wait list, and due to overcrowding free signups are currently disabled. Only donors can still get an invite right now. As soon as our fundraiser https://www.gofundme.com/heliohosts-lily-server-and-storage-increase is successful we'll be able to add more storage to Tommy and reopen free signups.
nm67 Posted February 8, 2018 Author Posted February 8, 2018 Hi, I've recompiled it to work with Tomcat 7, and I've uploaded the .war file, could you please try it again ? /home/nm67 GATE_Web.war Thanks ! Frank
Krydos Posted February 8, 2018 Posted February 8, 2018 Deployed. http://nm67.heliohost.org/GATE_Web/ Since you picked the Johnny server it may take up to 12 hours for the 404 error to go away.
nm67 Posted February 9, 2018 Author Posted February 9, 2018 Thanks, now I see it running. But it's not running properly : in the "server.xml" file, the following line needs to be added : <Context path="" docBase="GATE_Web" debug="0" reloadable="true"> Please see attached image below for details :
Krydos Posted February 9, 2018 Posted February 9, 2018 Just deploy a new .war with the correct .xml file then?
nm67 Posted February 9, 2018 Author Posted February 9, 2018 Just uploaded a new .war file Thanks for the reply. The issue was a session cookie problem. It's mentioned and solved here : https://stackoverflow.com/questions/48269262/java-servlet-session-not-working-properly-with-nginx-how-to-fix Frank
Krydos Posted February 9, 2018 Posted February 9, 2018 FAIL - Application at context path /nm67_GATE_Web could not be started FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [/nm67_GATE_Web]
nm67 Posted February 9, 2018 Author Posted February 9, 2018 OK, just reloaded a new .war file. Please reload. It should run, but still have the original problem, cookie session issue. I know why, I can't include that change in my .war file, it needs to be done like this : In /.../tomcat/conf/context.xml, change "<Context>" to : <Context sessionCookiePath="/">...</Context> Thanks. Frank
nm67 Posted February 10, 2018 Author Posted February 10, 2018 It wasn't acting properly, so I fixed the "sessionCookiePath" problem in "context.xml" and updated the .war file, now it should work correctly.Please reload, thanks ! Frank
Recommended Posts