[
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)