Jump to content

[Solved] I have uploaded my servlet war file, could you please activate it ?


Recommended Posts

  • Replies 36
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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

Posted

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

Posted

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 :

 


 

Posted

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]
Posted

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

Posted

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

Guest
This topic is now closed to further replies.

×
×
  • Create New...