Forum Stats

  • 3,770,225 Users
  • 2,253,082 Discussions
  • 7,875,369 Comments

Discussions

Metadata not found error

Balveerr
Balveerr Member Posts: 33 Red Ribbon
edited Jan 11, 2019 10:07AM in Java Cloud Service

Hi All,

I am getting metadata not found error while deploying the application on jcs-sx instance. The same application working fine in local jdeveloper. I am using jdeveloper version 11.9.1.1. Below is the error -

2019-01-11 03:37:06 PST: Starting action "Deploy Application"

2019-01-11 03:37:06 PST: Deploy Application started

2019-01-11 03:37:22 PST: weblogic.application.ModuleException: :oracle.mds.core.MetadataNotFoundException:MDS-00013: no metadata found for metadata object "****"

MDS-00201: PDocument not found in MetadataStore : [store-type=DefaultMetadataStore app-name=TestApp lookup-order=Classpath] weblogic.application.ModuleException: :oracle.mds.core.MetadataNotFoundException:MDS-00013: no metadata found for metadata object "****"

MDS-00201: PDocument not found in MetadataStore : [store-type=DefaultMetadataStore app-name=TestApp lookup-order=Classpath]

at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1628)

at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:4202)

at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1728)

at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1661)

at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:255)

at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)

at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:278)

at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:2742)

at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:2698)

at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:2674)

at oracle.jbo.server.SessionImpl.init(SessionImpl.java:163)

at oracle.jbo.server.ApplicationModuleHomeImpl.createSession(ApplicationModuleHomeImpl.java:106)

at oracle.jbo.server.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:43)

at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:52)

at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:73)

at javax.naming.InitialContext.lookup(InitialContext.java:411)

at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:155)

at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:73)

at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2856)

at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:583)

at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2412)

at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2272)

at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3189)

at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:606)

at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:539)

at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:534)

at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1607)

at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1512)

at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1483)

at pgrd.view.utils.ConfigurationLoader.getConfigurations(ConfigurationLoader.java:25)

at pgrd.view.utils.ContextListner.contextInitialized(ContextListner.java:16)

at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)

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

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

at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)

at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1924)

at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3226)

at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1529)

at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:488)

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:671)

at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:84)

at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:573)

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.AbstractOperation.commit(AbstractOperation.java:327)

at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:849)

at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1273)

at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:441)

at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)

at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:217)

at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:14)

at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)

at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)

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

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

2019-01-11 03:37:22 PST: WL action state: failed

2019-01-11 03:37:22 PST: Action FAILED with WL action state: failed

2019-01-11 03:37:22 PST: Check the server log of your Java cloud service for more info about the failure.

2019-01-11 03:37:22 PST: Application deployment failed.

2019-01-11 03:37:22 PST: "Deploy Application" complete: status FAILED

Any help will be appreciated.

Thanks,

Balveer

Answers