Juan Hernandez has uploaded a new change for review. Change subject: core: Enable Infinispan dependencies ......................................................................
core: Enable Infinispan dependencies Since version 7.2 of the application server (aka EAP 6.1) the JMX and management subsystems are dependencies of Infinispan, so we need to enable them. This means that we also need to enable the management port, so in order to disallow connections we just use an empty users file. Bug-Url: https://bugzilla.redhat.com/972400 Change-Id: If7817435ecfd8ca57b8ceee31b9bc77c66f80c60 Signed-off-by: Juan Hernandez <[email protected]> --- M packaging/services/ovirt-engine.xml.in 1 file changed, 28 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/15808/1 diff --git a/packaging/services/ovirt-engine.xml.in b/packaging/services/ovirt-engine.xml.in index 408f6f7..242805d 100644 --- a/packaging/services/ovirt-engine.xml.in +++ b/packaging/services/ovirt-engine.xml.in @@ -9,6 +9,7 @@ <extension module="org.jboss.as.ee"/> <extension module="org.jboss.as.ejb3"/> <extension module="org.jboss.as.jaxrs"/> + <extension module="org.jboss.as.jmx"/> <extension module="org.jboss.as.jpa"/> <extension module="org.jboss.as.logging"/> <extension module="org.jboss.as.naming"/> @@ -34,6 +35,27 @@ <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION_MIME_TYPES" value="text/javascript,text/css,text/html,text/xml,text/json,application/x-yaml,application/xml,application/json"/> </system-properties> + + <!-- We need to enable the management subsystem because it is an + indirect dependency of the Infinispan subsystem (since version + 7.2 of the application server) but at the same time we don't + want anyone (other than the root and ovirt users) to be able + to connect to the management port, so we just use an empty + users file: --> + <management> + <security-realms> + <security-realm name="management"> + <authentication> + <properties path="/dev/null"/> + </authentication> + </security-realm> + </security-realms> + <management-interfaces> + <native-interface security-realm="management"> + <socket-binding native="management"/> + </native-interface> + </management-interfaces> + </management> <profile> @@ -216,6 +238,11 @@ </default-workmanager> </subsystem> + <subsystem xmlns="urn:jboss:domain:jmx:1.1"> + <show-model value="true"/> + <remoting-connector/> + </subsystem> + <subsystem xmlns="urn:jboss:domain:jpa:1.0"> <jpa default-datasource=""/> </subsystem> @@ -311,6 +338,7 @@ <socket-binding name="remoting" port="8703"/> <socket-binding name="txn-recovery-environment" port="8704"/> <socket-binding name="txn-status-manager" port="8705"/> + <socket-binding name="management" port="8706"/> </socket-binding-group> </server> -- To view, visit http://gerrit.ovirt.org/15808 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If7817435ecfd8ca57b8ceee31b9bc77c66f80c60 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
