This is what I have been doing with jetty-maven-plugin 9.3.x to keep sessions 
with hot reload

      <plugin>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-maven-plugin</artifactId>
        <version>9.3.17.v20170317</version>
        <configuration>
          <httpConnector>
            <host>localhost</host>
            <port>${jetty.port}</port>
          </httpConnector>
          <reload>manual</reload>
          <jettyXml>${project.basedir}/src/main/etc/jetty.xml</jettyXml>
          <webApp>
            <contextPath>/candidaturas</contextPath>
            
<webInfIncludeJarPattern>.*/webjars/.*\.jar$</webInfIncludeJarPattern>
            <containerIncludeJarPattern>^$</containerIncludeJarPattern>
            <baseResource 
implementation="org.eclipse.jetty.util.resource.ResourceCollection">
              
<resourcesAsCSV>${project.basedir}/src/main/webapp,${project.basedir}/../target/gwt/launcherDir</resourcesAsCSV>
            </baseResource>
            <sessionHandler 
implementation="org.eclipse.jetty.server.session.SessionHandler">
              <sessionManager 
implementation="org.eclipse.jetty.server.session.HashSessionManager">
                
<storeDirectory>${project.basedir}/target/jetty-sessions</storeDirectory>
              </sessionManager>
            </sessionHandler>
          </webApp>
        </configuration>
      </plugin>

What is the equivalent to handle the sessions in 9.4.x?

Thanks
_______________________________________________
jetty-users mailing list
jetty-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to