Hi

After a update and version upgrade of a monitored application the monitoring portlet crashes with PortletException as it tries to find the updated application with its old name. Maybe I have something wrongly configured but anyway it would be nice to fine a way to remove monitoring of this non existing application, dose anyone know how to do this ?
Im using Geronimo v2.1.

Snippet of portlet error message (with comment ) and also geronimo log on the same problem:

thanks
 -- peter petersson

javax.portlet.PortletException
        at 
org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:113)
        at 
org.apache.geronimo.monitoring.console.MonitoringPortlet.doView(MonitoringPortlet.java:331)
        at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
        at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
:
:
:
Caused by: javax.management.InstanceNotFoundException: 
geronimo:J2EEApplication=null,J2EEServer=geronimo,j2eeType=WebModule,name=acompanyname.jws/ticket/1.0/car
  <<==== this one is upgraded to 1.1
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:627)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:659)
        at org.apache.openejb.mgmt.MEJBBean.getAttribute(MEJBBean.java:62)
        at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)

Geronimo log

2008-03-15 12:27:11,520 ERROR [MasterRemoteControl] 
geronimo:J2EEApplication=null,J2EEServer=geronimo,j2eeType=WebModule,name=acompanyname.jws/ticket/1.0/car
javax.management.InstanceNotFoundException: 
geronimo:J2EEApplication=null,J2EEServer=geronimo,j2eeType=WebModule,name=acompanyname.jws/ticket/1.0/car
       at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
       at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:627)
       at 
com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:659)
       at org.apache.openejb.mgmt.MEJBBean.getAttribute(MEJBBean.java:62)
       at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)


Reply via email to