Hi Mathew,

you didn't mention what version of ServiceMix you are using.
This latest issue looks like you're picking up the Spring version shipped with ServiceMix.

We will look into the stax issue - and make sure it's included in the distribution.

cheers,

Rob

On 11 Aug 2005, at 20:53, Matthew Parrish wrote:

Well, I've gotten past this issue by downloading stax-1.1.1-dev.jar from
http://dist.codehaus.org/stax/jars/  Shouldn't that be part of the
servicemix distribution?

But now I'm getting a different error. I'm trying to include servicemix as
part of an .ear file deployed in Jboss.

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.servicemix.jbi.container.ActivationSpec' defined in
ServletContext resource [/WEB-INF/servicemix-spring.xml]: Error setting
property values; nested exception is
org.springframework.beans.PropertyAccessExceptionsException:
PropertyAccessExceptionsException (2 errors); nested
propertyAccessExceptions are:
[org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [javax.xml.namespace.QName] to required type
[javax.xml.namespace.QName] for property 'service'],
[org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [javax.xml.namespace.QName] to required type
[javax.xml.namespace.QName] for property 'destinationService']
PropertyAccessExceptionsException (2 errors)
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [javax.xml.namespace.QName] to required type
[javax.xml.namespace.QName] for property 'service'
    at
org.springframework.beans.BeanWrapperImpl.doTypeConversionIfNecessary( BeanWr
apperImpl.java:1035)
    at
org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl.j
ava:803)
    at
org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl.j
ava:716)
    at
org.springframework.beans.BeanWrapperImpl.setPropertyValue (BeanWrapperImpl.j
ava:844)
    at
org.springframework.beans.BeanWrapperImpl.setPropertyValues (BeanWrapperImpl.
java:871)
    at
org.springframework.beans.BeanWrapperImpl.setPropertyValues (BeanWrapperImpl.
java:860)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:926)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory
.populateBean(AbstractAutowireCapableBeanFactory.java:727)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory
.createBean(AbstractAutowireCapableBeanFactory.java:336)
    at
org.springframework.beans.factory.support.BeanDefinitionValueResolver. resolv
eInnerBeanDefinition(BeanDefinitionValueResolver.java:147)
    at
org.springframework.beans.factory.support.BeanDefinitionValueResolver. resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:96)
    at
org.springframework.beans.factory.support.BeanDefinitionValueResolver. resolv
eManagedList(BeanDefinitionValueResolver.java:193)
    at
org.springframework.beans.factory.support.BeanDefinitionValueResolver. resolv
eValueIfNecessary(BeanDefinitionValueResolver.java:109)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory
.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:916)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory
.populateBean(AbstractAutowireCapableBeanFactory.java:727)
    at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanF actory
.createBean(AbstractAutowireCapableBeanFactory.java:336)
    at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean( Abstra
ctBeanFactory.java:223)
    at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean( Abstra
ctBeanFactory.java:147)
    at
org.springframework.beans.factory.support.DefaultListableBeanFactory.p reInst
antiateSingletons(DefaultListableBeanFactory.java:277)
    at
org.springframework.context.support.AbstractApplicationContext.refresh (Abstr
actApplicationContext.java:312)
    at
org.springframework.web.context.support.AbstractRefreshableWebApplicat ionCon
text.refresh(AbstractRefreshableWebApplicationContext.java:134)
    at
org.springframework.web.context.ContextLoader.createWebApplicationCont ext(Co
ntextLoader.java:230)
    at
org.springframework.web.context.ContextLoader.initWebApplicationContex t(Cont
extLoader.java:156)
    at
org.springframework.web.context.ContextLoaderListener.contextInitializ ed(Con
textLoaderListener.java:48)

Thanks,
Matthew

-----Original Message-----
From: Matthew Parrish
Sent: Thursday, August 11, 2005 11:54 AM
To: '[email protected]'
Subject: [servicemix-user] Xfire issues

 I'm trying to setup an xfire binding, but I am getting the following
exception.

javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance (FactoryFinder.java:72)
    at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
    at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
    at
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
    at org.codehaus.yom.stax.StaxBuilder.<init>(StaxBuilder.java:25)
    at
org.codehaus.xfire.fault.Soap11FaultSerializer.<init> (Soap11FaultSerializer.
java:23)
    at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create (ObjectService
Factory.java:222)
    at
org.codehaus.xfire.service.binding.ObjectServiceFactory.create (ObjectService
Factory.java:186)
    at
org.codehaus.xfire.spring.ServiceComponent.afterPropertiesSet (ServiceCompone
nt.java:53)

In which jar file is this class located?

Thanks,
Matthew


Reply via email to