Additional information, if I attempt to do a full publish again it is during this second
full publish that I get the "Endpoint already registered" exception for my web
service.
13:23:08,646 INFO [TomcatDeployer] undeploy, ctxPath=/PSDynamicWebProject,
warUrl=.../deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/
13:23:08,661 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.async.TimerServiceDispatcher
ejbName: TimerServiceDispatcher
13:23:08,677 WARN [JmxKernelAbstraction]
jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
is not registered
13:23:08,677 INFO [EJBContainer] STOPPED EJB:
org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations
13:23:08,677 WARN [JmxKernelAbstraction]
jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3
is not registered
13:23:08,677 INFO [PersistenceUnitDeployment] Stopping persistence unit
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:23:08,677 INFO [SessionFactoryImpl] closing
13:23:08,677 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name:
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:23:08,677 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:23:08,677 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name:
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject
13:23:08,677 WARN [JmxKernelAbstraction]
persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject is not
registered
13:23:08,692 INFO [EARDeployer] Undeploying J2EE application, destroy step:
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/
13:23:08,692 INFO [EARDeployer] Undeployed J2EE application:
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/
13:23:08,692 INFO [EARDeployer] Init J2EE application:
file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/
13:23:09,239 WARN [MainDeployer] Found non-jar deployer for jboss-seam.jar:
MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
13:23:11,020 WARN [DeploymentInfo] Only the root deployment can set the loader
repository, ignoring config=LoaderRepositoryConfig(repositoryName:
seam.jboss.org:loader=PSDynamicWebProject, repositoryClassName:
org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName:
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig:
java2ParentDelegation=false)
13:23:11,755 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=4149531#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...