AnsweredAssumed Answered

Soap 1.1 endpoint already registered on address /RepositoryS

Question asked by darryl_staflund on Aug 10, 2010
Latest reply on Jan 19, 2011 by dusty
Hi there,

I am trying to start up Alfresco Enterprise 3.3.1 (deployed to Jetty and started within Eclipse) but get the following error:


15:22:02,750  ERROR [web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.cxf.jaxws.EndpointImpl–579413846': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.RuntimeException: Soap 1.1 endpoint already registered on address /RepositoryService
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:290)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:557)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:842)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:416)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:645)
   at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:189)
   at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:978)
   at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
   at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:349)
   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
   at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162)
   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
   at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
   at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
   at org.eclipse.jetty.server.Server.doStart(Server.java:228)
   at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
   at com.zia.jetty.Main.main(Main.java:21)
Caused by: javax.xml.ws.WebServiceException: java.lang.RuntimeException: Soap 1.1 endpoint already registered on address /RepositoryService
   at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:275)
   at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:209)
   at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:404)
   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:597)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1529)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1468)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
   … 28 more
Caused by: java.lang.RuntimeException: Soap 1.1 endpoint already registered on address /RepositoryService
   at org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:769)
   at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:122)
   at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:271)
   … 37 more

Anyone know what's causing this error and how I might avoid it?  I am developing some custom code but we're not using SOAP in our solution.

Darryl

Outcomes