[JBoss JIRA] (MODCLUSTER-485) Move CI to Travis
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-485?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-485:
--------------------------------------
Fix Version/s: 1.4.0.Alpha1
> Move CI to Travis
> -----------------
>
> Key: MODCLUSTER-485
> URL: https://issues.jboss.org/browse/MODCLUSTER-485
> Project: mod_cluster
> Issue Type: Task
> Components: Core & Container Integration (Java)
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Labels: CI
> Fix For: 1.3.4.Final, 1.4.0.Alpha1, 2.0.0.Alpha1
>
>
> -I ran into this while adding support for Tomcat 9.-
> -What the CI should be testing, give the number of JDKs and different container versions that we support, we should build with respective jdks and versions:-
> -jdk6 + mvn verify -PTC6-
> -jdk7 + mvn verify -PTC7-
> -jdk7 + mvn verify -PAS7-
> -jdk8 + mvn verify -PTC8-
> -jdk7/8 + mvn verify-
> The situation has changed since original proposal fixing CI with proper dependencies for tomcat versions. Taking into account support for legacy containers has been dropped in master, so now we have desired combinations:
> * jdk7 + jdk8 and default profile (excludes Tomcat 9) -> 3 combos on travis
> * jdk 8 + Tomcat 9 profile -> 1 combo on travis
> See http://tomcat.apache.org/whichversion.html
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (MODCLUSTER-485) Move CI to Travis
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-485?page=com.atlassian.jira.pl... ]
Radoslav Husar reopened MODCLUSTER-485:
---------------------------------------
> Move CI to Travis
> -----------------
>
> Key: MODCLUSTER-485
> URL: https://issues.jboss.org/browse/MODCLUSTER-485
> Project: mod_cluster
> Issue Type: Task
> Components: Core & Container Integration (Java)
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Labels: CI
> Fix For: 1.3.4.Final, 1.4.0.Alpha1, 2.0.0.Alpha1
>
>
> -I ran into this while adding support for Tomcat 9.-
> -What the CI should be testing, give the number of JDKs and different container versions that we support, we should build with respective jdks and versions:-
> -jdk6 + mvn verify -PTC6-
> -jdk7 + mvn verify -PTC7-
> -jdk7 + mvn verify -PAS7-
> -jdk8 + mvn verify -PTC8-
> -jdk7/8 + mvn verify-
> The situation has changed since original proposal fixing CI with proper dependencies for tomcat versions. Taking into account support for legacy containers has been dropped in master, so now we have desired combinations:
> * jdk7 + jdk8 and default profile (excludes Tomcat 9) -> 3 combos on travis
> * jdk 8 + Tomcat 9 profile -> 1 combo on travis
> See http://tomcat.apache.org/whichversion.html
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (MODCLUSTER-509) Excluded contexts which are not specific to a host should be excluded on all hosts
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/MODCLUSTER-509?page=com.atlassian.jira.pl... ]
Radoslav Husar updated MODCLUSTER-509:
--------------------------------------
Fix Version/s: 1.4.0.Alpha1
> Excluded contexts which are not specific to a host should be excluded on all hosts
> ----------------------------------------------------------------------------------
>
> Key: MODCLUSTER-509
> URL: https://issues.jboss.org/browse/MODCLUSTER-509
> Project: mod_cluster
> Issue Type: Bug
> Affects Versions: 1.3.2.Final, 1.2.12.Final, 2.0.0.Alpha1
> Environment: Tomcat8 (haven't tried elsewhere yet); mod_cluster version 2.0.0.Alpha1-SNAPSHOT
> Reporter: Michal Karm Babacek
> Assignee: Radoslav Husar
> Priority: Critical
> Fix For: 1.3.3.Final, 1.2.13.Final, 1.4.0.Alpha1, 2.0.0.Alpha1
>
>
> With the following configuration:
> {code}
> <Listener className="org.jboss.modcluster.container.catalina.standalone.ModClusterListener"
> loadMetricClass="org.jboss.modcluster.load.metric.impl.BusyConnectorsLoadMetric"
> loadMetricCapacity="1"
> loadHistory="9"
> loadDecayFactor="2"
> stickySession="true"
> stickySessionForce="false"
> stickySessionRemove="true"
> advertise="true"
> advertiseGroupAddress="224.0.1.105"
> advertisePort="23364"
> advertiseInterface="10.40.4.50"
> excludedContexts="ROOT,docs,manager,host-manager,examples"
> />
> {code}
> And these contexts in webapps:
> {code}
> clusterbench docs examples host-manager manager ROOT
> {code}
> One expects this output on Mod_cluster manger console:
> {code}
> Virtual Host 1:
> Contexts:
> /clusterbench, Status: ENABLED Request: 0 Disable Stop
> Aliases:
> localhost
> {code}
> It works, unless you configure additional VirtualHosts:
> {code}
> <Host name="LOCALHOST" appBase="webapps" unpackWARs="true" autoDeploy="true">
> <Alias>LOCALHOST</Alias>
> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
> prefix="localhost_access_log" suffix=".txt"
> pattern="%h %l %u %t "%r" %s %b" />
> </Host>
> <Host name="KARM.BRQ.REDHAT.COM" appBase="webapps" unpackWARs="true" autoDeploy="true">
> <Alias>KARM.BRQ.REDHAT.COM</Alias>
> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
> prefix="localhost_access_log" suffix=".txt"
> pattern="%h %l %u %t "%r" %s %b" />
> </Host>
> {code}
> result:
> {code}
> Node worker1 (ajp://10.40.4.50:8009):
> Enable Contexts Disable Contexts Stop Contexts
> Balancer: mycluster,LBGroup: ,Flushpackets: Off,Flushwait: 10000,Ping: 10000000,Smax: 1,Ttl: 60000000,Status: OK,Elected: 0,Read: 0,Transferred: 0,Connected: 0,Load: 100
> Virtual Host 2:
> Contexts:
> /docs, Status: ENABLED Request: 0 Disable Stop
> /manager, Status: ENABLED Request: 0 Disable Stop
> /host-manager, Status: ENABLED Request: 0 Disable Stop
> /examples, Status: ENABLED Request: 0 Disable Stop
> /, Status: ENABLED Request: 0 Disable Stop
> /clusterbench, Status: ENABLED Request: 0 Disable Stop
> Aliases:
> karm.brq.redhat.com
> Virtual Host 1:
> Contexts:
> /clusterbench, Status: ENABLED Request: 0 Disable Stop
> Aliases:
> localhost
> {code}
> I find this bug being of Critical priority, because it could coax users into believing they excluded certain context while in fact they didn't.
> WDYT? Is it possible to tweak with the Listener's configuration somehow?
> THX.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months