Hi,

I'm also having trouble deploying a .war file on Jboss AS 6.  In this case, the 
.war file deploys just fine on Jboss 5.1.0.  When I drop the .war file in 
server/default/deploy and start Jboss, I get this error:

0    : 09:59:47,764 [Thread-2] ERROR ContextLoader  - Context initialization 
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'org.apache.cxf.wsdl.WSDLManager' defined in class path resource 
[META-INF/cxf/cxf.xml]: Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw 
exception; nested exception is java.lang.ClassCastException: class 
org.apache.cxf.transport.jms.wsdl.ReplyToNameType
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:946)
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:892)
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:479)
                at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
               ...

I'd like to know about this META-INF/cxf/cxf.xml file.  I have no such thing in 
my .war file, but in my cxf-beans.xml file I do have the following:

    <import resource="classpath:META-INF/cxf/cxf.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml"/>
    <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
    <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>


which I think is what this page is saying I should do:

http://docs.huihoo.com/apache/cxf/2.0/configuration.html

So I'm left scratching my head about what I need to do in order to successfully 
deploy on Jboss AS 6.  Can anyone provide some help with this?

Thanks,

Matt


Reply via email to