#932 [HHQ-1730] Duplicate service names coming in for IIS

Bug
open
None
5
2012-10-09
2008-03-14
No

http://jira.hyperic.com/browse/HHQ-1730
From the ServiceMerger:63



2008-02-26 21:51:25,156 INFO [RuntimeAIServiceMerger1] [org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl] Updating service: MY-INST IIS 6.x OM


2008-02-26 21:51:25,156 ERROR [RuntimeAIServiceMerger1] [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract org.hyperic.hq.appdef.server.session.Service org.hyperic.hq.appdef.shared.ServiceManagerLocal.getServiceByName(org.hyperic.hq.appdef.server.session.Server,java.lang.String), causedBy:


org.hibernate.NonUniqueResultException: query did not return a unique result: 2


    at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:820)


    at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)


    at org.hyperic.hq.dao.ServiceDAO.findByName(ServiceDAO.java:186)


    at org.hyperic.hq.appdef.server.session.ServiceManagerEJBImpl.getServiceByName(ServiceManagerEJBImpl.java:357)


    at sun.reflect.GeneratedMethodAccessor1031.invoke(Unknown Source)


    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)


    at java.lang.reflect.Method.invoke(Unknown Source)


    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)


    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)


    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)


    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154)


    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:54)


    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)


    at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:408)


    at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:460)


    at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)


    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)^M


    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)^M


    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)^M


    at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:408)^M


    at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:460)^M


    at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)^M


    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)^M


    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)^M


    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)^M


    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)^M


    at org.jboss.ejb.Container.invoke(Container.java:873)^M


    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)^M


    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)^M


    at $Proxy233.getServiceByName(Unknown Source)^M


    at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl.mergeService(AutoinventoryManagerEJBImpl.java:886)^M


    at org.hyperic.hq.autoinventory.server.session.AutoinventoryManagerEJBImpl.mergeServices(AutoinventoryManagerEJBImpl.java:875)^M


    at sun.reflect.GeneratedMethodAccessor3480.invoke(Unknown Source)^M

Discussion

Anonymous
Anonymous

Cancel  Add attachments