3 Replies Latest reply: Jan 16, 2013 4:19 PM by User329244 RSS

    Error when discover Weblogic 10.x under Grid Control 11g

    User329244
      Hi all,

      I'm trying to adding web logic from middleware tab but I receive Internal Error has occurred. Check the log file for details. agent is installed and everything is working perfect.


      But every time I discover I receive this error which may indicate the problem from Grid itself.


      logfile showing
      ===============
      2013-01-16 18:14:00,141 Thread-5756 WARN upload: Truncating value of "STRING_VALUE" from "Errors in directory: c:\oracle\gc_inst\user_projects\domains\gcdomain\servers\emgc_oms1\adr\diag\ofm\gcdomain\emgc_oms1\incident\incdir_846 (incident=846):~MDSConfigurationException encountered in parseADFConfigurationMDS-01330: unable to load MDS configuration document~MDS-01329: unable to load element "persistence-config"~MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.~MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.~weblogic.common.resourcepool.ResourceDeadException: 0:~Could not connect to 'oracle.jdbc.OracleDriver'.~The returned message is: ORA-01017: invalid username/password; logon denied~It is likely that the login or password is not valid.~It is also possible that something else is invalid in~the configuration or that the database is not available.~Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}" to "Errors in directory: c:\oracle\gc_inst\user_projects\domains\gcdomain\servers\emgc_oms1\adr\diag\ofm\gcdomain\emgc_oms1\incident\incdir_846 (incident=846):~MDSConfigurationException encountered in parseADFConfigurationMDS-01330: unable to load MDS configuration document~MDS-01329: unable to load element "persistence-config"~MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.~MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.~weblogic.common.resourcepool.ResourceDeadException: 0:~Could not connect to 'oracle.jdbc.OracleDriver'.~The returned message is: ORA-01017: invalid username/password; logon denied~It is likely that the login or password is not valid
      ===============



      Thank you
        • 1. Re: Error when discover Weblogic 10.x under Grid Control 11g
          User329244
          also log show

          Incident Id: 847
          Incident Source: SYSTEM
          Create Time: Wed Jan 16 21:47:48 AST 2013
          Problem Key: OFM-99999 [EMGC_OMS1][oracle.adf.share.config.ADFMDSConfig]
          Application Name: emgc
          Error Message Id: OFM-99999

          Description
          -----------

          The following log message matched one or more log detection conditions:

          [2013-01-16T21:47:48.573+03:00] [EMGC_OMS1] [INCIDENT_ERROR] [] [oracle.adf.share.config.ADFMDSConfig] [ecid: 0000Jl4g42a7q2w_KDc9ye1GoAEJ006Ho7,0] [APP: emgc] MDSConfigurationException encountered in parseADFConfigurationMDS-01330: unable to load MDS configuration document [[
          MDS-01329: unable to load element "persistence-config"
          MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
          MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
          weblogic.common.resourcepool.ResourceDeadException: 0:
          Could not connect to 'oracle.jdbc.OracleDriver'.

          The returned message is: ORA-01017: invalid username/password; logon denied

          It is likely that the login or password is not valid.
          It is also possible that something else is invalid in
          the configuration or that the database is not available.
          Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}
          oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
          MDS-01329: unable to load element "persistence-config"
          MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
          MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
          weblogic.common.resourcepool.ResourceDeadException: 0:
          Could not connect to 'oracle.jdbc.OracleDriver'.

          The returned message is: ORA-01017: invalid username/password; logon denied

          It is likely that the login or password is not valid.
          It is also possible that something else is invalid in
          the configuration or that the database is not available.
          Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}

               at oracle.mds.config.PConfig.loadFromBean(PConfig.java:695)
               at oracle.mds.config.PConfig.<init>(PConfig.java:504)
               at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)
               at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)
               at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)
               at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2007)
               at oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.java:1169)
               at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:569)
               at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:137)
               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 oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:442)
               at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:507)
               at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:490)
               at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:546)
               at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:541)
               at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
               at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1203)
               at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:434)
               at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:351)
               at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:55)
               at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
               at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
               at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
               at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.java:58)
               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.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502)
               at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
               at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
               at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
               at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
               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.run(WebAppServletContext.java:3592)
               at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
               at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
               at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
               at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
               at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
               at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
               at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
          Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
          MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
          MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
          weblogic.common.resourcepool.ResourceDeadException: 0:
          Could not connect to 'oracle.jdbc.OracleDriver'.

          The returned message is: ORA-01017: invalid username/password; logon denied

          It is likely that the login or password is not valid.
          It is also possible that something else is invalid in
          the configuration or that the database is not available.
          Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}

               at oracle.mds.config.PConfig.loadFromBean(PConfig.java:689)
               ... 45 more

          ]]

          Stack Trace
          -----------
          oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
          MDS-01329: unable to load element "persistence-config"
          MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
          MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
          weblogic.common.resourcepool.ResourceDeadException: 0:
          Could not connect to 'oracle.jdbc.OracleDriver'.

          The returned message is: ORA-01017: invalid username/password; logon denied

          It is likely that the login or password is not valid.
          It is also possible that something else is invalid in
          the configuration or that the database is not available.
          Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}

               at oracle.mds.config.PConfig.loadFromBean(PConfig.java:695)
               at oracle.mds.config.PConfig.<init>(PConfig.java:504)
               at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:692)
               at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:749)
               at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:407)
               at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2007)
               at oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.java:1169)
               at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:569)
               at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:137)
               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 oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:442)
               at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:507)
               at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:490)
               at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:546)
               at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:541)
               at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
               at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1203)
               at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:434)
               at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:351)
               at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:55)
               at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
               at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
               at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
               at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntimeExceptionFilter.java:58)
               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.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502)
               at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
               at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
               at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
               at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
               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.run(WebAppServletContext.java:3592)
               at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
               at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
               at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
               at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
               at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
               at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
               at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
          Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
          MDS-01370: MetadataStore configuration for metadata-store-usage "writeable" is invalid.
          MDS-00922: The ConnectionManager "oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl" cannot be instantiated.
          weblogic.common.resourcepool.ResourceDeadException: 0:
          Could not connect to 'oracle.jdbc.OracleDriver'.

          The returned message is: ORA-01017: invalid username/password; logon denied

          It is likely that the login or password is not valid.
          It is also possible that something else is invalid in
          the configuration or that the database is not available.
          Cannot obtain connection: driverURL = jdbc:weblogic:pool:mds-sysman_mds, props = {EmulateTwoPhaseCommit=false, connectionPoolID=mds-sysman_mds, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=mds-sysman_mds}

               at oracle.mds.config.PConfig.loadFromBean(PConfig.java:689)
               ... 45 more

          Diagnostic Dumps
          ----------------

          Name: dms.ecidctx
          Dump Files: dms_ecidctx229_i847.dmp

          Name: jvm.threads
          Dump Files: jvm_threads230_i847.dmp

          Name: dms.metrics
          Dump Files: dms_metrics231_i847.dmp

          Name: odl.logs
          Dump Arguments: ecid=0000Jl4g42a7q2w_KDc9ye1GoAEJ006Ho7
          Dump Files: odl_logs232_i847.dmp

          Name: odl.logs
          Dump Arguments: timestamp=1358362068573
          Dump Files: odl_logs233_i847.dmp

          Name: wls.image
          Dump Files: diagnostic_image_EMGC_OMS1_2013_01_16_21_47_50.zip

          Edited by: 886280 on Jan 17, 2013 12:52 AM
          • 2. Re: Error when discover Weblogic 10.x under Grid Control 11g
            GlenH
            It looks like the MDS portion of WLS discovery is failing because of some authentication problem in the AdminServer. Can you open up a SR and attach this log?

            Thanks,
            Glen
            • 3. Re: Error when discover Weblogic 10.x under Grid Control 11g
              User329244
              Thanks Glen for fast response . I already opened SR but it will take some time .


              It happened on Grid Control ,even I have a configured Weblogic when I opened it shows same error.