hi
i am using a jsr component in which i am reading a parameter which is from a
properties file.
I have attached the jsr xbean.xml and the properties files
Note: i have placed the fscontext and providerutil jar in jboss/server/lib
folder.
when i deploy the jar in jboss 4.0.5 GA, i am getting the following error.
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'propertyPlaceholder' defined in file [D:\Program
Files\jboss-4.0.5.GA\server\default\data\ServiceMix\service-assemblies\Config-SA\version_1\sus\servicemix-jsr181\Config-JSR-SU\xbean.xml]:
Cannot create inner bean
'org.springframework.core.io.FileSystemResource#129b073' while setting bean
property 'location'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.springframework.core.io.FileSystemResource#129b073' defined
in file [D:\Program
Files\jboss-4.0.5.GA\server\default\data\ServiceMix\service-assemblies\Config-SA\version_1\sus\servicemix-jsr181\Config-JSR-SU\xbean.xml]:
Cannot create inner bean
'org.springframework.jndi.JndiObjectFactoryBean#538b31' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.springframework.jndi.JndiObjectFactoryBean#538b31' defined in
file [D:\Program
Files\jboss-4.0.5.GA\server\default\data\ServiceMix\service-assemblies\Config-SA\version_1\sus\servicemix-jsr181\Config-JSR-SU\xbean.xml]:
Invocation of init method failed; nested exception is
javax.naming.NameNotFoundException: external not bound
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:207)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:111)
http://www.nabble.com/file/p15131610/xbean.xml xbean.xml
http://www.nabble.com/file/p15131610/general.properties general.properties
http://www.nabble.com/file/p15131610/ExampleService.java ExampleService.java
http://www.nabble.com/file/p15131610/jboss-service.xml jboss-service.xml
--
View this message in context:
http://www.nabble.com/Error-creating-bean-with-name-propertyPlaceholder-tp15131610s12049p15131610.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.