glassfish
  1. glassfish
  2. GLASSFISH-10300

Failed to read attribute XXX from MBean com.sun.appserv:type=Manager,path=/logs,host=server if /logs failed to deploy

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.1peur2
    • Fix Version/s: not determined
    • Component/s: amx
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      10,300
    • Status Whiteboard:
      Hide

      V2.1.1_exclude

      Show
      V2.1.1_exclude
    • Tags:

      Description

      I get a whole bunch of errors in the logs each time I start glassfish, each
      looking the same except a different attribute is reported; this seems to be
      related to an app that failed to deploy.

      If deployment fails, it should probably not bother with whatever is causing
      these errors:

      [#|2009-10-15T06:17:48.343-0700|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=10;_ThreadName=main;_RequestID=67431d93-b914-4021-8047-0830b9a68b1d;|PWC1300:
      Error starting resources in context /logs|#]

      [#|2009-10-15T06:17:48.343-0700|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=10;_ThreadName=main;_RequestID=67431d93-b914-4021-8047-0830b9a68b1d;|PWC4430:
      Document base
      /usr/local/glassfish/domains/domain1/applications/j2ee-modules/glassfish-dashboard
      does not exist or is not a readable directory|#]

      [#|2009-10-15T06:17:48.349-0700|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=10;_ThreadName=main;_RequestID=67431d93-b914-4021-8047-0830b9a68b1d;|PWC1306:
      Startup of context /logs failed due to previous errors|#]

      [#|2009-10-15T06:17:48.349-0700|INFO|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=10;_ThreadName=main;|PWC1240:
      Container WebModule[/logs] has not been started|#]

      [#|2009-10-15T06:17:48.367-0700|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web.pwc|_ThreadID=15;_ThreadName=Thread-12;_RequestID=8573594f-aae6-4863-9379-157dce0bdcf4;|PWC1002:
      Failed to read attribute expiredSessions from MBean
      com.sun.appserv:type=Manager,path=/logs,host=server
      javax.management.InstanceNotFoundException: This operation failed, because it
      could not be handled by this domain.
      An example of such an operation is creating application server instances or
      clusters when they are not supported by the given domain.
      The actual error is: MBean instance not found:
      com.sun.appserv:type=Manager,path=/logs,host=server
      at
      com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.manufactureAndRegisterMBean(SunoneInterceptor.java:663)
      at
      com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.registerWithPersistenceCheck(SunoneInterceptor.java:692)
      at
      com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.getAttribute(SunoneInterceptor.java:315)
      at
      com.sun.enterprise.interceptor.DynamicInterceptor.getAttribute(DynamicInterceptor.java:192)
      at
      com.sun.enterprise.web.monitor.impl.PwcWebModuleStatsImpl.queryStatistic(PwcWebModuleStatsImpl.java:418)
      at
      com.sun.enterprise.web.monitor.impl.PwcWebModuleStatsImpl.getExpiredSessionsTotal(PwcWebModuleStatsImpl.java:248)
      at
      com.sun.enterprise.web.stats.WebModuleStatsImpl.getExpiredSessionsTotal(WebModuleStatsImpl.java:256)
      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
      com.sun.enterprise.admin.monitor.stats.GenericStatsImpl.getStatistic(GenericStatsImpl.java:119)
      at
      com.sun.enterprise.admin.monitor.stats.GenericStatsImpl.getStatisticsOneByOne(GenericStatsImpl.java:145)
      at
      com.sun.enterprise.admin.monitor.stats.GenericStatsImpl.getStatistics(GenericStatsImpl.java:136)
      at
      com.sun.enterprise.web.stats.WebModuleStatsImpl.getStatistics(WebModuleStatsImpl.java:347)
      at
      com.sun.enterprise.admin.monitor.registry.spi.StatsHolderMBeanImpl.getStatistics(StatsHolderMBeanImpl.java:398)
      at
      com.sun.enterprise.admin.monitor.registry.spi.StatsHolderMBeanImpl.invoke(StatsHolderMBeanImpl.java:213)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
      at $Proxy1.invoke(Unknown Source)
      at
      com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
      at
      com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
      at
      com.sun.enterprise.management.support.DelegateToMBeanDelegate.invoke(DelegateToMBeanDelegate.java:184)
      at
      com.sun.enterprise.management.support.MappedDelegate.invoke(MappedDelegate.java:389)
      at
      com.sun.enterprise.management.support.DelegateInvocationHandler.invoke(DelegateInvocationHandler.java:98)
      at com.sun.enterprise.management.monitor.$Proxy13.getStatistics(Unknown Source)
      at
      com.sun.enterprise.management.monitor.MonitoringStatsImplBase.checkUnderlyingMBean(MonitoringStatsImplBase.java:347)
      at
      com.sun.enterprise.management.monitor.MonitoringStatsImplBase.preRegisterHook(MonitoringStatsImplBase.java:912)
      at
      com.sun.enterprise.management.support.AMXImplBase.preRegister(AMXImplBase.java:2215)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
      at
      com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
      at
      com.sun.enterprise.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:263)
      at com.sun.enterprise.management.support.Loader.registerNew(Loader.java:427)
      at
      com.sun.enterprise.management.support.LoaderOfOld.registerNew(LoaderOfOld.java:212)
      at
      com.sun.enterprise.management.support.LoaderOfOld.ensureNew(LoaderOfOld.java:397)
      at
      com.sun.enterprise.management.support.LoaderOfOld.syncWithOld(LoaderOfOld.java:417)
      at com.sun.enterprise.management.support.Loader._sync(Loader.java:548)
      at com.sun.enterprise.management.support.Loader.sync(Loader.java:522)
      at
      com.sun.enterprise.management.support.Loader.handleMBeanRegistered(Loader.java:209)
      at
      com.sun.enterprise.management.support.LoaderRegThread.processRegistration(LoaderRegThread.java:204)
      at
      com.sun.enterprise.management.support.LoaderRegThread.process(LoaderRegThread.java:253)
      at
      com.sun.enterprise.management.support.LoaderRegThread.run(LoaderRegThread.java:154)

      #]

      Steps to reproduce:

      1. Deploy a war
      2. Delete the war folder without undeploying it
      3. Now glassfish is angry

      Sometimes we have to bypass glassfish' undeploy because glassfish won't start
      due to something that is deployed; in that case we deleted the folder but
      glassfish still tries to deploy it and then prints all those errors.

        Activity

        Hide
        jagadesh added a comment -

        Will not be fixed for V2.1.1

        Show
        jagadesh added a comment - Will not be fixed for V2.1.1
        Hide
        jagadesh added a comment -

        Will not be fixed for V2.1.1

        Show
        jagadesh added a comment - Will not be fixed for V2.1.1
        Hide
        Tom Mueller added a comment -

        Lloyd no longer on project.

        Show
        Tom Mueller added a comment - Lloyd no longer on project.
        Hide
        prasads added a comment -

        Excluding these issues from v3.1

        Show
        prasads added a comment - Excluding these issues from v3.1
        Hide
        prasads added a comment -

        Assigning issues to Naman

        Show
        prasads added a comment - Assigning issues to Naman
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

          People

          • Assignee:
            naman_mehta
            Reporter:
            dobes
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: