incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger" <roger...@qq.com>
Subject Re: Bean Exception
Date Thu, 19 Jan 2012 07:47:42 GMT
Does your TempPE have the member dispatcher and outputStreamName?


------------------
Regards, 
Q
 

 
 
 
------------------ Original ------------------
From:  "raghavendhra rahul"<raghavendhrarahul@gmail.com>;
Date:  Thu, Jan 19, 2012 04:15 PM
To:  "s4-user"<s4-user@incubator.apache.org>; 

Subject:  Re: Bean Exception

 
yes

On Thu, Jan 19, 2012 at 1:06 PM, Roger <rogerdai@qq.com> wrote:
 Is "forkdispatcher" defined in your xml?


 ------------------
Regards, 
Q
 

 
 
 
------------------ Original ------------------
 From:  "raghavendhra rahul"<raghavendhrarahul@gmail.com>;
Date:  Thu, Jan 19, 2012 04:03 PM
 To:  "s4-user"<s4-user@incubator.apache.org>; 

Subject:  Re: Bean Exception

 
 
<bean id="TempPE" class="com.ericsson.gati.locations.activities.TempPE">
    <property name="keys">
      <list>
        <value>Temp *</value>
       </list>
     </property>
    <property name="dispatcher" ref="forkdispatcher"/>
    <property name="outputStreamName" value="ClearedPE"/>
  </bean>

 On Thu, Jan 19, 2012 at 12:53 PM, Roger <rogerdai@qq.com> wrote:
 You may show your xml file. :-)


------------------
 Regards, 
Q
 

 
 
 
------------------ Original ------------------
 From:  "raghavendhra rahul"<raghavendhrarahul@gmail.com>;
 Date:  Thu, Jan 19, 2012 03:49 PM
 To:  "s4-user"<s4-user@incubator.apache.org>; 

Subject:  Bean Exception

 
 
Hi,
  I created a tempPE and tried to start s4 cluster.
 In one node everything started perfectly without any exceptions.
In other node it throws the following exception


 Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'TempPE' defined in URL [file:/home/s4/s4-image/s4-apps/s4/s4-conf.xml]:
Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException:
Invalid property 'dispatcher' of bean class [com.ericsson.gati.locations.activities.TempPE]:
Bean property 'dispatcher' 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:1279)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
     at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
     at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
    at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:106)
     at io.s4.MainApp.main(MainApp.java:235)
Any ideas......
Mime
View raw message