1 Reply Latest reply on Sep 5, 2012 3:55 AM by vladodias

    wsm-pm is not running? :(

    oarjun
      Hello Experts,

      Facing an issue "wsm-pm - Failed" while running the BI Components. Due to which BI Scheduler is also not running... Please see the below error log and help me to rectify this error...

      Invoking Start Up operation for application wsm-pm on target AdminServer.
      [Deployer:149192]Operation 'start' on application 'wsm-pm' is in progress on 'AdminServer'
      [Deployer:149193]Operation 'start' on application 'wsm-pm' has failed on 'AdminServer'
      [Deployer:149034]An exception occurred for task [Deployer:149026]start application wsm-pm on AdminServer.: *[HTTP:101216]Servlet: "PolicyManagerValidator" failed to preload on startup in Web application: "/wsm-pm".*
      oracle.adf.share.ADFShareException: MDSConfigurationException encountered in parseADFConfiguration
           at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:178)
           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:472)
           at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:543)
           at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:521)
           at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:586)
           at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:581)
           at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
           at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1619)
           at oracle.wsm.repository.mds.MDSInstanceFactory.getMDSInstance(MDSInstanceFactory.java:95)
           at oracle.wsm.policymanager.bean.AbstractBean.getRepository(AbstractBean.java:298)
           at oracle.wsm.policymanager.bean.AbstractBean.createSession(AbstractBean.java:198)
           at oracle.wsm.policymanager.bean.UpgradeManagerBean.seedWSMPolicyRepository(UpgradeManagerBean.java:506)
           at oracle.wsm.policymanager.web.PolicyManagerValidator.init(PolicyManagerValidator.java:111)
           at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
           at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
           at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
           at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
           at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
           at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      Caused by: 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 "OWSM_TargetRepos" is invalid.
      MDS-01377: Unable to get database connection from data source configured with JNDI name "jdbc/mds/owsm".
      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.

           at oracle.mds.config.PConfig.loadFromBean(PConfig.java:690)
           at oracle.mds.config.PConfig.<init>(PConfig.java:499)
           at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:707)
           at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:764)
           at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:420)
           at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2057)
           at oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.java:1197)
           at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:580)
           at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:137)
           ... 59 more
      Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
      MDS-01370: MetadataStore configuration for metadata-store-usage "OWSM_TargetRepos" is invalid.
      MDS-01377: Unable to get database connection from data source configured with JNDI name "jdbc/mds/owsm".
      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.

           at oracle.mds.config.PConfig.loadFromBean(PConfig.java:684)
           at oracle.mds.config.PConfig.<init>(PConfig.java:499)
           at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:707)
           at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:764)
           at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:420)
           at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2055)
           at oracle.mds.core.MDSInstance.createMDSInstanceWithCustomizedConfig(MDSInstance.java:1197)
           at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:580)
           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:472)
           at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:543)
           at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:521)
           at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:586)
           at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:581)
           at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
           at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1619)
           at oracle.wsm.repository.mds.MDSInstanceFactory.getMDSInstance(MDSInstanceFactory.java:95)
           at oracle.wsm.policymanager.bean.AbstractBean.getRepository(AbstractBean.java:298)
           at oracle.wsm.policymanager.bean.AbstractBean.createSession(AbstractBean.java:198)
           at oracle.wsm.policymanager.bean.UpgradeManagerBean.seedWSMPolicyRepository(UpgradeManagerBean.java:506)
           at oracle.wsm.policymanager.web.PolicyManagerValidator.init(PolicyManagerValidator.java:111)
           at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
           at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
           at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
           at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
           at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
           at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
           at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
           at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
           at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
           at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
           at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
           at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
           at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
           ... 3 more
      :*oracle.mds.exception.MDSExceptionList:MDS-01329: unable to load element "persistence-config"*
      MDS-01370: MetadataStore configuration for metadata-store-usage "OWSM_TargetRepos" is invalid.
      MDS-01377: Unable to get database connection from data source configured with JNDI name "jdbc/mds/owsm".
      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.
      .
      Operation Start Up on target wsm-pm Failed. Please see error logs for details.
        • 1. Re: wsm-pm is not running? :(
          vladodias
          You probably have the wrong username/password configured for "jdbc/mds/owsm" data source.
          The returned message is: ORA-01017: invalid username/password; logon denied
          To fix, go to the weblogic console and under Services > Data sources click on the data source with the JNDI name "jdbc/mds/owsm" (mds-owsm)...

          On the tab Connnection Pool change the password and if needed change the user in the properties box...

          Hope this helps...

          Cheers,
          Vlad