[
https://issues.jboss.org/browse/JGRP-1569?page=com.atlassian.jira.plugin....
]
Bela Ban updated JGRP-1569:
---------------------------
Fix Version/s: 3.3
Priority: Minor (was: Blocker)
This is a general problem as ';' is not allowed to be used inside a property
value.
SOLUTION: perhaps escaping the semicolon \; needs to be implemented
JDBC_PING doesn't work on mssql
-------------------------------
Key: JGRP-1569
URL:
https://issues.jboss.org/browse/JGRP-1569
Project: JGroups
Issue Type: Bug
Affects Versions: 2.12.1
Reporter: freeliuade freeliuade
Assignee: Bela Ban
Priority: Minor
Fix For: 3.3
JDBC_PING with mssql database connection information, will give below exception:
it seems caused by there is ";" in mssql connection_url, while the delimiter in
propertiesToString also used ";"
Exception in thread "main" org.jgroups.ChannelException: unable to setup the
protocol stack
at org.jgroups.JChannel.init(JChannel.java:1728)
at org.jgroups.JChannel.<init>(JChannel.java:249)
at org.jgroups.JChannel.<init>(JChannel.java:187)
at JGroupTest.main(JGroupTest.java:41)
Caused by: java.lang.Exception: Configurator.ProtocolConfiguration(): '=' not
found in of JDBC_PING
at
org.jgroups.conf.ProtocolConfiguration.parsePropertiesString(ProtocolConfiguration.java:181)
at
org.jgroups.conf.ProtocolConfiguration.getOriginalProperties(ProtocolConfiguration.java:71)
at org.jgroups.stack.Configurator.createInetAddressMap(Configurator.java:636)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:94)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:55)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:534)
at org.jgroups.JChannel.init(JChannel.java:1725)
... 3 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira