When you tried to deploy to Weblogic, did you attempt to deploy as a bare WAR, or wrapped in an EAR? You need to deploy as an EAR. The descriptor setup is documented here:
http://cwiki.apache.org/CXF20DOC/appserverguide.html#AppServerGuide-WebL ogic However, when I tried it on WLS-9.2.2, I got the following error upon startup: <Mar 11, 2008 7:51:01 AM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.application.ModuleException: [HTTP:101216]Servlet: "cxf" failed to prel oad on startup in Web application: "secadmin". java.lang.RuntimeException: org.springframework.beans.factory.BeanDefinitionStor eException: Parser configuration exception parsing XML from class path resource [META-INF/cxf/cxf.xml]; nested exception is javax.xml.parsers.ParserConfiguratio nException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces. [EMAIL PROTECTED] does not support XML Schema. Are you run ning on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support. at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory .java:87) at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory .java:65) at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory Not sure why it thinks xerces can't handle schmema since the contained WAR has xerces-2.9.0 -Chris -----Original Message----- From: Binu Andrews [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 5:41 AM To: cxf-user@incubator.apache.org Subject: Getting error while deploying on Hi, I am able to deploy my webserice in tomcat as well as JBoss. But I am getting the following error when i deployed the same war in weblogic 9.2 <Mar 11, 2008 1:40:15 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener 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: interface org.xmlsoap.schemas.wsdl.http.AddressType. 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: interface org.xmlsoap.schemas.wsdl.http.AddressType at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.createBean(AbstractAutowireCapableBeanFactory.java:454) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObjec t(AbstractBeanFactory.java:254) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g etSingleton(DefaultSingletonBeanRegistry.java:144) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:251) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab stractBeanFactory.java:163) Truncated. see log file for complete stacktrace org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.ClassCastException: interface org.xmlsoap.schemas.wsdl.http.AddressType at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:99) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:60) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.in stantiate(SimpleInstantiationStrategy.java:45) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.instantiateBean(AbstractAutowireCapableBeanFactory.java:739) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:727) Truncated. see log file for complete stacktrace java.lang.ClassCastException: interface org.xmlsoap.schemas.wsdl.http.AddressType at java.lang.Class.asSubclass(Class.java:2948) at org.apache.cxf.wsdl.JAXBExtensionHelper.addExtensions(JAXBExtensionHelpe r.java:64) at org.apache.cxf.wsdl11.WSDLManagerImpl.registerInitialExtensions(WSDLMana gerImpl.java:224) at org.apache.cxf.wsdl11.WSDLManagerImpl.<init>(WSDLManagerImpl.java:97) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Truncated. see log file for complete stacktrace Please help me to resolve this issue Regards -Binu -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.