[jboss-user] [JBossWS] - SErviceAlreadyRegistered exception

MmarcoM do-not-reply at jboss.com
Wed Oct 4 09:15:53 EDT 2006


hi all,
 i have an app in which i am exposing an EJB as  a webservice..
while deploying applicationi keep on receiving this exception


  | 14:08:19,953 ERROR [MainDeployer] Could not create deployment: file:/D:/Sw/jboss
  | -4.0.4.GA/server/default/tmp/deploy/tmp18651ngenMiddlewareEAR-1.0-SNAPSHOT.ear-c
  | ontents/ngenMiddleware-1.0-SNAPSHOT.jar
  | org.jboss.ws.WSException: Service already registerd: jboss.ws:context=ngenMiddle
  | ware-1,endpoint=Responder
  |         at org.jboss.ws.server.ServiceEndpointManager.createServiceEndpoint(Serv
  | iceEndpointManager.java:501)
  |         at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpoin
  | tDeployer.java:120)
  |         at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt
  | erceptor.java:80)
  |         at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(Deployer
  | InterceptorEJB.java:44)
  |         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
  | create(SubDeployerInterceptorSupport.java:180)
  |         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
  | ptor.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 $Proxy31.create(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  |         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.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 $Proxy6.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
  | tScanner.java:421)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:634)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:263)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
  | bstractDeploymentScanner.java:336)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:289)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:245)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | 

i have deleted all  tmp and work directory.. i cannot figure out where htis excpeiton is coming from..

can anyone help pls?

thanks in advance and regards
 marco

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

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



More information about the jboss-user mailing list