D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding>ant
Buildfile: build.xml

setup:
      [get] Getting:
http://repo.mergere.com/maven2/jaxen/jaxen/1.1-beta-9/jaxen-1.1-beta-9.jar
      [get] To:
D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\lib\optional\jaxen-1.1-beta9.jar
     [copy] Copying 1 file to
D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\lib\optional

BUILD SUCCESSFUL
Total time: 41 seconds

D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding>..\.
.\bin\servicemix servicemix.xml
Starting Apache ServiceMix ESB: 3.1-incubating-SNAPSHOT

Loading Apache ServiceMix from file: servicemix.xml
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jbi' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot create inner bean '(inner bean)' while setting bean property
'activationSpecs' with key [1]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name '(inner bean)#1' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot create inner bean 'org.apache.servicemix.components.file.FilePoller'
while setting constructor argument with index 0; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.servicemix.components.file.FilePoller' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot resolve reference to bean 'workManager' while setting bean property
'workManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'workManager' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Invocation of init method failed; nested exception is
org.springframework.beans.FatalBeanException: Geronimo transaction manager
was not set

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot create inner bean '(inner bean)' while setting bean property
'activationSpecs' with key [1]; nested exceptionis
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)#1' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot create inner bean 'org.apache.servicemix.components.file.FilePoller'
while setting constructor argument with index 0; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.servicemix.components.file.FilePoller' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot resolve reference to bean 'workManager' while setting bean property
'workManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'workManager' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Invocation of init method failed; nested exception is
org.springframework.beans.FatalBeanException: Geronimo transaction manager
was not set

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '(inner bean)#1' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot create inner bean 'org.apache.servicemix.components.file.FilePoller'
while setting constructor argument with index 0; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.servicemix.components.file.FilePoller' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot resolve reference to bean 'workManager' while setting bean property
'workManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'workManager' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Invocation of init method failed; nested exception is
org.springframework.beans.FatalBeanException: Geronimo transaction manager
was not set
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.servicemix.components.file.FilePoller'
defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Cannot resolve reference to bean 'workManager' while setting bean property
'workManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'workManager' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Invocation of init method failed; nested exception is
org.springframework.beans.FatalBeanException: Geronimo transaction manager
was not set

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'workManager' defined in file
[D:\java_dev\apache-servicemix-3.1-incubating-SNAPSHOT\examples\file-binding\servicemix.xml]:
Invocation of init
 method failed; nested exception is
org.springframework.beans.FatalBeanException: Geronimo transaction manager
was not set
Caused by: org.springframework.beans.FatalBeanException: Geronimo
transaction manager was not set
        at
org.jencks.factory.WorkManagerFactoryBean.afterPropertiesSet(WorkManagerFactoryBean.java:69)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1057)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1024)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:248)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:200)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)
        at
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:321)
        at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:97)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:684)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:622)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:381)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:200)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:116)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:268)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:132)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:950)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:740)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:417)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:149)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:100)
        at org.apache.servicemix.Main.main(Main.java:65)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
-- 
View this message in context: 
http://www.nabble.com/start-examples%5Cfile-binding-error-tf2980102s12049.html#a8327113
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to