Standalone client fails to connect through remote connection factory
over ipv6
------------------------------------------------------------------------------
Key: WFLY-5187
URL:
https://issues.jboss.org/browse/WFLY-5187
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 10.0.0.Beta1
Reporter: Martin Švehla
Assignee: Jeff Mesnil
Fix For: 10.0.0.CR1
When a standalone client connects to EAP over ipv6 and tries to do lookup on for
RemoteConnectionFactory (as defined in the default standalone-full and standalone-full-ha
configuration), the lookup fails with following error:
Caused by: java.io.InvalidObjectException: URLDecoder: Illegal hex characters in escape
(%) pattern - For input string: "et"
at
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.readExternal(ActiveMQConnectionFactory.java:117)
at
org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1308)
at
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276)
at
org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209)
at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:41)
at org.jboss.naming.remote.protocol.v1.Protocol$1$3.read(Protocol.java:156)
at org.jboss.naming.remote.protocol.v1.Protocol$1$3.read(Protocol.java:149)
at
org.jboss.naming.remote.protocol.v1.BaseProtocolCommand.readResult(BaseProtocolCommand.java:59)
at org.jboss.naming.remote.protocol.v1.Protocol$1.handleClientMessage(Protocol.java:149)
at
org.jboss.naming.remote.protocol.v1.RemoteNamingStoreV1$MessageReceiver$1.run(RemoteNamingStoreV1.java:232)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.marshalling.TraceInformation: null
You can reproduce the issue by running
org.jboss.as.test.smoke.messaging.client.jms.JmsClientTestCase.testSendAndReceive from
upstream testsuite.