Wednesday, February 11, 2015

Tomcat context.xml

You may want to have a context.xml file uner your vcs.
You might have some config in there e.g.

Context
   Environment name="jsf/ProjectStage" override="true" type="java.lang.String" value="Development"
   
   Manager className='org.apache.catalina.session.PersistentManager'/
      Store className='org.apache.catalina.session.FileStore'/
   /Manager
/Context

You can then publish this file with IntelliJ
 Edit Configuration... -> Deployment -> Edit Artifact -> Add file
 The context.xml file must reside in META-INF/context.xml

No comments:

Post a Comment