Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 45A8E200B6B for ; Thu, 25 Aug 2016 16:06:45 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 441BB160A94; Thu, 25 Aug 2016 14:06:45 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 634CF160A93 for ; Thu, 25 Aug 2016 16:06:44 +0200 (CEST) Received: (qmail 57694 invoked by uid 500); 25 Aug 2016 14:06:43 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 57684 invoked by uid 99); 25 Aug 2016 14:06:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 14:06:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1AFCEC0BF8 for ; Thu, 25 Aug 2016 14:06:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id f0zdZMTlPn92 for ; Thu, 25 Aug 2016 14:06:40 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id D625460D29 for ; Thu, 25 Aug 2016 14:06:39 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id E62892F98696 for ; Thu, 25 Aug 2016 07:06:33 -0700 (PDT) Date: Thu, 25 Aug 2016 07:06:39 -0700 (PDT) From: yucigou To: user@ignite.apache.org Message-ID: <1472133999831-7304.post@n6.nabble.com> Subject: failureDetectionTimeout NotWritablePropertyException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 25 Aug 2016 14:06:45 -0000 Wonder if anyone understands why I get the following error? All I want to do is set the failureDetectionTimeout property: Aug 25, 2016 2:52:31 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.apache.ignite.startup.servlet.ServletContextListenerStartup class org.apache.ignite.IgniteException: Failed to load Ignite configuration. at org.apache.ignite.startup.servlet.ServletContextListenerStartup.contextInitialized(ServletContextListenerStartup.java:135) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4992) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5490) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1862) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: class org.apache.ignite.IgniteCheckedException: Failed to instantiate Spring XML application context [springUrl=jndi:/localhost/ukpmc/META-INF/apache-ignite.xml, err=Error creating bean with name 'ignite.cfg' defined in URL [jndi:/localhost/ukpmc/META-INF/apache-ignite.xml]: Error setting pr operty values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'failureDetectionTimeout' of bean class [org.apache.ignite.configuration.IgniteConfiguration]: Bean property 'failureDetectionTimeout' is not writable or has an invalid setter method. Does the pa rameter 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:639) at org.apache.ignite.startup.servlet.ServletContextListenerStartup.contextInitialized(ServletContextListenerStartup.java:132) ... 13 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ignite.cfg' defined in URL [jndi:/localhost/ukpmc/META-INF/apache-ignite.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property ' failureDetectionTimeout' of bean class [org.apache.ignite.configuration.IgniteConfiguration]: Bean property 'failureDetectionTimeout' 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.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1396) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:381) ... 17 more Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'failureDetectionTimeout' of bean class [org.apache.ignite.configuration.IgniteConfiguration]: Bean property 'failureDetectionTimeout' is not writable or has an invalid setter method. Does the parameter type of the sett er match the return type of the getter? at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1064) at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:924) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76) at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:58) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393) ... 28 more *I'm using Ignite 1.7.0, and my configuration is like below:* -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/failureDetectionTimeout-NotWritablePropertyException-tp7304.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.