Deployed wars and datasources not appearing in inventory
senthur_kumaran Jun 16, 2010 1:40 PMHi All,
I have deployed some applications and datasources through JOPR , But those datasources and wars are not appearing in JBOSS AS inventory page.I am facing this issue only after upgrading from Jopr 2.1 to 2.2.
Environment:
Linux OS, JBoss AS 4.2.3.GA, Oracle 10g. Jopr 2.2
When I scan the logs , I found the error as
org.rhq.core.clientapi.server.discovery.InvalidInventoryReportException: Reported resource [Resource[id=502100, type=Web Application (WAR), key=jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=myapp.war, name=myapp.war, parent=myserver JBossAS 4.2.3.GA default (myserver.mydomain.com:1099)]] has an illegal inventory status of 'DELETED' - agents are not allowed to delete platforms from inventory.
at org.rhq.enterprise.server.discovery.DiscoveryBossBean.validateResource(DiscoveryBossBean.java:421)
at org.rhq.enterprise.server.discovery.DiscoveryBossBean.validateResource(DiscoveryBossBean.java:426)
at org.rhq.enterprise.server.discovery.DiscoveryBossBean.validateInventoryReport(DiscoveryBossBean.java:407)
at org.rhq.enterprise.server.discovery.DiscoveryBossBean.mergeInventoryReport(DiscoveryBossBean.java:109)
at sun.reflect.GeneratedMethodAccessor2339.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at org.rhq.enterprise.server.common.TransactionInterruptInterceptor.addCheckedActionToTransactionManager(TransactionInterruptInterceptor.java:77)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
at org.rhq.enterprise.server.authz.RequiredPermissionsInterceptor.checkRequiredPermissions(RequiredPermissionsInterceptor.java:153)
at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
Is this the root cause of inventory page issue ? Let me know if you find anything.
Thanks & Regards
Senthur