QC Muted Mode

QC Muted mode is a new feature added to Application Lifecycle Management (ALM) 11.

The main purpose of the feature is to emphasize to the site administrator and also the users that QC server has entered an unstable state.

Before the feature was introduced, such cases were not emphasized and thus, QC was malfunctioning in many different scenarios and it was very hard to detect the fact that some internal component is not functioning.

QC becomes muted once an internal, vital component stops working due to an exception of any sort (memory or logical). Once QC becomes muted all requests to the specific server are responded with an HTML that states that QC is muted, QC server name and also shows the message and the stacktrace of the exception that caused QC to become muted, this information may be used by the site admin during the investigation phase.

There are many reasons that could have caused the server to go into Muted mode, eg. Out of java heap memory; Repository path stated in the Config "Base repository Path" is not accessible. Please check the Reason value and stacktrace in the error message to troubleshoot. The example error below states that the" java lang out of memory" which refers to the java heap space.

An example to QC response when in muted mode is shown below:

QC Server on ‘VMFTRND66’ is MUTED

status=MUTED, label=QC server is muted due to unrecoverable error, reason=unable to create new native thread,
StackTrace=
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:597)
at com.mercury.optane.core.utils.concurrent.ConcurrentTaskBalancedExecutor.init(ConcurrentTaskBalancedExecutor.java:317)
at com.mercury.optane.core.utils.concurrent.ConcurrentTaskBalancedExecutor.<init>(ConcurrentTaskBalancedExecutor.java:229)
at com.mercury.optane.core.file.smartrepository.UploadRepositoryDataStructure.performAsyncDeletion(UploadRepositoryDataStructure.java:117)
at com.mercury.optane.core.file.smartrepository.SmartRepositoryFilesUploader.uploadZipToRepository(SmartRepositoryFilesUploader.java:124)
at com.mercury.optane.core.file.smartrepository.SmartRepositoryMassOperationsHandler.uploadZipToRepository(SmartRepositoryMassOperationsHandler.java:25)
at com.mercury.optane.core.estorage.CEStorageServer.uploadZip(CEStorageServer.java:143)
at com.mercury.optane.core.file.smartrepository.SmartRepository.upload(SmartRepository.java:260)
at com.mercury.td.tdserver.api.logics.CStreamingLogic.upload(CStreamingLogic.java:165)
at com.mercury.td.tdserver.requests.UploadRepositoryFiles.execute(UploadRepositoryFiles.java:26)
at com.mercury.optane.core.web.RequestsDispatcher.execute(RequestsDispatcher.java:91)
at com.mercury.td.web.CAbsServlet.executeFunction(CAbsServlet.java:486)
at com.mercury.td.web.CAbsServlet.processRequest(CAbsServlet.java:478)
at com.mercury.td.web.CTdServlet.processRequest(CTdServlet.java:165)
at com.mercury.td.web.CAbsServlet.doPost(CAbsServlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.hp.qc.core.utils.gzipfilter.GZIPFilter.doFilter(GZIPFilter.java:30)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.mercury.optane.core.state.ServerStatusFilter.doFilter(ServerStatusFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)

Advertisements

One thought on “QC Muted Mode

  1. fashion

    Whats up very nice web site!! Man .. Beautiful ..
    Superb .. I will bookmark your site and take the feeds also?
    I’m glad to find a lot of useful info here in the submit, we want develop more techniques
    in this regard, thank you for sharing. . . . . .

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s