Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Grouper Web Service

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Grouper Web Service


Chronological Thread 
  • From: "Klug, Lawrence" <>
  • To: "" <>
  • Subject: [grouper-users] Grouper Web Service
  • Date: Tue, 10 Jan 2012 18:59:17 +0000
  • Accept-language: en-US

Hi,

 

I’m getting an exception when running grouper-ws on tomcat/linux.  Disclaimer: I built the war using Maven with a custom POM.  Perhaps I missed something that the ANT build does.  The exception says that there is a naming conflict(see below). 

 

Thanks,

 

Lawrence

 

 

2012-01-10 09:41:24,623: [http-8080-6] ERROR ServiceDeployer.deploy(107) -  - The GrouperService.aar service, which is not valid, caused Two services cannot have same name.  A service with the GrouperService name already exists in the system.

org.apache.axis2.AxisFault: Two services cannot have same name.  A service with the GrouperService name already exists in the system.

       at org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:371)

       at org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)

       at org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:536)

       at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:499)

       at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:86)

       at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)

       at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)

       at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)

       at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)

       at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)

       at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)

       at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)

       at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)

       at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)

       at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)

       at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)

       at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)

       at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)

       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)

       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)

       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

       at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)

       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:563)

       at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1397)

       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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)

       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

       at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1500)

       at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:252)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)

       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

       at java.lang.Thread.run(Thread.java:662)

2012-01-10 09:41:24,845: [http-8080-6] ERROR ServiceDeployer.deploy(107) -  - The GrouperServiceWssec_v2_0.aar service, which is not valid, caused Two services cannot have same name.  A service with the GrouperService_v2_0 name already exists in the system.

org.apache.axis2.AxisFault: Two services cannot have same name.  A service with the GrouperService_v2_0 name already exists in the system.

       at org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:371)

       at org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110)

       at org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:536)

       at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:499)

       at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:86)

       at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)

       at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)

       at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)

       at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330)

       at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227)

       at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131)

       at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284)

       at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82)

       at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)

       at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)

       at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)

       at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)

       at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420)

       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733)

       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)

       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)

       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)

       at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)

       at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:563)

       at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1397)

       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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)

       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

       at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1500)

       at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:252)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)

       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)

       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

       at java.lang.Thread.run(Thread.java:662)

 




Archive powered by MHonArc 2.6.16.

Top of Page