[JBoss JIRA] Created: (MODCLUSTER-211) SE Linux in RHEL 6 does not support mod_cluster in the context of HTTPD
by Jim Tyrrell (JIRA)
SE Linux in RHEL 6 does not support mod_cluster in the context of HTTPD
-----------------------------------------------------------------------
Key: MODCLUSTER-211
URL: https://issues.jboss.org/browse/MODCLUSTER-211
Project: mod_cluster
Issue Type: Feature Request
Affects Versions: 1.0.4.GA
Environment: Apache 2.2.15 in RHEL 6 with mod_cluster in EAP
Reporter: Jim Tyrrell
Assignee: Jean-Frederic Clere
When trying to run mod_cluster module inside of Apache I need to create a custom SE Linux policy. This should not need to be done as RHEL should ship the correctly enabled SE Linux policy, although in talking with my resident RHEL expert, the error messaging is that mod_cluster is using write instead of append as the existing policy does. I will cross post this in BZ for the SE Linux team, as I am not sure where changes need to be made, I will update this ticket with that ticket number.
The create SE Linux TE file looks like this:
module jbosshttpd 1.0;
require {
type httpd_log_t;
type httpd_t;
type port_t;
type soundd_port_t;
class tcp_socket name_bind;
class file write;
class dir remove_name;
class udp_socket name_bind;
}
#============= httpd_t ==============
allow httpd_t httpd_log_t:dir remove_name;
allow httpd_t httpd_log_t:file write;
#!!!! This avc can be allowed using the boolean 'allow_ypbind'
allow httpd_t port_t:udp_socket name_bind;
allow httpd_t soundd_port_t:tcp_socket name_bind;
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (MODCLUSTER-208) ClassCastException on updateClusterStatus()
by Bela Ban (JIRA)
ClassCastException on updateClusterStatus()
-------------------------------------------
Key: MODCLUSTER-208
URL: https://issues.jboss.org/browse/MODCLUSTER-208
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.1.0.Final
Environment: JBoss AS 6.0.0.final
Reporter: Bela Ban
Assignee: Jean-Frederic Clere
13:55:36,731 ERROR [org.apache.catalina.core.ContainerBase] Exception invoking periodic operation: : java.lang.ClassCastException: org.jboss.modcluster.ha.rpc.DefaultRpcResponse cannot be cast to org.jboss.modcluster.ha.rpc.RpcResponse
at org.jboss.modcluster.ha.HAModClusterService$ClusteredModClusterService.updateClusterStatus(HAModClusterService.java:1222) [:1.1.0.Final]
at org.jboss.modcluster.ha.HAModClusterService$ClusteredModClusterService.status(HAModClusterService.java:1167) [:1.1.0.Final]
at org.jboss.modcluster.ha.HAModClusterService.status(HAModClusterService.java:359) [:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:314) [:1.1.0.Final]
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [:6.0.0.Final]
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1335) [:6.0.0.Final]
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1599) [:6.0.0.Final]
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1588) [:6.0.0.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] Created: (MODCLUSTER-112) Refactor project into modules for HA, catalina, core, etc.
by Paul Ferraro (JIRA)
Refactor project into modules for HA, catalina, core, etc.
----------------------------------------------------------
Key: MODCLUSTER-112
URL: https://jira.jboss.org/jira/browse/MODCLUSTER-112
Project: mod_cluster
Issue Type: Sub-task
Reporter: Paul Ferraro
Assignee: Jean-Frederic Clere
Restructure maven project to create separate module jars.
mod-cluster-spi: ContainerEventHandler, Server, Engine, Connector, Host, Context
mod-cluster-core: ModClusterService and dependencies
mod-cluster-ha: HAModClusterService and dependencies
mod-cluster-catalina: ModClusterListener, CatalinaEventHandlerAdapter and spi implementation
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (MODCLUSTER-151) Modify jbossweb metrics to use service provider spi, instead of jmx
by Paul Ferraro (JIRA)
Modify jbossweb metrics to use service provider spi, instead of jmx
-------------------------------------------------------------------
Key: MODCLUSTER-151
URL: https://jira.jboss.org/jira/browse/MODCLUSTER-151
Project: mod_cluster
Issue Type: Feature Request
Affects Versions: 1.1.0.CR1
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Currently, the jbossweb load metrics (i.e. ActiveSessionsLoadMetric, BusyConnectorsLoadMetric, RequestCountLoadMetric, ReceiveTrafficLoadMetric, SendTrafficLoadMetric) use jmx to generate their load values.
This is potentially fragile.
Instead, these load metrics should use org.jboss.mod_cluster.Engine as a load context.
This raises the issue of load value scope. Currently, load is scoped to a server. Really, this should be scoped to an engine. While server:engine is usually a 1:1 relationship, this is technically a 1:N relationship.
Suggested API change:
class LoadMetricSource<C extends LoadContext>
{
C createContext(Engine engine);
}
Where there exists:
class EngineLoadMetricSource<EngineLoadContext>
{
public EngineLoadContext createContext(Engine engine)
{
return new EngineLoadContext(engine);
}
}
class EngineLoadContext implements LoadContext
{
private final Engine engine;
public EngineLoadContext(Engine engine)
{
this.engine = engine;
}
public Engine getEngine()
{
return this.engine;
}
public void close()
{
// Nothing to close
}
}
The various jbossweb load metrics would use this source.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (MODCLUSTER-219) AS7 schema requires properties.
by Jean-Frederic Clere (JIRA)
AS7 schema requires properties.
-------------------------------
Key: MODCLUSTER-219
URL: https://issues.jboss.org/browse/MODCLUSTER-219
Project: mod_cluster
Issue Type: Feature Request
Affects Versions: 1.1.1.Final
Reporter: Jean-Frederic Clere
Assignee: Paul Ferraro
Fix For: 1.1.2.Final
In the xsd we have:
+++
<xs:complexType name="common-load-metricType" abstract="true">
<xs:sequence>
<xs:element name="property" type="tns:propertyType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="weight" type="xs:int"/>
<xs:attribute name="capacity" type="xs:double"/>
</xs:complexType>
+++
So a getProperties() and a setProperties() should be added AbstractLoadMetric for example?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years