[jboss-jira] [JBoss JIRA] (JGRP-2467) Constructing a JChannel using the default Constructor fails while parsing version '${version}'
Patrick Reinhart (Jira)
issues at jboss.org
Tue Apr 14 07:19:14 EDT 2020
[ https://issues.redhat.com/browse/JGRP-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14034314#comment-14034314 ]
Patrick Reinhart commented on JGRP-2467:
----------------------------------------
In this case the {{udp.xml}} contained within the JGoups distribution jar does seems to contain a non working default configuration:
{code:xml}
<!--
Default stack using IP multicasting. It is similar to the "udp"
stack in stacks.xml, but doesn't use streaming state transfer and flushing
author: Bela Ban
-->
<config xmlns="urn:org:jgroups"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd"
version="${version}">
<UDP
...
{code}
> Constructing a JChannel using the default Constructor fails while parsing version '${version}'
> ----------------------------------------------------------------------------------------------
>
> Key: JGRP-2467
> URL: https://issues.redhat.com/browse/JGRP-2467
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.2.2
> Reporter: Patrick Reinhart
> Assignee: Bela Ban
> Priority: Major
>
> Constructing a JChannel using the default Constructor fails with a {{java.lang.IllegalStateException}}
> {code}
> java.io.IOException: JGRP000004: Fehler beim Parsen von XML; das Dokument ist nicht korrekt: failed parsing version '${version}': java.lang.IllegalStateException: No match found
> at org.jgroups.conf.XmlConfigurator.parse(XmlConfigurator.java:142)
> at org.jgroups.conf.XmlConfigurator.getInstance(XmlConfigurator.java:45)
> at org.jgroups.conf.XmlConfigurator.getInstance(XmlConfigurator.java:41)
> at org.jgroups.conf.ConfiguratorFactory.getXmlConfigurator(ConfiguratorFactory.java:174)
> at org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(ConfiguratorFactory.java:63)
> at org.jgroups.JChannel.<init>(JChannel.java:107)
> at org.jgroups.JChannel.<init>(JChannel.java:98)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list