>Try the steps above that I noted to create a clean installation of
>ServiceMix and let's see what results you see before pursuing these
>exceptions.

I followed your advice and deployed the
servicemix-jboss-deployer-3.1-incubating.sar into the fresh jboss
installation. Then I copied a handful of libraries into the shared lib
folder. These are the libs I copied:

servicemix-audit-3.1-incubating.jar
servicemix-beanflow-3.1-incubating.jar
servicemix-components-3.1-incubating.jar
servicemix-core-3.1-incubating.jar
servicemix-jbi-3.1-incubating.jar
servicemix-services-3.1-incubating.jar

Then I copied the following components into the deploy directory, so far so
good.
servicemix-shared-3.1-incubating-installer.zip
servicemix-file-3.1-incubating-installer.zip

To test how everything works I copied the file-binding example configuration
file (modifying it as told in the faq). As a result I got the following
exception (although a completely different then before):

Jboss's 'Failed to deploy exception message' ....

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jbi' defined in URL
[file:/C:/java/jboss-4.0.5.GA/server/default/deploy/servicemix-sm.xml]:
Cannot create inner bean '(inner bean)' while setting bean property
'activationSpecs' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name '(inner bean)' defined in URL
[file:/C:/java/jboss-4.0.5.GA/server/default/deploy/servicemix-sm.xml]:
Cannot create inner bean 'org.apache.servicemix.components.file.FileWriter'
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.FileWriter' defined in URL
[file:/C:/java/jboss-4.0.5.GA/server/default/deploy/servicemix-sm.xml]:
Error setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (2) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.io.File] for property 'directory'; nested exception is
java.lang.IllegalArgumentException: Could not retrieve File for class path
resource [outbox]: class path resource [outbox] cannot be resolved to URL
because it does not exist
PropertyAccessException 2: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type
[org.apache.servicemix.components.util.DefaultFileMarshaler] to required
type [org.apache.servicemix.components.util.FileMarshaler] for property
'marshaler'; nested exception is java.lang.IllegalArgumentException: No
matching editors or conversion strategy found
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:207)
        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.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
        at
org.servicemix.jboss.deployment.JBIService.installServiceMixXml(JBIService.java:160)
        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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        ... 72 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name '(inner bean)' defined in URL
[file:/C:/java/jboss-4.0.5.GA/server/default/deploy/servicemix-sm.xml]:
Cannot create inner bean 'org.apache.servicemix.components.file.FileWriter'
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.FileWriter' defined in URL
[file:/C:/java/jboss-4.0.5.GA/server/default/deploy/servicemix-sm.xml]:
Error setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (2) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.io.File] for property 'directory'; nested exception is
java.lang.IllegalArgumentException: Could not retrieve File for class path
resource [outbox]: class path resource [outbox] cannot be resolved to URL
because it does not exist
PropertyAccessException 2: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type
[org.apache.servicemix.components.util.DefaultFileMarshaler] to required
type [org.apache.servicemix.components.util.FileMarshaler] for property
'marshaler'; nested exception is java.lang.IllegalArgumentException: No
matching editors or conversion strategy found
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:207)
        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)
        ... 92 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.servicemix.components.file.FileWriter'
defined in URL
[file:/C:/java/jboss-4.0.5.GA/server/default/deploy/servicemix-sm.xml]:
Error setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (2) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.io.File] for property 'directory'; nested exception is
java.lang.IllegalArgumentException: Could not retrieve File for class path
resource [outbox]: class path resource [outbox] cannot be resolved to URL
because it does not exist
PropertyAccessException 2: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type
[org.apache.servicemix.components.util.DefaultFileMarshaler] to required
type [org.apache.servicemix.components.util.FileMarshaler] for property
'marshaler'; nested exception is java.lang.IllegalArgumentException: No
matching editors or conversion strategy found
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:970)
        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)
        ... 99 more
Caused by: org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (2) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.io.File] for property 'directory'; nested exception is
java.lang.IllegalArgumentException: Could not retrieve File for class path
resource [outbox]: class path resource [outbox] cannot be resolved to URL
because it does not exist
PropertyAccessException 2: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type
[org.apache.servicemix.components.util.DefaultFileMarshaler] to required
type [org.apache.servicemix.components.util.FileMarshaler] for property
'marshaler'; nested exception is java.lang.IllegalArgumentException: No
matching editors or conversion strategy found
        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:97)
        at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:965)


I guess I haven't copied some supporting library, but which one is a mystery
to me.
-- 
View this message in context: 
http://www.nabble.com/JBoss-Integration-Issues-%28TxNamespaceHandler-does-not-implement-the-NamespaceHandler-interface%29-tf3454583s12049.html#a9670045
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to