You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by tomk <rr...@gmail.com> on 2016/04/15 20:44:20 UTC

error in xml config file

I don;t know why, following error is :
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
instantiate Spring XML application context
[springUrl=file:/home/tomk/downloads/apache-ignite-fabric-1.5.0.final-bin/bin/../config/turbines_table_cluster-server.xml,
err=Error creating bean with name 'turbines_table_datasource' defined in URL
[file:/home/tomk/downloads/apache-ignite-fabric-1.5.0.final-bin/bin/../config/turbines_table_cluster-server.xml]:
Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'url' of bean class [org.postgresql.ds.PGPoolingDataSource]: Bean property
'url' is not writable or has an invalid setter method. Did you mean 'ssl'?]

xml file: 
http://pastebin.com/PWi3wWmy

database.properties:
turbines_table_datasource.jdbc.url=jdbc:postgresql://localhost:5432/testdb
turbines_table_datasource.jdbc.username=ignite
turbines_table_datasource.jdbc.password=ignite


Can you help me ?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/error-in-xml-config-file-tp4235.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: error in xml config file

Posted by tomk <rr...@gmail.com>.
Thanks, it helps me.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/error-in-xml-config-file-tp4235p4246.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: error in xml config file

Posted by vkulichenko <va...@gmail.com>.
First link in Google:
https://jdbc.postgresql.org/documentation/documentation.html

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/error-in-xml-config-file-tp4235p4243.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: error in xml config file

Posted by tomk <rr...@gmail.com>.
Could you tell more about it ? I cant find information in google about it.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/error-in-xml-config-file-tp4235p4242.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: error in xml config file

Posted by vkulichenko <va...@gmail.com>.
This means that PGPoolingDataSource class doesn't have 'setUrl' method. Quick
googling showed that they use separate properties like 'serverName',
'portNumber', etc. You should refer to the JDBC driver documentation to find
out how to properly configure it.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/error-in-xml-config-file-tp4235p4237.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.