[JBoss JIRA] (ELY-1350) Wildfly Elytron Tool, Powershell script elytron-tool.ps1 doesn't work with custom credential store implementation.
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/ELY-1350?page=com.atlassian.jira.plugin.s... ]
Brian Stansberry commented on ELY-1350:
---------------------------------------
I'm going to move this to WFCORE as the fix is being made to core and can't be resolved against any elytron release.
> Wildfly Elytron Tool, Powershell script elytron-tool.ps1 doesn't work with custom credential store implementation.
> ------------------------------------------------------------------------------------------------------------------
>
> Key: ELY-1350
> URL: https://issues.jboss.org/browse/ELY-1350
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Hynek Švábek
> Assignee: Ilia Vassilev
>
> Powershell script elytron-tool.ps1 doesn't work with custom credential store implementation.
> There is problem with getting value of environment variable ELYTRON_TOOL_ADDONS.
> *How to reproduce:*
> * run powershell and set work directory JBOSS_HOME/bin
> * set env variable for custom credential store implementation jar like this:
> {code}
> $env:ELYTRON_TOOL_ADDONS="C:\custom.jar"
> {code}
> * run this command
> {code}
> PowerShell -ExecutionPolicy Bypass -File elytron-tool.ps1 credential-store --add secret_alias --password pass123 --create -x secret_password -l 001.jceks --type CustomTestCredentialStore --debug
> Exception encountered executing the command:
> java.security.NoSuchAlgorithmException
> at org.wildfly.security.credential.store.CredentialStore.getInstance(CredentialStore.java:80)
> at
> org.wildfly.security.tool.CredentialStoreCommand.execute(CredentialStoreCommand.java:188
> at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:81)
> {code}
> *Suggestion to improve:*
> For me works one of these changes in elytron-tool.ps1 script
> # if (Test-Path env:ELYTRON_TOOL_ADDONS) { $ELYTRON_TOOL_ADDONS=(Get-ChildItem Env:ELYTRON_TOOL_ADDONS).value }
> # $ELYTRON_TOOL_ADDONS=$env:ELYTRON_TOOL_ADDONS
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (WFCORE-3298) EnumValidator should avoid trying to modify protected nodes
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-3298:
----------------------------------------
Summary: EnumValidator should avoid trying to modify protected nodes
Key: WFCORE-3298
URL: https://issues.jboss.org/browse/WFCORE-3298
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
EnumValidator is trying to "correct" inputs by converting the input node to the official name of the enum. This results a caught and discarded UnsupportedOperationException if the node is protected. Catching an exception is a poor way to do this.
Simply not doing the write if the input is the same as the official value is one way to mitigate this, but better is to wait for DMR-37 and just check if the node is protected.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (WFCORE-3293) Transformers logging duplicate messages on DC when managing mixed domain
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3293?page=com.atlassian.jira.plugi... ]
Ken Wills commented on WFCORE-3293:
-----------------------------------
The underlying reason for WFCORE-3290 caused this to show up in testsuite/mixed-domain in full.
> Transformers logging duplicate messages on DC when managing mixed domain
> ------------------------------------------------------------------------
>
> Key: WFCORE-3293
> URL: https://issues.jboss.org/browse/WFCORE-3293
> Project: WildFly Core
> Issue Type: Task
> Reporter: Ken Wills
> Assignee: Ken Wills
>
> Transformers on the DC in a mixed domain are a bit agressive logging slave transformer issues during registration and deregistration. This message should probably only be logged once. rather than before registration complete, after registration completes and post deregistration.
> {code}
> 2017-09-14 14:09:16,465 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:16,610 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:16,925 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 3) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:16,953 INFO [org.jboss.as.domain.controller] (management task-6) WFLYHC0026: Unregistered remote slave host "slave"
> 2017-09-14 14:09:19,012 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:19,611 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:19,734 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:20,550 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 3) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:20,576 INFO [org.jboss.as.domain.controller] (management task-6) WFLYHC0026: Unregistered remote slave host "slave"
> 2017-09-14 14:09:22,342 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:22,934 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:22,997 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:23,828 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 4) WFLYCTL0032: There were problems during the transformation process
> {code}
> The stacktrace is almost the same in all cases:
> {code}
> 017-09-14 14:09:16,465 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> Problems found:
> [ WFLYCTL0303: Resource [
> ("profile" => "default"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , java.lang.Thread.getStackTrace(Thread.java:1559)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:145)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.description.ChainedTransformingDescription.transformResource(ChainedTransformingDescription.java:122)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.TransformersImpl.transformRootResource(TransformersImpl.java:134)
> org.jboss.as.domain.controller.operations.ReadMasterDomainModelUtil.readMasterDomainResourcesForInitialConnect(ReadMasterDomainModelUtil.java:89)
> org.jboss.as.domain.controller.operations.ReadDomainModelHandler.execute(ReadDomainModelHandler.java:56)
> org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:980)
> org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
> org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
> org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402)
> org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
> org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:490)
> org.jboss.as.host.controller.DomainModelControllerService.access$1100(DomainModelControllerService.java:200)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.lambda$apply$0(DomainModelControllerService.java:1372)
> org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:63)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1372)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1369)
> org.jboss.as.host.controller.SecurityActions$Execution$1.execute(SecurityActions.java:77)
> org.jboss.as.host.controller.SecurityActions.privilegedExecution(SecurityActions.java:47)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.execute(DomainModelControllerService.java:1375)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.processRegistration(HostControllerRegistrationHandler.java:487)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.access$400(HostControllerRegistrationHandler.java:394)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$InitiateRegistrationHandler$1.execute(HostControllerRegistrationHandler.java:254)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
> org.jboss.threads.JBossThread.run(JBossThread.java:320)
> , WFLYCTL0303: Resource [
> , WFLYCTL0303: Resource [
> ("profile" => "ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full-ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> ]
> 2017-09-14 14:09:16,610 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:16,925 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 3) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> Problems found:
> [ WFLYCTL0303: Resource [
> ("profile" => "default"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , java.lang.Thread.getStackTrace(Thread.java:1559)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:145)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.description.ChainedTransformingDescription.transformResource(ChainedTransformingDescription.java:122)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.TransformersImpl.transformRootResource(TransformersImpl.java:134)
> org.jboss.as.domain.controller.operations.ReadMasterDomainModelUtil.readMasterDomainResourcesForInitialConnect(ReadMasterDomainModelUtil.java:89)
> org.jboss.as.domain.controller.operations.ReadDomainModelHandler.execute(ReadDomainModelHandler.java:56)
> org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:980)
> org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
> org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
> org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402)
> org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
> org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:490)
> org.jboss.as.host.controller.DomainModelControllerService.access$1100(DomainModelControllerService.java:200)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.lambda$apply$0(DomainModelControllerService.java:1372)
> org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:63)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1372)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1369)
> org.jboss.as.host.controller.SecurityActions$Execution$1.execute(SecurityActions.java:77)
> org.jboss.as.host.controller.SecurityActions.privilegedExecution(SecurityActions.java:47)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.execute(DomainModelControllerService.java:1375)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.processRegistration(HostControllerRegistrationHandler.java:487)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.access$400(HostControllerRegistrationHandler.java:394)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$InitiateRegistrationHandler$1.execute(HostControllerRegistrationHandler.java:254)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
> org.jboss.threads.JBossThread.run(JBossThread.java:320)
> , WFLYCTL0303: Resource [
> ("profile" => "ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full-ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (WFCORE-3293) Transformers logging duplicate messages on DC when managing mixed domain
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3293?page=com.atlassian.jira.plugi... ]
Ken Wills reassigned WFCORE-3293:
---------------------------------
Assignee: Ken Wills
> Transformers logging duplicate messages on DC when managing mixed domain
> ------------------------------------------------------------------------
>
> Key: WFCORE-3293
> URL: https://issues.jboss.org/browse/WFCORE-3293
> Project: WildFly Core
> Issue Type: Task
> Reporter: Ken Wills
> Assignee: Ken Wills
>
> Transformers on the DC in a mixed domain are a bit agressive logging slave transformer issues during registration and deregistration. This message should probably only be logged once. rather than before registration complete, after registration completes and post deregistration.
> {code}
> 2017-09-14 14:09:16,465 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:16,610 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:16,925 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 3) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:16,953 INFO [org.jboss.as.domain.controller] (management task-6) WFLYHC0026: Unregistered remote slave host "slave"
> 2017-09-14 14:09:19,012 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:19,611 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:19,734 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:20,550 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 3) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:20,576 INFO [org.jboss.as.domain.controller] (management task-6) WFLYHC0026: Unregistered remote slave host "slave"
> 2017-09-14 14:09:22,342 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:22,934 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> 2017-09-14 14:09:22,997 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:23,828 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 4) WFLYCTL0032: There were problems during the transformation process
> {code}
> The stacktrace is almost the same in all cases:
> {code}
> 017-09-14 14:09:16,465 WARN [org.jboss.as.controller.transformer.slave] (Host Controller Service Threads - 36) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> Problems found:
> [ WFLYCTL0303: Resource [
> ("profile" => "default"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , java.lang.Thread.getStackTrace(Thread.java:1559)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:145)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.description.ChainedTransformingDescription.transformResource(ChainedTransformingDescription.java:122)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.TransformersImpl.transformRootResource(TransformersImpl.java:134)
> org.jboss.as.domain.controller.operations.ReadMasterDomainModelUtil.readMasterDomainResourcesForInitialConnect(ReadMasterDomainModelUtil.java:89)
> org.jboss.as.domain.controller.operations.ReadDomainModelHandler.execute(ReadDomainModelHandler.java:56)
> org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:980)
> org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
> org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
> org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402)
> org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
> org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:490)
> org.jboss.as.host.controller.DomainModelControllerService.access$1100(DomainModelControllerService.java:200)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.lambda$apply$0(DomainModelControllerService.java:1372)
> org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:63)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1372)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1369)
> org.jboss.as.host.controller.SecurityActions$Execution$1.execute(SecurityActions.java:77)
> org.jboss.as.host.controller.SecurityActions.privilegedExecution(SecurityActions.java:47)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.execute(DomainModelControllerService.java:1375)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.processRegistration(HostControllerRegistrationHandler.java:487)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.access$400(HostControllerRegistrationHandler.java:394)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$InitiateRegistrationHandler$1.execute(HostControllerRegistrationHandler.java:254)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
> org.jboss.threads.JBossThread.run(JBossThread.java:320)
> , WFLYCTL0303: Resource [
> , WFLYCTL0303: Resource [
> ("profile" => "ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full-ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> ]
> 2017-09-14 14:09:16,610 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "slave", JBoss EAP 6.3.0.GA (WildFly 7.4.0.Final-redhat-19)
> 2017-09-14 14:09:16,925 WARN [org.jboss.as.controller.transformer.slave] (management-handler-thread - 3) WFLYCTL0032: There were problems during the transformation process for target host: 'slave'
> Problems found:
> [ WFLYCTL0303: Resource [
> ("profile" => "default"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , java.lang.Thread.getStackTrace(Thread.java:1559)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:145)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.description.ChainedTransformingDescription.transformResource(ChainedTransformingDescription.java:122)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.description.TransformingDescription$3.invokeNext(TransformingDescription.java:167)
> org.jboss.as.controller.transform.description.AttributeTransformationRule.transformResource(AttributeTransformationRule.java:103)
> org.jboss.as.controller.transform.description.TransformingDescription.transformResource(TransformingDescription.java:173)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChild(ResourceTransformationContextImpl.java:297)
> org.jboss.as.controller.transform.ResourceTransformationContextImpl.processChildren(ResourceTransformationContextImpl.java:262)
> org.jboss.as.controller.transform.ResourceTransformer$1.transformResource(ResourceTransformer.java:54)
> org.jboss.as.controller.transform.TransformersImpl.transformRootResource(TransformersImpl.java:134)
> org.jboss.as.domain.controller.operations.ReadMasterDomainModelUtil.readMasterDomainResourcesForInitialConnect(ReadMasterDomainModelUtil.java:89)
> org.jboss.as.domain.controller.operations.ReadDomainModelHandler.execute(ReadDomainModelHandler.java:56)
> org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:980)
> org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
> org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
> org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402)
> org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
> org.jboss.as.controller.AbstractControllerService.internalExecute(AbstractControllerService.java:490)
> org.jboss.as.host.controller.DomainModelControllerService.access$1100(DomainModelControllerService.java:200)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.lambda$apply$0(DomainModelControllerService.java:1372)
> org.jboss.as.controller.access.InVmAccess.runInVm(InVmAccess.java:63)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1372)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor$1.apply(DomainModelControllerService.java:1369)
> org.jboss.as.host.controller.SecurityActions$Execution$1.execute(SecurityActions.java:77)
> org.jboss.as.host.controller.SecurityActions.privilegedExecution(SecurityActions.java:47)
> org.jboss.as.host.controller.DomainModelControllerService$InternalExecutor.execute(DomainModelControllerService.java:1375)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.processRegistration(HostControllerRegistrationHandler.java:487)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$RegistrationContext.access$400(HostControllerRegistrationHandler.java:394)
> org.jboss.as.host.controller.mgmt.HostControllerRegistrationHandler$InitiateRegistrationHandler$1.execute(HostControllerRegistrationHandler.java:254)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> java.lang.Thread.run(Thread.java:748)
> org.jboss.threads.JBossThread.run(JBossThread.java:320)
> , WFLYCTL0303: Resource [
> ("profile" => "ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> , WFLYCTL0303: Resource [
> ("profile" => "full-ha"),
> ("subsystem" => "remoting"),
> ("configuration" => "endpoint")
> ] is rejected on the target host, and will need to be ignored on the host
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (WFCORE-3297) Reduce the size of the logging subsystem parsers
by James Perkins (JIRA)
James Perkins created WFCORE-3297:
-------------------------------------
Summary: Reduce the size of the logging subsystem parsers
Key: WFCORE-3297
URL: https://issues.jboss.org/browse/WFCORE-3297
Project: WildFly Core
Issue Type: Enhancement
Components: Logging
Reporter: James Perkins
Assignee: James Perkins
The logging subsystem has several parsers for different versions of the subsystem XML. The size of these could be reduced by allowing them to subclasses reduces the metaspace size required.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1729) Unable to load rule with global variables via kiescanner.
by Pedro Almeida (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1729?page=com.atlassian.jira.plugi... ]
Pedro Almeida updated DROOLS-1729:
----------------------------------
Description:
I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
*Errors: *
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually my object type is declared with role event on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
*Rule:*
package rules;
import model.Car;
global Boolean isTest;
rule "Red Car"
when
Car (color=="Red") over window:time(2h);
then
System.out.println("*** Red car");
System.out.println("*** " + isTest);
end
was:
I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
Errors:
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually my object type is declared with role event on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
Rule:
package rules;
import model.Car;
global Boolean isTest;
rule "Red Car"
when
Car (color=="Red") over window:time(2h);
then
System.out.println("*** Red car");
System.out.println("*** " + isTest);
end
> Unable to load rule with global variables via kiescanner.
> ---------------------------------------------------------
>
> Key: DROOLS-1729
> URL: https://issues.jboss.org/browse/DROOLS-1729
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.5.0.Final
> Reporter: Pedro Almeida
> Assignee: Edson Tirelli
> Priority: Blocker
>
> I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
> Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
> *Errors: *
> 1) "A Sliding Window can only be assigned to types declared with @role( event )
> [Actually my object type is declared with role event on the master drl]
> 2) "helper cannot be resolved"
> [helper being my global variable, an instance of a class]
> *Rule:*
> package rules;
> import model.Car;
> global Boolean isTest;
> rule "Red Car"
> when
> Car (color=="Red") over window:time(2h);
> then
> System.out.println("*** Red car");
> System.out.println("*** " + isTest);
> end
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1729) Unable to load rule with global variables via kiescanner.
by Pedro Almeida (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1729?page=com.atlassian.jira.plugi... ]
Pedro Almeida updated DROOLS-1729:
----------------------------------
Description:
I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
*Errors:*
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually my object type is declared with role event on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
*Rule:*
package rules;
import model.Car;
global Boolean isTest;
rule "Red Car"
when
Car (color=="Red") over window:time(2h);
then
System.out.println("*** Red car");
System.out.println("*** " + isTest);
end
was:
I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
*Errors: *
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually my object type is declared with role event on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
*Rule:*
package rules;
import model.Car;
global Boolean isTest;
rule "Red Car"
when
Car (color=="Red") over window:time(2h);
then
System.out.println("*** Red car");
System.out.println("*** " + isTest);
end
> Unable to load rule with global variables via kiescanner.
> ---------------------------------------------------------
>
> Key: DROOLS-1729
> URL: https://issues.jboss.org/browse/DROOLS-1729
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.5.0.Final
> Reporter: Pedro Almeida
> Assignee: Edson Tirelli
> Priority: Blocker
>
> I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
> Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
> *Errors:*
> 1) "A Sliding Window can only be assigned to types declared with @role( event )
> [Actually my object type is declared with role event on the master drl]
> 2) "helper cannot be resolved"
> [helper being my global variable, an instance of a class]
> *Rule:*
> package rules;
> import model.Car;
> global Boolean isTest;
> rule "Red Car"
> when
> Car (color=="Red") over window:time(2h);
> then
> System.out.println("*** Red car");
> System.out.println("*** " + isTest);
> end
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1729) Unable to load rule with global variables via kiescanner.
by Pedro Almeida (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1729?page=com.atlassian.jira.plugi... ]
Pedro Almeida updated DROOLS-1729:
----------------------------------
Description:
I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
Errors:
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually my object type is declared with role event on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
Rule:
package rules;
import model.Car;
global Boolean isTest;
rule "Red Car"
when
Car (color=="Red") over window:time(2h);
then
System.out.println("*** Red car");
System.out.println("*** " + isTest);
end
was:
I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
Errors:
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually my object type is declared with role event on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
> Unable to load rule with global variables via kiescanner.
> ---------------------------------------------------------
>
> Key: DROOLS-1729
> URL: https://issues.jboss.org/browse/DROOLS-1729
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.5.0.Final
> Reporter: Pedro Almeida
> Assignee: Edson Tirelli
> Priority: Blocker
>
> I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
> Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
> Errors:
> 1) "A Sliding Window can only be assigned to types declared with @role( event )
> [Actually my object type is declared with role event on the master drl]
> 2) "helper cannot be resolved"
> [helper being my global variable, an instance of a class]
> Rule:
> package rules;
> import model.Car;
> global Boolean isTest;
> rule "Red Car"
> when
> Car (color=="Red") over window:time(2h);
> then
> System.out.println("*** Red car");
> System.out.println("*** " + isTest);
> end
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months
[JBoss JIRA] (DROOLS-1729) Unable to load rule with global variables via kiescanner.
by Pedro Almeida (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1729?page=com.atlassian.jira.plugi... ]
Pedro Almeida updated DROOLS-1729:
----------------------------------
Description:
I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
Errors:
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually my object type is declared with role event on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
was:
I have a master drl that has global variables declaration as well as class role declaration and other drl files that depend on those declarations. Build is successful and I'm able to use the engine as intended. The thing is when I unload a rule and load it back, I get compilation errors that make it look like it's not relation to the master drl.
Examples:
1) "A Sliding Window can only be assigned to types declared with @role( event )
[Actually it is declared on the master drl]
2) "helper cannot be resolved"
[helper being my global variable, an instance of a class]
> Unable to load rule with global variables via kiescanner.
> ---------------------------------------------------------
>
> Key: DROOLS-1729
> URL: https://issues.jboss.org/browse/DROOLS-1729
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.5.0.Final
> Reporter: Pedro Almeida
> Assignee: Edson Tirelli
> Priority: Blocker
>
> I have a master drl that has global *variables declaration* as well as *class role declarations*. Other drl files depend on those declarations.
> Build is successful and I'm able to use the engine as intended. The thing is when I use kiescanner to unload a rule and load it back, I get compilation errors that make it look like the master drl is not being accounted.
> Errors:
> 1) "A Sliding Window can only be assigned to types declared with @role( event )
> [Actually my object type is declared with role event on the master drl]
> 2) "helper cannot be resolved"
> [helper being my global variable, an instance of a class]
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 8 months