[jboss-user] [JBossWS] - Endpoint already registered

bsisson do-not-reply at jboss.com
Wed May 7 08:47:08 EDT 2008


I placed the following  request for information in the JBoss Tools forum and they refered me to JBossws.  I hope someone can help me with this issue.  

I am using Eclipse 3.3 and JBoss Tools Core 2.0.1.GA. I created a SEAM Web service (TestWs) which runs correctly. I start JBoss Server from the JBoss Server View. I check the console and I can find a reference to my TestWs Web service. I make some changes to my Web service and then right click on my moduel (within by JBoss Server view) and do a full publish of that service again. This time I do not see a reference to my web service. I'm using the Eclipse web service explorer to test my web service. When I try to use it again (after the changes and the redeploy) I get a could not create deployment - endpoint already registered error (see below). If I completely shutdown Eclipse, reopen and start JBoss Server again it works fine but after the first test (in debug mode) it will get the same message again and I will have to shut down and restart Eclipse again. This is very time consuming and any help would be greatly apprecaited. 

11:46:59,969 ERROR [MainDeployer] Could not create deployment: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ 
java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=PSDynamicWebProject,endpoint=TestWs 
at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89) 
at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59) 
at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:46) 
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) 
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) 
at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79) 
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) 
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 
at $Proxy54.create(Unknown Source) 
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) 
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 
at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:585) 
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 
at $Proxy9.deploy(Unknown Source) 
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) 
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) 
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) 
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) 
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149088#4149088

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149088



More information about the jboss-user mailing list