Hi All,
I am getting the following error message when trying to publish the endpoint(calling publish method of javax.xml.ws.Endpoint) using jbossws-native in JBOSS 5.1 EAP. It works fine on on Jboss 4.2.2/4.2.3.
Your help will be highly appreciated.....
Error Log...
11:57:42,796 INFO [TomcatDeployment] deploy, ctxPath=/SOAOICCT1
11:57:43,304 ERROR [TomcatDeployment] ENC setup failed
javax.naming.NameAlreadyBoundException: TransactionSynchronizationRegistry
at org.jnp.server.NamingServer.bind(NamingServer.java:209)
at org.jnp.interfaces.NamingContext.bind(NamingContext.java:674)
at org.jnp.interfaces.NamingContext.bind(NamingContext.java:635)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:469)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4384)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:313)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:122)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.GeneratedMethodAccessor330.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
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:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:297)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
at org.jboss.deployers.plugins.main.MainDeployerImpl.deploy(MainDeployerImpl.java:549)
at org.jboss.wsf.container.jboss50.transport.DynamicEndpointDeploymentAspect.create(DynamicEndpointDeploymentAspect.java:91)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss50.transport.DeploymentAspectHttpServer.publish(DeploymentAspectHttpServer.java:91)
at org.jboss.ws.core.jaxws.spi.EndpointImpl.publish(EndpointImpl.java:179)
at org.jboss.ws.core.jaxws.spi.EndpointImpl.publish(EndpointImpl.java:135)
at com.gtnet.interactionManager.providers.nortel.webService.ConsumerEndpoint.publish(ConsumerEndpoint.java:56)
at com.gtnet.interactionManager.providers.nortel.webService.ConsumerEndpoint.spinUpEndpoint(ConsumerEndpoint.java:37)
at com.gtnet.interactionManager.providers.nortel.webService.OIService.startEndpoint(OIService.java:494)
at com.gtnet.interactionManager.providers.nortel.webService.CCTOpenInterfaceChannelProvider.initialise(CCTOpenInterfaceChannelProvider.java:614)
at com.gtnet.interactionManager.ChannelProviderInterface.initialise(ChannelProviderInterface.java:27)
at com.gtnet.interactionManager.InteractionManager.connectChannelProvider(InteractionManager.java:79)
at com.gtnet.interactionManager.InteractionManager.connect(InteractionManager.java:64)
at com.gtnet.pk.ecmas.extensions.interactions.ESInteractionManager.callConnect(ESInteractionManager.java:496)
at com.gtnet.pk.ecmas.extensions.interactions.ESInteractionManager.doIndirectCall(ESInteractionManager.java:228)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:835)
at FESI.AST.ASTCompositeReference.jjtAccept(ASTCompositeReference.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:381)
at com.gtnet.pk.ecmas.extensions.GTEvaluateVisitor.visit(GTEvaluateVisitor.java:28)
at com.gtnet.pk.ecmas.extensions.DebugEvaluateVisitor.visit(DebugEvaluateVisitor.java:21)
at FESI.AST.ASTStatement.jjtAccept(ASTStatement.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:361)
at FESI.AST.ASTStatementList.jjtAccept(ASTStatementList.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:381)
at com.gtnet.pk.ecmas.extensions.GTEvaluateVisitor.visit(GTEvaluateVisitor.java:28)
at com.gtnet.pk.ecmas.extensions.DebugEvaluateVisitor.visit(DebugEvaluateVisitor.java:21)
at FESI.AST.ASTStatement.jjtAccept(ASTStatement.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:429)
at FESI.AST.ASTIfStatement.jjtAccept(ASTIfStatement.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:381)
at com.gtnet.pk.ecmas.extensions.GTEvaluateVisitor.visit(GTEvaluateVisitor.java:28)
at com.gtnet.pk.ecmas.extensions.DebugEvaluateVisitor.visit(DebugEvaluateVisitor.java:21)
at FESI.AST.ASTStatement.jjtAccept(ASTStatement.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:361)
at FESI.AST.ASTStatementList.jjtAccept(ASTStatementList.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.evaluateFunction(EcmaScriptEvaluateVisitor.java:221)
at FESI.Interpreter.Evaluator.evaluateFunction(Evaluator.java:867)
at com.gtnet.pk.ecmas.extensions.GtFunctionObject.execute(GtFunctionObject.java:223)
at com.gtnet.pk.ecmas.extensions.GtEvaluator.evaluateExecutable(GtEvaluator.java:471)
at com.gtnet.pk.ecmas.extensions.GtFunctionObject.callFunction(GtFunctionObject.java:78)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doCall(TypeDefinitionPrototype.java:512)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doIndirectCall(TypeDefinitionPrototype.java:451)
at com.gtnet.pk.ecmas.extensions.SuperObject.doIndirectCall(SuperObject.java:327)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:835)
at FESI.AST.ASTCompositeReference.jjtAccept(ASTCompositeReference.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:381)
at com.gtnet.pk.ecmas.extensions.GTEvaluateVisitor.visit(GTEvaluateVisitor.java:28)
at com.gtnet.pk.ecmas.extensions.DebugEvaluateVisitor.visit(DebugEvaluateVisitor.java:21)
at FESI.AST.ASTStatement.jjtAccept(ASTStatement.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:361)
at FESI.AST.ASTStatementList.jjtAccept(ASTStatementList.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.evaluateFunction(EcmaScriptEvaluateVisitor.java:221)
at FESI.Interpreter.Evaluator.evaluateFunction(Evaluator.java:867)
at com.gtnet.pk.ecmas.extensions.GtFunctionObject.execute(GtFunctionObject.java:223)
at com.gtnet.pk.ecmas.extensions.GtEvaluator.evaluateExecutable(GtEvaluator.java:471)
at com.gtnet.pk.ecmas.extensions.GtFunctionObject.callFunction(GtFunctionObject.java:78)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doCall(TypeDefinitionPrototype.java:512)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doIndirectCall(TypeDefinitionPrototype.java:451)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype$PrototypeCaller.handlePrototypeCall(TypeDefinitionPrototype.java:48)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype$LogPrototypeCaller.handlePrototypeCall(TypeDefinitionPrototype.java:80)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doCall(TypeDefinitionPrototype.java:524)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doIndirectCall(TypeDefinitionPrototype.java:451)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:835)
at FESI.AST.ASTCompositeReference.jjtAccept(ASTCompositeReference.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:381)
at com.gtnet.pk.ecmas.extensions.GTEvaluateVisitor.visit(GTEvaluateVisitor.java:28)
at com.gtnet.pk.ecmas.extensions.DebugEvaluateVisitor.visit(DebugEvaluateVisitor.java:21)
at FESI.AST.ASTStatement.jjtAccept(ASTStatement.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.visit(EcmaScriptEvaluateVisitor.java:361)
at FESI.AST.ASTStatementList.jjtAccept(ASTStatementList.java:28)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.evaluateFunction(EcmaScriptEvaluateVisitor.java:221)
at FESI.Interpreter.Evaluator.evaluateFunction(Evaluator.java:867)
at com.gtnet.pk.ecmas.extensions.GtFunctionObject.execute(GtFunctionObject.java:223)
at com.gtnet.pk.ecmas.extensions.GtEvaluator.evaluateExecutable(GtEvaluator.java:471)
at com.gtnet.pk.ecmas.extensions.GtFunctionObject.callFunction(GtFunctionObject.java:78)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doCall(TypeDefinitionPrototype.java:512)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.doIndirectCall(TypeDefinitionPrototype.java:451)
at com.gtnet.pk.ecmas.extensions.TypeDefinitionPrototype.callUserDefinedMethodWithInheritance(TypeDefinitionPrototype.java:720)
at com.gtnet.pk.ecmas.extensions.dataAdapter.model.FunctionNode$3.exec(FunctionNode.java:625)
at com.gtnet.pk.ecmas.extensions.InExecutionScope$Function.execAndReturn(InExecutionScope.java:21)
at com.gtnet.pk.ecmas.extensions.InExecutionScope.execute(InExecutionScope.java:31)
at com.gtnet.pk.ecmas.extensions.dataAdapter.model.FunctionNode.executeUserDefinedMethod(FunctionNode.java:622)
at com.gtnet.pk.ecmas.extensions.dataAdapter.model.FunctionNode.executeUserDefinedMethod(FunctionNode.java:401)
at com.gtnet.pk.ecmas.extensions.dataAdapter.model.FunctionNode.execute(FunctionNode.java:126)
at com.gtnet.pk.nav.ExecutableFunctionReference.enteringTree(ExecutableFunctionReference.java:103)
at com.gtnet.pk.nav.ProcessTree.enterTreeNode(ProcessTree.java:724)
at com.gtnet.pk.nav.KernelSession.runUntilGuarded(KernelSession.java:2475)
at com.gtnet.pk.nav.KernelSession.runOnEvent(KernelSession.java:1723)
at com.gtnet.pk.nav.KernelSession.handleEventImpl(KernelSession.java:1546)
at com.gtnet.pk.nav.KernelSession.processQueue(KernelSession.java:1501)
at com.gtnet.pk.nav.KernelSession.handleEvent(KernelSession.java:1479)
at com.gtnet.pk.nav.KernelSession.start(KernelSession.java:3612)
at com.gtnet.pk.comms.ClientSession.handleEnvironmentTransportable(ClientSession.java:1799)
at com.gtnet.pk.comms.ClientSession.onInput(ClientSession.java:1689)
at com.gtnet.pk.comms.web.WebClientSession.onInput(WebClientSession.java:443)
at com.gtnet.j2ee.components.ejb.GTProcessEngineEJB.sendInput(GTProcessEngineEJB.java:311)
at com.gtnet.j2ee.components.ejb.GTProcessEngineEJB.onInput(GTProcessEngineEJB.java:276)
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.jboss.invocation.Invocation.performCall(Invocation.java:386)
at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:620)
at org.jboss.ejb.plugins.StatefulSessionSecurityInterceptor.invoke(StatefulSessionSecurityInterceptor.java:84)
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:348)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:100)
at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
at org.jboss.ejb.Container.invoke(Container.java:1092)
at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
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:668)
at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:260)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:246)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:118)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
at $Proxy242.onInput(Unknown Source)Issue in publishing the endpoint( javax.xml.ws.Endpoint) using jbossws-native in JBOSS 5.1 EAP.
at com.gtnet.j2ee.comms.SynchronisedProcessEngine.onInput(SynchronisedProcessEngine.java:133)
at com.gtnet.j2ee.comms.ClientController.onInput(ClientController.java:49)
at com.gtnet.httpClient.events.MultipleEventsProcessor.processEvent(MultipleEventsProcessor.java:33)
at com.gtnet.j2ee.comms.UniversalController.pumpOneEvent(UniversalController.java:996)
at com.gtnet.j2ee.comms.UniversalController.processEventQueue(UniversalController.java:980)
at com.gtnet.j2ee.comms.UniversalController.pumpEvents(UniversalController.java:955)
at com.gtnet.j2ee.comms.UniversalController.eventProcessingLoop(UniversalController.java:1418)
at com.gtnet.j2ee.comms.UniversalController.run(UniversalController.java:1380)
at java.lang.Thread.run(Thread.java:662)
11:57:43,329 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/SOAOICCT1 state=Create mode=Manual requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL http://jaxws-endpoint-api/SOAOICCT1 deployment failed
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.