glassfish
  1. glassfish
  2. GLASSFISH-6930

perf advisor: configure tuner throws error on confirmation screen

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: v2.1
    • Fix Version/s: not determined
    • Component/s: admin_gui
    • Labels:
      None
    • Environment:

      Operating System: Solaris
      Platform: Sun

    • Issuezilla Id:
      6,930

      Description

      apply latest jar file on Dec 6th promoted build

      Try to configure tuner

      1. click "performance advisor"
      2. click "tuner"
      3. on screen 1/2, input number of CPU, memory size,etc, click all checkboxes
      4. click confirm on second screen
      5. notice the following error message from browser

      An error has occurred
      Unable to set dynamic-reconfiguration-enabled flag to true. You must re-start
      all associated server instance(s) to this configuration. Please re-start the
      instance(s) and try again.

      6. restart domain as instructed by error message, repeat step 1 to 4, same error
      message appears

      7. this is the message from server.log after step 4

      [#|2008-12-15T11:40:11.971-0800|WARNING|sun-appserver2.1|javax.enterprise.system
      .stream.err|_ThreadID=17;_ThreadName=httpSSLWorkerThread-4848-1;_RequestID=7daf4
      c83-c081-4c2e-b29c-002218c6915f;|javax.management.RuntimeMBeanException: Runtime
      Exception thrown by the setAttribute javax.management.Attribute@f92ab0method of
      the Dynamic MBean
      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.setAttribute(DynamicMetaD
      ataImpl.java:189)
      at com.sun.jmx.mbeanserver.MetaDataImpl.setAttribute(MetaDataImpl.java:2
      06)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.setAttribute(De
      faultMBeanServerInterceptor.java:737)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.setAttribute(JmxMBeanServer.ja
      va:722)
      at com.sun.enterprise.interceptor.DynamicInterceptor.setAttribute(Dynami
      cInterceptor.java:216)
      at com.sun.appserv.management.util.jmx.MBeanProxyHandler.setAttribute(MB
      eanProxyHandler.java:475)
      at com.sun.appserv.management.util.jmx.MBeanProxyHandler.invoke(MBeanPro
      xyHandler.java:609)
      at com.sun.appserv.management.client.handler.AMXProxyHandler._invoke(AMX
      ProxyHandler.java:1113)
      at com.sun.appserv.management.client.handler.AMXProxyHandler.invoke(AMXP
      roxyHandler.java:1024)
      at $Proxy24.setDynamicReconfigurationEnabled(Unknown Source)
      at com.sun.enterprise.management.statictuner.Tuner.apply(Tuner.java:120)
      at com.sun.enterprise.tools.admingui.handlers.AdvisorHandlers.apply(Advi
      sorHandlers.java:1194)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handl
      er.java:422)
      at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHa
      ndlers(LayoutElementBase.java:424)
      at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHa
      ndlers(LayoutElementBase.java:398)
      at com.sun.jsftemplating.layout.event.CommandActionListener.invokeComman
      dHandlers(CommandActionListener.java:132)
      at com.sun.jsftemplating.layout.event.CommandActionListener.processActio
      n(CommandActionListener.java:80)
      at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
      at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:
      746)
      at javax.faces.component.UICommand.broadcast(UICommand.java:368)
      at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:
      160)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:7
      52)
      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicat
      ionPhase.java:97)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.e
      xecute(PartialTraversalLifecycle.java:80)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      at com.sun.enterprise.tools.admingui.servlet.DelayedInitFacesServlet.ser
      vice(DelayedInitFacesServlet.java:89)
      at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:292
      )
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:3
      25)
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.
      java:208)
      at org.apache.catalina.core.ApplicationFilterChain.servletService(Applic
      ationFilterChain.java:420)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:333)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(Applicatio
      nFilterChain.java:91)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilt
      erChain.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:193)
      at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:246)
      at org.apache.catalina.core.ApplicationFilterChain.access$000(Applicatio
      nFilterChain.java:91)
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilt
      erChain.java:197)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:313)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
      ContextValve.java:287)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:218)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
      ava:648)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
      ava:593)
      at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
      at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESess
      ionLockingStandardPipeline.java:98)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:222)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
      ava:648)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
      ava:593)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:587)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096
      )
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:166)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
      ava:648)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.j
      ava:593)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
      a:587)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096
      )
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:28
      8)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeA
      dapter(DefaultProcessorTask.java:647)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProce
      ss(DefaultProcessorTask.java:579)
      at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process
      (DefaultProcessorTask.java:831)
      at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProce
      ssorTask(DefaultReadTask.java:341)
      at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLR
      eadTask.java:440)
      at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLRe
      adTask.java:228)
      at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:2
      65)
      at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLW
      orkerThread.java:106)
      Caused by: java.lang.RuntimeException: javax.management.MBeanException: Unable t
      o set dynamic-reconfiguration-enabled flag to true. You must re-start all associ
      ated server instance(s) to this configuration. Please re-start the instance(s) a
      nd try again.
      at com.sun.enterprise.management.support.DelegateToMBeanDelegate.setAttr
      ibute(DelegateToMBeanDelegate.java:153)
      at com.sun.enterprise.management.support.MappedDelegate.setAttribute(Map
      pedDelegate.java:272)
      at com.sun.enterprise.management.support.AMXImplBase.setAttributeInterna
      l(AMXImplBase.java:1342)
      at com.sun.enterprise.management.support.AMXImplBase.setAttribute(AMXImp
      lBase.java:1280)
      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.setAttribute(DynamicMetaD
      ataImpl.java:180)
      ... 78 more
      Caused by: javax.management.MBeanException: Unable to set dynamic-reconfiguratio
      n-enabled flag to true. You must re-start all associated server instance(s) to t
      his configuration. Please re-start the instance(s) and try again.
      at com.sun.enterprise.ee.admin.mbeans.ConfigConfigMBean.validateDynamicR
      econfigEvent(ConfigConfigMBean.java:328)
      at com.sun.enterprise.ee.admin.mbeans.ConfigConfigMBean.setAttribute(Con
      figConfigMBean.java:298)
      at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.setAttribute(DynamicMetaD
      ataImpl.j|#]

      [#|2008-12-15T11:40:11.986-0800|WARNING|sun-appserver2.1|javax.enterprise.system
      .stream.err|_ThreadID=17;_ThreadName=httpSSLWorkerThread-4848-1;_RequestID=7daf4
      c83-c081-4c2e-b29c-002218c6915f;|ava:180)
      at com.sun.jmx.mbeanserver.MetaDataImpl.setAttribute(MetaDataImpl.java:2
      06)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.setAttribute(De
      faultMBeanServerInterceptor.java:737)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.setAttribute(JmxMBeanServer.ja
      va:722)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java
      :90)
      at $Proxy1.setAttribute(Unknown Source)
      at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.setAttribu
      te(SunoneInterceptor.java:329)
      at com.sun.enterprise.interceptor.DynamicInterceptor.setAttribute(Dynami
      cInterceptor.java:212)
      at com.sun.enterprise.management.support.DelegateToMBeanDelegate.setAttr
      ibute(DelegateToMBeanDelegate.java:149)
      ... 82 more
      Caused by: java.lang.Exception: Unable to set dynamic-reconfiguration-enabled fl
      ag to true. You must re-start all associated server instance(s) to this configur
      ation. Please re-start the instance(s) and try again.
      at com.sun.enterprise.ee.admin.mbeans.ConfigConfigMBean.validateDynamicR
      econfigEvent(ConfigConfigMBean.java:327)
      ... 96 more

      #]

        Activity

          People

          • Assignee:
            nachi_glassfish
            Reporter:
            yifeng1
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: