[
https://issues.redhat.com/browse/WFLY-14408?page=com.atlassian.jira.plugi...
]
Emmanuel Hugonnet updated WFLY-14408:
-------------------------------------
Steps to Reproduce:
Configure a WildFly instance with an in-vm connector and acceptor with a server-id other
than "0".
Export messages from the same or other JBoss instance in admin mode.
Attempt to re-import messages into the current instance runing in normal mode via the cli
method.
Operation fails as described above.
was:
Configure a JBoss EAP 7 instance with an in-vm connector and acceptor with a server-id
other than "0".
Export messages from the same or other JBoss instance in admin mode.
Attempt to re-import messages into the current instance runing in normal mode via the cli
method.
Operation fails as described above.
CLI journal-import command fails if in-vm connector has a server-id
other than "0"
----------------------------------------------------------------------------------
Key: WFLY-14408
URL:
https://issues.redhat.com/browse/WFLY-14408
Project: WildFly
Issue Type: Bug
Components: JMS
Affects Versions: 22.0.0.Final
Reporter: Emmanuel Hugonnet
Assignee: Emmanuel Hugonnet
Priority: Major
Labels: artemis, messaging
If the in-vm-connector / in-vm-acceptor for the default / live messaging-activemq server
is configured with a server-id higher than "0":
{code}
<in-vm-connector name="in-vm-connector1" server-id="1"/>
{code}
then performing an import-journal operation from the cli fails with a rather unhelpful
"Cannot connect to server(s)" message:
{code}
[standalone@localhost:9990 /]
/subsystem=messaging-activemq/server=ServerLive:import-journal(file=/home/jboss/messages.xml)
{ "outcome" => "failed", "failure-description" =>
"AMQ219007: Cannot connect to server(s). Tried with all available servers.",
"rolled-back" => true }
{code}
After much debugging, resetting the server-id to "0" on the live server in-vm
acceptor and connector and from "2" to "1" on the backup resolved the
issue and the import succeeded.
--
This message was sent by Atlassian Jira
(v8.13.1#813001)