You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Naveen <na...@gmail.com> on 2018/03/14 06:08:27 UTC

Error while Ignite integration with Tableau

Hi

Am using Ignite 2.3, trying to integrate with Tableau, getting this error
while adding below ODBC details to the Ignite confg

  <property name="clientConnectorConfiguration">
    <bean
class="org.apache.ignite.configuration.ClientConnectorConfiguration">
      <property name="endpointAddress" value="127.0.0.1:12345..12346"/>
      <property name="maxOpenCursors" value="512"/>
      <property name="socketSendBufferSize" value="65536"/>
      <property name="socketReceiveBufferSize" value="131072"/>
      <property name="threadPoolSize" value="4"/>
    </bean>
  </property>

error I am getting 

class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
application context
[springUrl=file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-bin/config/default-config.xml,
err=Error creating bean with name 'ignite.cfg' defined in URL
[file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-bin/config/default-config.xml]:
Cannot create inner bean
'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2' of
type [org.apache.ignite.configuration.ClientConnectorConfiguration] while
setting bean property 'clientConnectorConfiguration'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2'
defined in URL
[file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-bin/config/default-config.xml]:
Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'endpointAddress' of bean class
[org.apache.ignite.configuration.ClientConnectorConfiguration]: Bean
property 'endpointAddress' 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:966)
        at org.apache.ignite.Ignition.start(Ignition.java:350)
        at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
instantiate Spring XML application context
[springUrl=file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-bin/config/default-config.xml,
err=Error creating bean with name 'ignite.cfg' defined in URL
[file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-bin/config/default-config.xml]:
Cannot create inner bean
'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2' of
type [org.apache.ignite.configuration.ClientConnectorConfiguration] while
setting bean property 'clientConnectorConfiguration'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2'
defined in URL
[file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-bin/config/default-config.xml]:
Error setting property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'endpointAddress' of bean class
[org.apache.ignite.configuration.ClientConnectorConfiguration]: Bean
property 'endpointAddress' 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:391)
        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:673)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:874)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:783)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:653)
        at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:622)
        at org.apache.ignite.Ignition.start(Ignition.java:347)


Am I missing something here ???

Thanks
Naveen



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Error while Ignite integration with Tableau

Posted by Igor Sapego <is...@apache.org>.
Hi,

Just as exception says, there is no 'endpointAddress' property
in ClientConnectorConfiguration. Instead there are three properties:
host, port and portRange.

By some reason, there was a mistake in Readme.io. I'm going to fix
it asap.

Best Regards,
Igor

On Wed, Mar 14, 2018 at 9:08 AM, Naveen <na...@gmail.com> wrote:

> Hi
>
> Am using Ignite 2.3, trying to integrate with Tableau, getting this error
> while adding below ODBC details to the Ignite confg
>
>   <property name="clientConnectorConfiguration">
>     <bean
> class="org.apache.ignite.configuration.ClientConnectorConfiguration">
>       <property name="endpointAddress" value="127.0.0.1:12345..12346"/>
>       <property name="maxOpenCursors" value="512"/>
>       <property name="socketSendBufferSize" value="65536"/>
>       <property name="socketReceiveBufferSize" value="131072"/>
>       <property name="threadPoolSize" value="4"/>
>     </bean>
>   </property>
>
> error I am getting
>
> class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
> application context
> [springUrl=file:/D:/Naveen/Ignite/apache-ignite-fabric-2.
> 3.0-bin/config/default-config.xml,
> err=Error creating bean with name 'ignite.cfg' defined in URL
> [file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-
> bin/config/default-config.xml]:
> Cannot create inner bean
> 'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2' of
> type [org.apache.ignite.configuration.ClientConnectorConfiguration] while
> setting bean property 'clientConnectorConfiguration'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name
> 'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2'
> defined in URL
> [file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-
> bin/config/default-config.xml]:
> Error setting property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'endpointAddress' of bean class
> [org.apache.ignite.configuration.ClientConnectorConfiguration]: Bean
> property 'endpointAddress' 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:966)
>         at org.apache.ignite.Ignition.start(Ignition.java:350)
>         at
> org.apache.ignite.startup.cmdline.CommandLineStartup.
> main(CommandLineStartup.java:302)
> Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
> instantiate Spring XML application context
> [springUrl=file:/D:/Naveen/Ignite/apache-ignite-fabric-2.
> 3.0-bin/config/default-config.xml,
> err=Error creating bean with name 'ignite.cfg' defined in URL
> [file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-
> bin/config/default-config.xml]:
> Cannot create inner bean
> 'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2' of
> type [org.apache.ignite.configuration.ClientConnectorConfiguration] while
> setting bean property 'clientConnectorConfiguration'; nested exception is
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean
> with name
> 'org.apache.ignite.configuration.ClientConnectorConfiguration#2b2948e2'
> defined in URL
> [file:/D:/Naveen/Ignite/apache-ignite-fabric-2.3.0-
> bin/config/default-config.xml]:
> Error setting property values; nested exception is
> org.springframework.beans.NotWritablePropertyException: Invalid property
> 'endpointAddress' of bean class
> [org.apache.ignite.configuration.ClientConnectorConfiguration]: Bean
> property 'endpointAddress' 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:391)
>         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:673)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:874)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:783)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:653)
>         at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.
> java:622)
>         at org.apache.ignite.Ignition.start(Ignition.java:347)
>
>
> Am I missing something here ???
>
> Thanks
> Naveen
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>