[JBoss JIRA] (WFLY-10985) UnsupportedOperationException thrown during start if CredentialReference is used in messaging-activemq subsystem
by Miroslav Novak (JIRA)
[ https://issues.jboss.org/browse/WFLY-10985?page=com.atlassian.jira.plugin... ]
Miroslav Novak updated WFLY-10985:
----------------------------------
Steps to Reproduce:
*Steps to reproduce:*
{code}
git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
cd eap-tests-hornetq/scripts/
git checkout eap7.2.x-artemis2.x-ha-jdbc
groovy -DEAP_ZIP_URL=https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-messaging-testing-prepare/362/artifact/jboss-eap.zip PrepareServers7.groovy
export WORKSPACE=$PWD
export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
cd ../jboss-hornetq-testsuite/
mvn clean test -Dtest=CoreBridgeCredentialStoreTestCase#testCredentialReferenceAlias -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1534928425-SNAPSHOT -DfailIfNoTests=false -Deap=7x | tee log
{code}
> UnsupportedOperationException thrown during start if CredentialReference is used in messaging-activemq subsystem
> ----------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-10985
> URL: https://issues.jboss.org/browse/WFLY-10985
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 14.0.0.Final
> Reporter: Miroslav Novak
> Assignee: Jeff Mesnil
> Priority: Critical
> Attachments: standalone-full-ha.xml
>
>
> If messaging subsystem is referencing elytron's credential store like in:
> {code}
> <bridge name="myBridge" queue-name="jms.queue.InQueue" forwarding-address="jms.queue.OutQueue" ha="true" reconnect-attempts="-1" use-duplicate-detection="true" user="johnOut" static-connectors="bridge-connector">
> <credential-reference store="bridge-cs001" alias="john_out_alias_wrong"/>
> </bridge>
> {code}
> then during start server throws exception:
> {code}
> 12:49:04,367 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 66) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "messaging-activemq"),
> ("server" => "default")
> ]): java.lang.UnsupportedOperationException
> at org.jboss.msc.service.ServiceBuilderImpl.addDependency(ServiceBuilderImpl.java:409)
> at org.jboss.msc.service.DelegatingServiceBuilder.addDependency(DelegatingServiceBuilder.java:147)
> at org.jboss.as.controller.security.CredentialReference.getCredentialSourceSupplier(CredentialReference.java:323)
> at org.wildfly.extension.messaging.activemq.ServerAdd.addBridgeCredentialStoreReference(ServerAdd.java:732)
> at org.wildfly.extension.messaging.activemq.ServerAdd.access$200(ServerAdd.java:175)
> at org.wildfly.extension.messaging.activemq.ServerAdd$2.execute(ServerAdd.java:439)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
> at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:384)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1349)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> {code}
> Attaching standalone-full-ha.xml with which is possible to reproduce the issue.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2583) [DMN Designer] Type Ref select box keyboard control
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2583?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2583:
--------------------------------
Labels: drools-tools (was: )
> [DMN Designer] Type Ref select box keyboard control
> ---------------------------------------------------
>
> Key: DROOLS-2583
> URL: https://issues.jboss.org/browse/DROOLS-2583
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Optional
> Labels: drools-tools
> Attachments: Screenshot from 2018-05-23 11-31-01.png
>
>
> Common HTML select boxes can be controlled by keyboard. KeyPress of the Arrow.DOWN or Arrow.UP moves one option one or down. This is not true for Type Ref select box. There by pressing Arrow.DOWN or Arrow.UP user is able to select just every second option.
> Attaching screenshot of the select box just for record which select box I mean.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2657) [DMN Designer] Select Box for Decision Table input columns
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2657?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2657:
--------------------------------
Labels: drools-tools (was: )
> [DMN Designer] Select Box for Decision Table input columns
> ----------------------------------------------------------
>
> Key: DROOLS-2657
> URL: https://issues.jboss.org/browse/DROOLS-2657
> Project: Drools
> Issue Type: Enhancement
> Components: DMN Editor
> Affects Versions: 7.8.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Minor
> Labels: drools-tools
>
> Currently the decision table input columns can be named with any name. However their names should correspond to InputData elements in the DRG, thus we should provide select box for each decision table input column, where user would select corresponding InputData element for the given decision table input column.
> h3. Acceptance test
> # Sorting in select box
> # Rename InputData, change reflected in select box
> # Same InputData connected to multiple nodes, appropriate select boxes contain the value
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFCORE-4018) Remove alias and read-aliases in a batch causes blocking behavior
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/WFCORE-4018?page=com.atlassian.jira.plugi... ]
Michal Petrov commented on WFCORE-4018:
---------------------------------------
I think I found the problem:
This is the operation created by batch which will hang:
{code}
:composite(
steps=[
{
operation=read-aliases,
address=[host=master,server=server-one,subsystem=elytron,key-store=keysto1]
},
{
operation=read-aliases,
address=[host=master,server=server-one,subsystem=elytron,key-store=keysto1]
}
],
address=[]
)
{code}
however this one seems to execute correctly:
{code}
:composite(
steps=[
{
operation=read-aliases,
address=[subsystem=elytron,key-store=keysto1]
},
{
operation=read-aliases,
address=[subsystem=elytron,key-store=keysto1]
}
],
address=[host=master,server=server-one]
)
{code}
> Remove alias and read-aliases in a batch causes blocking behavior
> -----------------------------------------------------------------
>
> Key: WFCORE-4018
> URL: https://issues.jboss.org/browse/WFCORE-4018
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Reporter: Claudio Miranda
> Assignee: Michal Petrov
>
> Calling :remove-alias and :read-aliases on key-store resource in a composite operation makes the resource blocked.
> Generate two self signed certificates on a key-store resource and store it.
> {code}
> /host=master/server=server-three/subsystem=elytron/key-store=keysto1:generate-key-pair(alias=foobar,distinguished-name="cn=claudio,c=BR")
> /host=master/server=server-three/subsystem=elytron/key-store=keysto1:generate-key-pair(alias=foobar2,distinguished-name="cn=claudio2,c=BR")
> /host=master/server=server-three/subsystem=elytron/key-store=keysto1:store()
> /host=master/server=server-three/subsystem=elytron/key-store=keysto1:read-aliases
> {
> "outcome" => "success",
> "result" => [
> "foobar2",
> "foobar"
> ]
> }
> {code}
> {code}
> batch
> /host=master/server=server-three/subsystem=elytron/key-store=keysto1:remove-alias(alias=foobar)
> /host=master/server=server-three/subsystem=elytron/key-store=keysto1:read-aliases
> run-batch
> {code}
> The above just blocks the prompt.
> Then the blocking operation is show as:
> {code}
> /host=master/core-service=management/service=management-operations:read-resource(include-runtime,recursive)
> {
> "outcome" => "success",
> "result" => {"active-operation" => {
> "352328021" => {
> "access-mechanism" => "NATIVE",
> "address" => [
> ("host" => "master"),
> ("core-service" => "management"),
> ("service" => "management-operations")
> ],
> "caller-thread" => "management-handler-thread - 1",
> "cancelled" => false,
> "domain-rollout" => false,
> "domain-uuid" => undefined,
> "exclusive-running-time" => -1L,
> "execution-status" => "executing",
> "operation" => "read-resource",
> "running-time" => 10032404L
> },
> "-1467399640" => {
> "access-mechanism" => "NATIVE",
> "address" => [],
> "caller-thread" => "management-handler-thread - 2",
> "cancelled" => false,
> "domain-rollout" => false,
> "domain-uuid" => undefined,
> "exclusive-running-time" => -1L,
> "execution-status" => "executing",
> "operation" => "composite",
> "running-time" => 260150849919L
> }
> }}
> }
> {code}
> After timeout there is the following message on CLI prompt
> {code}
> The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error):
> WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:
> Step: step-2
> Operation: /host=master/server=server-three/subsystem=elytron/key-store=keysto1:read-aliases
> Failure: WFLYCTL0409: Execution of operation 'read-aliases' on remote process at address '[
> ("host" => "master"),
> ("server" => "server-three")
> ]' timed out after 305000 ms while awaiting initial response; remote process has been notified to terminate operation
> {code}
> To fix the problem in HAL I will run it as individual commands.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months