hi,
there's no attachment.
looking at exception, concentrate on this
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
do you have a jndi bean configured in your xbean.xml>?
what is referring to? a datasource?
copy yoru xbean.xml in your nxt mail
regards
marco
Internet
[EMAIL PROTECTED]
28/01/2008 09:43
Please respond to
[email protected]
To
users
cc
Subject
Error creating bean with name propertyPlaceholder
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.
This communication is confidential, may be privileged and is meant only for the
intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this
message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited,
BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are
authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London
Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority
for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of
the London Stock Exchange.