0 Replies Latest reply on Dec 2, 2013 12:33 PM by user12077236

    Metrics for Report services not working

    user12077236

      Hi,

       

      Oracle forms and reports - 11.1.2.1

      In OEM when check finished jobs, i am not able to view the finished job details.

       

      Error

      Metrics are currently unavailable.

       

       

      The EM Agent is down or not responding to metric query requests.

       

       

      IOException in sending Request :: Connection refused: connect

       

       

      oracle.sysman.emas.sdk.model.metric.MetricsUnavailableException

        at oracle.sysman.emas.sdk.model.metric.AgentMetricProvider.getMetrics(AgentMetricProvider.java:135)

        at oracle.sysman.emas.sdk.model.metric.MetricUtil.getMetrics(MetricUtil.java:506)

        at oracle.sysman.emai.model.reports.FinishedJobsModel.initFinishedJobInfos(FinishedJobsModel.java:73)

        at oracle.sysman.emai.model.reports.FinishedJobsModel.initializeData(FinishedJobsModel.java:49)

        at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)

        at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)

        at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)

        at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:128)

        at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:101)

        at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:867)

        at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)

        at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)

        at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)

        at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)

        at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)

        at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)

        at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:358)

        at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)

        at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)

        at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)

        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

        at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)

        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

        at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

        at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)

        at java.security.AccessController.doPrivileged(Native Method)

        at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

        at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

        at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

        at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

        at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)

        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)

        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)

        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

      Caused by: oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused: connect

        at oracle.sysman.emSDK.emd.comm.EMDClient.getStreamResponseForRequest(EMDClient.java:2675)

        at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2528)

        at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2466)

        at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2411)

        at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2368)

        at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:1132)

        at oracle.sysman.emas.sdk.model.metric.AgentMetricProvider.query(AgentMetricProvider.java:292)

        at oracle.sysman.emas.sdk.model.metric.AgentMetricProvider.getMetrics(AgentMetricProvider.java:120)

        ... 75 more

       

       

       

      Then i check error "Agent Unreachable" on top of the report service.

       

      Then i checked EM agent status using command

       

      emctl status agent

       

      Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.

      Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.

      ---------------------------------------------------------------

      Agent is Not Running

       

      Then i tried to start the Agent using command

       

      emctl start agent

       

      again i provided  emctl status agent, still agent is not running.

      Please help me out to start the agent and view metrics information for report service.

       

      Thank You...