[jboss-jira] [JBoss JIRA] (JGRP-1569) JDBC_PING doesn't work on mssql

Bela Ban (JIRA) jira-events at lists.jboss.org
Tue Feb 5 12:21:51 EST 2013


     [ https://issues.jboss.org/browse/JGRP-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1569.
----------------------------

    Resolution: Done


Fixed by using ProtocolConfig.getproperties() instead of getOriginalProperties()
                
> 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


More information about the jboss-jira mailing list