Hi Dan

Thanks. I found the error. I was importing the cxf-servlet.xml file, I had errors in some of the other imports. Now its deploying propertly.

Thanks for your help

Suneet

Daniel Kulp wrote:
On Sunday 04 April 2010 2:35:10 am Suneet Shah wrote:
Hello:

I have a war file with a set of services that are working well on Tomcat
6.x. I now need to deploy this on to JBoss 5.1 and am getting the error
below.
Any thoughts on how I can get past it ?


Is your spring context importing the MEAT-INF/cxf/cxf-servlet.xml file?


Dan

Thanks


02:29:38,660 ERROR [[/idm-ws]] Exception sending context initialized
event to listener instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'authenticationService': Invocation of init method
failed; nested excepti
on is javax.xml.ws.WebServiceException: java.lang.RuntimeException:
Could not find destination factory for transport
http://schemas.xmlsoap.org/soap/http
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
y.initializeBean(AbstractAutowireCapableBeanFactory.java:1337) at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
y.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
y$1.run(AbstractAutowireCapableBeanFactory.java:409) at
java.security.AccessController.doPrivileged(Native Method) at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactor
y.createBean(AbstractAutowireCapableBeanFactory.java:380) at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(A
bstractBeanFactory.java:264) at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getS
ingleton(DefaultSingletonBeanRegistry.java:221) at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abs
tractBeanFactory.java:261) at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstr
actBeanFactory.java:185) at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstr
actBeanFactory.java:164) at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preIns
tantiateSingletons(DefaultListableBeanFactory.java:429) at
org.springframework.context.support.AbstractApplicationContext.finishBeanFa
ctoryInitialization(AbstractApplicationContext.java:729) at
org.springframework.context.support.AbstractApplicationContext.refresh(Abst
ractApplicationContext.java:381) at
org.springframework.web.context.ContextLoader.createWebApplicationContext(C
ontextLoader.java:255) at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:199)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:45)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3910)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
393)
        at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
Internal(TomcatDeployment.java:310)
        at
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
(TomcatDeployment.java:142)
        at
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
ment.java:461)
        at
org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at
org.jboss.web.deployers.WebModule.start(WebModule.java:97)

Reply via email to