Hi,

You've changed invalid URL property to another invalid one.
Anyway, I see no Ignite issues here.
Please, take a look how to configure MsSQL JDBC driver [1].


[1]
https://stackoverflow.com/questions/11206673/ms-sql-configuration-in-beans-xml

On Wed, Jun 13, 2018 at 10:50 AM, Michaelikus <lonelytemp...@ya.ru> wrote:

> Seems problem was not ni proterty i've used.
> I've change its name and now got same error
>
> /usr/share/apache-ignite/bin/ignite.sh -v /etc/apache-ignite/cache_
> mssql.xml
> Ignite Command Line Startup, ver. 2.5.0#20180523-sha1:86e110c7
> 2018 Copyright(C) Apache Software Foundation
>
> class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
> application context [springUrl=file:/etc/apache-ignite/cache_mssql.xml,
> err=Error creating bean with name 'mssqlserver' defined in URL
> [file:/etc/apache-ignite/cache_mssql.xml]: Error setting property values;
> nested exception is org.springframework.beans.
> NotWritablePropertyException:
> Invalid property 'my_random_property' of bean class
> [com.microsoft.sqlserver.jdbc.SQLServerDriver]: Bean property
> 'my_random_property' is not writable or has an invalid setter method. Does
> the parameter type of the setter match the return type of the getter?]
>         at
> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.
> java:990)
>         at org.apache.ignite.Ignition.start(Ignition.java:355)
>         at
> org.apache.ignite.startup.cmdline.CommandLineStartup.
> main(CommandLineStartup.java:301)
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
> instantiate Spring XML application context
> [springUrl=file:/etc/apache-ignite/cache_mssql.xml, err=Error creating
> bean
> with name 'mssqlserver' defined in URL
> [file:/etc/apache-ignite/cache_mssql.xml]: Error setting property values;
> nested exception is org.springframework.beans.
> NotWritablePropertyException:
> Invalid property 'my_random_property' of bean class
> [com.microsoft.sqlserver.jdbc.SQLServerDriver]: Bean property
> 'my_random_property' is not writable or has an invalid setter method. Does
> the parameter type of the setter match the return type of the getter?]
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.
> applicationContext(IgniteSpringHelperImpl.java:392)
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.
> loadConfigurations(IgniteSpringHelperImpl.java:104)
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.
> loadConfigurations(IgniteSpringHelperImpl.java:98)
>         at
> org.apache.ignite.internal.IgnitionEx.loadConfigurations(
> IgnitionEx.java:744)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:945)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:854)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:724)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:693)
>         at org.apache.ignite.Ignition.start(Ignition.java:352)
>         ... 1 more
> Caused by: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'mssqlserver' defined in URL
> [file:/etc/apache-ignite/cache_mssql.xml]: Error setting property values;
> nested exception is org.springframework.beans.
> NotWritablePropertyException:
> Invalid property 'my_random_property' of bean class
> [com.microsoft.sqlserver.jdbc.SQLServerDriver]: Bean property
> 'my_random_property' is not writable or has an invalid setter method. Does
> the parameter type of the setter match the return type of the getter?
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1568)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.
> getObject(AbstractBeanFactory.java:306)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
> getSingleton(DefaultSingletonBeanRegistry.java:230)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(
> AbstractBeanFactory.java:302)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> AbstractBeanFactory.java:197)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.
> preInstantiateSingletons(DefaultListableBeanFactory.java:761)
>         at
> org.springframework.context.support.AbstractApplicationContext.
> finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:542)
>         at
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.
> applicationContext(IgniteSpringHelperImpl.java:381)
>         ... 9 more
> Caused by: org.springframework.beans.NotWritablePropertyException: Invalid
> property 'my_random_property' of bean class
> [com.microsoft.sqlserver.jdbc.SQLServerDriver]: Bean property
> 'my_random_property' is not writable or has an invalid setter method. Does
> the parameter type of the setter match the return type of the getter?
>         at
> org.springframework.beans.BeanWrapperImpl.createNotWritablePropertyExcep
> tion(BeanWrapperImpl.java:243)
>         at
> org.springframework.beans.AbstractNestablePropertyAccess
> or.processLocalProperty(AbstractNestablePropertyAccessor.java:437)
>         at
> org.springframework.beans.AbstractNestablePropertyAccess
> or.setPropertyValue(AbstractNestablePropertyAccessor.java:292)
>         at
> org.springframework.beans.AbstractNestablePropertyAccess
> or.setPropertyValue(AbstractNestablePropertyAccessor.java:280)
>         at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(
> AbstractPropertyAccessor.java:95)
>         at
> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(
> AbstractPropertyAccessor.java:75)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1564)
>         ... 20 more
> Failed to start grid: Failed to instantiate Spring XML application context
> [springUrl=file:/etc/apache-ignite/cache_mssql.xml, err=Error creating
> bean
> with name 'mssqlserver' defined in URL
> [file:/etc/apache-ignite/cache_mssql.xml]: Error setting property values;
> nested exception is org.springframework.beans.
> NotWritablePropertyException:
> Invalid property 'my_random_property' of bean class
> [com.microsoft.sqlserver.jdbc.SQLServerDriver]: Bean property
> 'my_random_property' is not writable or has an invalid setter method. Does
> the parameter type of the setter match the return type of the getter?]
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 
Best regards,
Andrey V. Mashenkov

Reply via email to