An error occurs when I try to deploy jbpm-console.war on wildfly.8.1.0.Final (install.demo.noeclipse) - security

I'm trying to change the "default" workbench security domain (other) but I have some problems. I modified all the standalone.xml files adding a new security domain called "myDomain" and deleting "other" security domain
<security-domains>
<security-domain name="myDomain" cache-type="default">
<authentication>
<login-module code="UsersRoles" flag="required">
<module-option name="usersProperties" value="${jboss.server.config.dir}/users.properties"/>
<module-option name="rolesProperties" value="${jboss.server.config.dir}/roles.properties"/>
</login-module>
</authentication>
</security-domain>
<security-domain name="jboss-web-policy" cache-type="default">
<authorization>
<policy-module code="Delegating" flag="required"/>
</authorization>
</security-domain>
<security-domain name="jboss-ejb-policy" cache-type="default">
<authorization>
<policy-module code="Delegating" flag="required"/>
</authorization>
</security-domain>
</security-domains>
And I modified the jboss-web.xml (on the jbpm-console)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss-web PUBLIC
"-//JBoss//DTD Web Application 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd">
<jboss-web>
<security-domain>myDomain</security-domain>
</jboss-web>
But when I try to deploy the jbpm-console.war an error occurs:
"{
\"JBAS014771: Services with missing/unavailable dependencies\" => [
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.JMSAuditProcessor.CREATE is missing [jboss.ra.hornetq-ra]\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.KieSessionRequesMessageBean.CREATE is missing [jboss.ra.hornetq-ra]\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.TaskServiceRequesMessageBean.CREATE is missing [jboss.ra.hornetq-ra]\",
\"jboss.naming.context.java.module.jbpm-console.jbpm-console.DefaultJMSConnectionFactory is missing [jboss.naming.context.java.jboss.DefaultJMSConnectionFactory]\",
\"jboss.naming.context.java.module.jbpm-console.jbpm-console.env.\\\"org.kie.remote.services.jms.RequestMessageBean\\\".factory is missing [jboss.naming.context.java.JmsXA]\"
],
\"JBAS014879: One or more services were unable to start due to one or more indirect dependencies not being available.\" => {
\"Services that were unable to start:\" => [
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".CdiValidatorFactoryService\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".WeldStartService\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.AlternativeStarterBean.START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.AlternativeStarterBean.WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.AlternativeStarterBean.WeldInterceptorBindingsService\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.AvailableJobsExecutor.START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.AvailableJobsExecutor.WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.AvailableJobsExecutor.WeldInterceptorBindingsService\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.CommandWebService.START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.CommandWebService.WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.ConfigServiceWatchServiceExecutorImpl.START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.ConfigServiceWatchServiceExecutorImpl.WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.ConfigServiceWatchServiceExecutorImpl.WeldInterceptorBindingsService\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.ForEachTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.ForTokensTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.ForTokensTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.IfTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.IfTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.ImportTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.ImportTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.OutTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.OutTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.ParamTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.ParamTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.RedirectTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.RedirectTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.SetTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.SetTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.UrlTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.UrlTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.WhenTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.core.WhenTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.BundleTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.BundleTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.MessageTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.MessageTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.ParamTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.ParamTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.DateParamTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.DateParamTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.ParamTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.ParamTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.QueryTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.QueryTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.TransactionTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.TransactionTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.UpdateTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.sql.UpdateTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.ExprTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.ExprTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.ParamTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.ParamTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.ParseTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.ParseTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.TransformTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tag.rt.xml.TransformTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlCoreTLV\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlCoreTLV\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlFmtTLV\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlFmtTLV\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlSqlTLV\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlSqlTLV\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlXmlTLV\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.apache.taglibs.standard.tlv.JstlXmlTLV\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSFileServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSFileServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.drools.workbench.screens.scorecardxls.backend.server.ScoreCardXLSFileServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.drools.workbench.screens.scorecardxls.backend.server.ScoreCardXLSFileServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.guvnor.common.services.backend.archive.ArchiveServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.guvnor.common.services.backend.archive.ArchiveServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.guvnor.m2repo.backend.server.M2Servlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.guvnor.m2repo.backend.server.M2Servlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.errai.bus.server.servlet.DefaultBlockingServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.errai.bus.server.servlet.DefaultBlockingServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.errai.bus.server.servlet.StandardAsyncServlet$1\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.errai.bus.server.servlet.StandardAsyncServlet$1\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.weld.servlet.WeldInitialListener\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.weld.servlet.WeldInitialListener\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.weld.servlet.WeldTerminalListener\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jboss.weld.servlet.WeldTerminalListener\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.bui.taglib.ImageResolverTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.bui.taglib.ImageResolverTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.server.TransformerServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.server.UUIDBasedRepositoryServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.server.UUIDBasedRepositoryServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.server.menu.MenuConnectorServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.server.menu.MenuConnectorServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.server.menu.MenuServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.server.menu.MenuServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.stencilset.impl.StencilSetServiceServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.designer.web.stencilset.impl.StencilSetServiceServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.controller.ControllerServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.controller.ControllerServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.ContextTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.ContextTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.JSPIncludeTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.JSPIncludeTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.PaneTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.PaneTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.BeanTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.BeanTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.CurrentComponentTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.CurrentComponentTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.EncodeTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.EncodeTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.FormURLTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.FormURLTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.HandlerTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.HandlerTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.ParamTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.ParamTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.PropertyTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.PropertyTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.URLTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.URLTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.UseComponentTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.factory.UseComponentTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FormatterParamTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FormatterParamTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FormatterTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FormatterTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FragmentTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FragmentTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FragmentValueTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.jbpm.formModeler.service.bb.mvc.taglib.formatter.FragmentValueTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.josql.contrib.JoSQLJSPQueryTag\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.josql.contrib.JoSQLJSPQueryTag\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.kie.remote.services.rest.jaxb.DynamicJaxbContextFilter\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.kie.remote.services.rest.jaxb.DynamicJaxbContextFilter\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.kie.remote.services.ws.command.CommandWebServiceImpl\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.kie.remote.services.ws.command.CommandWebServiceImpl\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.plugin.backend.PluginMediaServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.plugin.backend.PluginMediaServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.BasicAuthSecurityFilter\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.BasicAuthSecurityFilter\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.LoginRedirectServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.LoginRedirectServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.SecureHeadersFilter\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.SecureHeadersFilter\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.SecurityIntegrationFilter\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.ext.security.server.SecurityIntegrationFilter\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.server.FileDownloadServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.server.FileDownloadServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.server.FileUploadServlet\\\".START\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".component.\\\"org.uberfire.server.FileUploadServlet\\\".WeldInstantiator\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".deploymentCompleteService\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".jndiDependencyService\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".moduleDeploymentRuntimeInformation\",
\"jboss.deployment.unit.\\\"jbpm-console.war\\\".moduleDeploymentRuntimeInformationStart\",
\"jboss.undertow.deployment.default-server.default-host./jbpm-console\",
\"jboss.undertow.deployment.default-server.default-host./jbpm-console.UndertowDeploymentInfoService\"
],
\"Services that may be the cause:\" => [
\"jboss.naming.context.java.JmsXA\",
\"jboss.naming.context.java.jboss.DefaultJMSConnectionFactory\",
\"jboss.ra.hornetq-ra\",
\"jboss.security.security-domain.other\"
]
}
}"

In Jboss server configuration folder standalone.xml and standalone-full.xml will be there. As default standalone.xml only configured it will give the basic features but standalone-full.xml will provide the services like JMS ,Queue, clustring.
Since jbpm want to access server queue and JMS part so we need run jboss server in standalone-full.xml mode.

Logs seem to indicate the war is still using "other" security domain:
\"jboss.security.security-domain.other\"

Related

Azure app service diagnostic blob not logging nlog based logs

I want to log nlog generated application logs in app service diagnostic blob [i.e, Application Logging (Blob)
] but only default logs are printed not the nlog based custom logs
but I can print Application Logging (Filesystem) when file target is added to nlog.config. The problem is only with blob.
nlog.config file:
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true"
throwConfigExceptions="true"
internalLogLevel="info"
internalLogFile="d:\home\LogFiles\temp\internal-nlog-AspNetCore3.txt">
<!-- enable asp.net core layout renderers -->
<extensions>
<add assembly="NLog.Web.AspNetCore"/>
</extensions>
<!-- the targets to write to -->
<targets>
<target xsi:type="Trace" name="String" layout="${level}\: ${logger}[0]${newline} |trace| ${message}${exception:format=tostring}" />
<target xsi:type="Console" name="lifetimeConsole" layout="${level}\: ${logger}[0]${newline} |console| ${message}${exception:format=tostring}" />
</targets>
<rules>
<logger name="*" minlevel="Trace" writeTo="lifetimeConsole,String" final="true"/>
</rules>
</nlog>
program.cs file
namespace testapp
{
public class Program
{
public static void Main(string[] args)
{
var logger = NLog.Web.NLogBuilder.ConfigureNLog("nlog.config").GetCurrentClassLogger();
try
{
logger.Debug("init main");
CreateHostBuilder(args).Build().Run();
}
catch (Exception exception)
{
logger.Error(exception, "Stopped program because of exception");
throw;
}
finally
{
NLog.LogManager.Shutdown();
}
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureLogging(logging =>
{
logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Trace);
logging.AddConsole();
logging.AddDebug();
logging.AddAzureWebAppDiagnostics();
})
.UseNLog() // NLog: Setup NLog for Dependency injection
.ConfigureServices(serviceCollection => serviceCollection
.Configure<AzureBlobLoggerOptions>(options =>
{
options.BlobName = "testlog.txt";
}))
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
}
}
The Nlog based loggings are not logged in app service diagnostic blob, instead only default logging is printed.
Kindly help to resolve this issue.
Seems that System.Diagnostics.Trace-Target works best for ASP.NET-application and not for ASP.NetCore applications in Azure.
When using AddAzureWebAppDiagnostics it will redirect all output written to Microsoft ILogger to FileSystem or Blob. But any output written to pure NLog Logger-objects will not be redirected.
Maybe the solution is to setup a NLog FileTarget writing to the HOME-directory:
<nlog>
<targets async="true">
<!-- Environment Variable %HOME% matches D:/Home -->
<target type="file" name="appfile" filename="${environment:HOME:cached=true}/logfiles/application/app-${shortdate}-${processid}.txt" />
</targets>
<rules>
<logger name="*" minLevel="Debug" writeTo="appFile" />
</rules>
</nlog>
See also: https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs#stream-logs
For including Blob-output then take a look at NLog.Extensions.AzureBlobStorage
Alternative to Blob-output could be ApplicationInsights but it might have different pricing.

Define permission dont work in lifeary 7.1

Hi have 2 entity and 1 portlet:
Entity 1: Autore
Entity 2: Opera
Portlet: BibliotecaWebPortlet
I have create a default.xml for the portlet in resource>resource-action :
<?xml version="1.0"?>
<!DOCTYPE resource-action-mapping PUBLIC "-//Liferay//DTD Resource Action Mapping 7.1.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7_1_0.dtd">
<resource-action-mapping>
<portlet-resource>
<portlet-name>it_cloudtec_biblioteca_portlet_BibliotecaWebPortlet</portlet-name>
<permissions>
<supports>
<action-key>AGGIUNGI_AL_TEMPLATE</action-key>
<action-key>CONFIGURAZIONE</action-key>
<action-key>VISUALIZZA</action-key>
</supports>
<site-member-defaults>
<action-key>VISUALIZZA</action-key>
</site-member-defaults>
<guest-defaults>
<action-key>VISUALIZZA</action-key>
</guest-defaults>
<guest-unsupported>
<action-key>AGGIUNGI_AL_TEMPLATE</action-key>
<action-key>CONFIGURAZIONE</action-key>
</guest-unsupported>
</permissions>
</portlet-resource>
</resource-action-mapping>
(Portlet name is correct)
i have created default.xml for service in resource>resource-action:
<?xml version="1.0"?>
<!DOCTYPE resource-action-mapping PUBLIC "-//Liferay//DTD Resource Action Mapping 7.1.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7_1_0.dtd">
<resource-action-mapping><model-resource>
<model-name>it.cloudtec.biblioteca</model-name>
<portlet-ref>
<portlet-name>it_cloudtec_biblioteca_portlet_BibliotecaWebPortlet</portlet-name>
</portlet-ref>
<root>true</root>
<weight>1</weight>
<permissions>
<supports>
<action-key>AGGIUNGI</action-key>
</supports>
<site-member-defaults>
</site-member-defaults>
<guest-defaults />
<guest-unsupported>
</guest-unsupported>
</permissions>
</model-resource><model-resource>
<model-name>it.cloudtec.biblioteca.model.Autore</model-name>
<portlet-ref>
<portlet-name>it_cloudtec_biblioteca_portlet_BibliotecaWebPortlet</portlet-name>
</portlet-ref>
<weight>2</weight>
<permissions>
<supports>
<action-key>AGGIUNGI_AUTORE</action-key>
<action-key>CANCELLA_AUTORE</action-key>
<action-key>AGGIORNA_AUTORE</action-key>
<action-key>VISUALIZZA_LISTA_AUTORI</action-key>
</supports>
<site-member-defaults>
<action-key>VISUALIZZA_LISTA_AUTORI</action-key>
</site-member-defaults>
<guest-defaults>
<action-key>VISUALIZZA_LISTA_AUTORI</action-key>
</guest-defaults>
<guest-unsupported>
<action-key>AGGIUNGI_AUTORE</action-key>
<action-key>CANCELLA_AUTORE</action-key>
<action-key>AGGIORNA_AUTORE</action-key>
</guest-unsupported>
</permissions>
</model-resource>
</resource-action-mapping>
Why dont show the action key in control panel? (Website > user > role s > select my custom role > define permission > site administration > application >BibliotecaWebApp)
​​​​​​​I view only default's keys. > Add to Page - Configuration - Permissions - Preferences portlet.properties is present in portlet and service modules.

Azure LetsEncrypt cannot access .well-known/acme-challenge for my function

I am trying to enable SSL for my azure function using the letsencrypt site-extension for azure as described here. I was following the instructions in that wiki and on this website.
However, I get an error when it tries to verify the website.
The error indicates that the acme-challenge page cannot be accessed (404).
This is my web.config under .well-known/:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<clear />
<add name="ACMEStaticFile" path="*" verb="*" modules="StaticFileModule" resourceType="Either" requireAccess="Read" />
</handlers>
<staticContent>
<remove fileExtension="." />
<mimeMap fileExtension="." mimeType="text/plain" />
</staticContent>
</system.webServer>
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</configuration>
Does anyone have any ideas on what could be going wrong?
Here's how you can do that.
In your function app, create a new proxy for the challenge directory (this is required as the challenge will be a http get to /.well-known/acme-challenge/, and per default a function in a function app will only answer on /api/.
You can setup the proxy in the following way.
proxies.json
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"LetsEncryptProxy": {
"matchCondition": {
"route": "/.well-known/acme-challenge/{code}"
},
"backendUri": "http://%WEBSITE_HOSTNAME%/api/letsencrypt/.well-known/acme-challenge/{code}"
}
}
}
The important setting here is the Route Template: /.well-known/acme-challenge/{*rest} this will match all request that goes to the challenge directory.
Please note that proxies are a preview feature and you have to enable it, for it to work.
Reference:
https://github.com/sjkp/letsencrypt-siteextension/wiki/Azure-Functions-Support
https://blog.bitscry.com/2018/07/06/using-lets-encrypt-ssl-certificates-with-azure-functions/
I figured it out:
Similar to KetanChawda-MSFT's answer, except the proxy needs to hit the api endpoint function that you create.
So here's the function:
// https://YOURWEBSITE.azurewebsites.net/api/letsencrypt/{code}
#r "Newtonsoft.Json"
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Primitives;
using Newtonsoft.Json;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, string code, TraceWriter log)
{
log.Info($"C# HTTP trigger function processed a request. {code}");
var content = File.ReadAllText(#"D:\home\site\wwwroot\.well-known\acme-challenge\"+code);
var resp = new HttpResponseMessage(HttpStatusCode.OK);
resp.Content = new StringContent(content, System.Text.Encoding.UTF8, "text/plain");
return resp;
}
And here's the proxy that hits that function when letsEncrypt tries to verify the acme challenge:
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"LetsEncryptProxy": {
"matchCondition": {
"route": "/.well-known/acme-challenge/{code}"
},
"backendUri": "http://%WEBSITE_HOSTNAME%/api/letsencrypt/{code}"
}
}
}

Variable in WildFly: Cannot resolve expression on Linux

My setting
standalone.conf.bat
set "DBO_PATH_CONFIG=D:/test"
set "MOBILE_KEYSTORE=jboss.mobile.keystore"
standalone.conf
set "DBO_PATH_CONFIG=/opt/!!!"
set "MOBILE_KEYSTORE=jboss.mobile.keystore"
standalone.xml
<security-realm name="SslRealm">
<server-identities>
<ssl>
<keystore path="${env.DBO_PATH_CONFIG}/${env.MOBILE_KEYSTORE}" keystore-password="rmi+ssl"/>
</ssl>
</server-identities>
</security-realm>
Properties
<subsystem xmlns="urn:jboss:domain:naming:2.0">
<bindings>
<simple name="java:/propertiesFileName" value="NONE" />
<simple name="java:/propertiesFileNameV1" value="${env.DBO_PATH_CONFIG}/V1.properties" />
<simple name="java:/propertiesFileNameV2" value="${env.DBO_PATH_CONFIG}/V2.properties" />
</bindings>
<remote-naming />
</subsystem>
On Windows all works fine but on Linux I have this error:
10:57:34,512 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("core-service" => "management"),
("security-realm" => "SslRealm")
]) - failure description: "WFLYCTL0211: Cannot resolve expression '${env.DBO_PATH_CONFIG}/${env.MOBILE_KEYSTORE}'"
How to solve this problem?
On Linux it's export not set. I also don't think you can have a directory called !!!. ! has a special meaning in bash.

Cannot update Azure Deployment when it is using Reserved IPs

I’m trying to install a diagnostic extension via API into an existing Azure cloud service. Cloud Service has a reserved IP assigned. I’m getting “A reserved IP cannot be added, removed or changed during deployment update or upgrade.” when doing so using ChangeConfigurationBySlot. Does anyone know the trick to get this to work? Is this a miss in the API or am I doing something wrong?
Here’s a relevant code snippet:
var dep = client.Deployments.GetBySlot(resource.ServiceName, DeploymentSlot.Production);
var serviceConfig = XElement.Parse(dep.Configuration, LoadOptions.SetBaseUri);
var config = new DeploymentChangeConfigurationParameters(serviceConfig.ToString())
{
ExtendedProperties = dep.ExtendedProperties,
Mode = DeploymentChangeConfigurationMode.Auto,
TreatWarningsAsError = false,
Configuration = serviceConfig.ToString(),
ExtensionConfiguration = new ExtensionConfiguration
{
AllRoles = new List<ExtensionConfiguration.Extension>(),
NamedRoles = extensionConfig
}
};
var result = client.Deployments.ChangeConfigurationBySlot(resource.ServiceName, DeploymentSlot.Production, config);
Here is the relevant section from cloud service config
<ServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" serviceName="IS.Admin.Azure" osFamily="4" osVersion="*" schemaVersion="2014-06.2.4" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
<Role name="IS.Admin">
…
</Role>
<NetworkConfiguration>
<VirtualNetworkSite name="is-prod" />
<AddressAssignments>
<InstanceAddress roleName="IS.Admin">
<Subnets>
<Subnet name="Subnet-1" />
</Subnets>
</InstanceAddress>
<ReservedIPs>
<ReservedIP name="is-admin-rip" />
</ReservedIPs>
</AddressAssignments>
</NetworkConfiguration>
</ServiceConfiguration>
My update has nothing to do with changing/removing/adding Reserved IPs. Any ideas as to how to update the service config?
Try deploying to staging and doing a vip swap. The reserved ips are sticky to the slot, so it shouldn't interfere with your IPs in prod.

Resources