10 Replies Latest reply: Jul 15, 2014 5:36 PM by Daniel Merchán RSS

    The metadata for portlet binding Report1_1 was not found in MDS

    1020514


      Hi,

      I have one Webcenter portal application ans Portlet Producer application.

      I also have a Webcenter Suit installed in a different box.( with admin server and other managed servers like WC_Portlet, WC_SPaces etc and all are up and running)

      I have deployed the portlet producer application to the Admin Server of the Webcenter Suit installed box.

      Now I have created a WSRP connection in my webcenter portal application and have draged the portlets in my home.jspx page.

       

      When I run the application on my local desktop JDev, then the portlets ahows up fine ( but takes long time to show up the portlet content) but when I deploy the .ear file to the AdminServer of the WebCerter Box then it shows "

       

      No idea why its happenning. I  am attaching the logs below for AdminServer-Diagnostics.log

      No error was found in the WC_Portlet.logs, AdminServer.log.

       

      Please let me know if anyone has faced such issue....I am badly stuck.

       

       


      [2014-07-10T10:54:08.632+01:00] [AdminServer] [WARNING] [] [oracle.webcenter.framework.service] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-0000000000009567,0] [APP: SCMapplication1#V2.0] 2014-07-10 10:54:08.631--ServerSession(485301788)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored
      [2014-07-10T10:54:08.633+01:00] [AdminServer] [NOTIFICATION] [] [oracle.webcenter.framework.service] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-0000000000009567,0] [APP: SCMapplication1#V2.0] 2014-07-10 10:54:08.633--ServerSession(485301788)--EclipseLink, version: Eclipse Persistence Services - 2.3.1.v20111018-r10243
      [2014-07-10T10:54:08.692+01:00] [AdminServer] [WARNING] [] [oracle.mds] [tid: [ACTIVE].ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-0000000000009579,0] [APP: em] [DSID: 0000KSVfdLT5qYnawl7i6G1JgLJp00001f] A call to flushChanges on the current MDSSession does not specify the correct transaction key
      [2014-07-10T10:54:09.329+01:00] [AdminServer] [WARNING] [] [oracle.webcenter.lifecycle.listener.LifecycleServletContextListener] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-0000000000009567,0] [APP: SCMapplication1#V2.0] [[
      oracle.webcenter.lifecycle.LifecycleException: MDSException while creating an export set import lock
              at oracle.webcenter.lifecycle.operation.LockUnit.doImportExportSet(LockUnit.java:359)
              at oracle.webcenter.lifecycle.operation.ImportExportSetOperation.doImportExportSet(ImportExportSetOperation.java:106)
              at oracle.webcenter.lifecycle.LifecycleService.doImportExportSet(LifecycleService.java:2418)
              at oracle.webcenter.lifecycle.listener.LifecycleServletContextListener.doImportExportSet(LifecycleServletContextListener.java:361)
              at oracle.webcenter.lifecycle.listener.LifecycleServletContextListener.contextInitialized(LifecycleServletContextListener.java:148)
              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:1868)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
              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: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.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)
              at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
              at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      Caused by: oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /oracle/webcenter/lock/exportsetImport/exportsetImport.xml failed because source metadata store mapped to the namespace / DEFAULT is read only.
              at oracle.mds.core.MDSSession.checkAndSetWriteStoreInUse(MDSSession.java:3019)
              at oracle.mds.core.MDSSession.checkAndSetWriteStoreInUse(MDSSession.java:3080)
              at oracle.mds.core.BeanMetadataObject.createInstanceInternal(BeanMetadataObject.java:363)
              at oracle.mds.core.BeanMetadataObject.access$000(BeanMetadataObject.java:74)
              at oracle.mds.core.BeanMetadataObject$1.run(BeanMetadataObject.java:319)
              at oracle.mds.core.BeanMetadataObject.createInstance(BeanMetadataObject.java:313)
              at oracle.webcenter.lock.schema.jaxb.LockMO.createInstance(LockMO.java:40)
              at oracle.webcenter.lock.LockService.createLockDocument(LockService.java:442)
              at oracle.webcenter.lock.LockService.createLock(LockService.java:176)
              at oracle.webcenter.lifecycle.operation.LockUnit.doImportExportSet(LockUnit.java:336)
              ... 41 more

      ]]
      [2014-07-10T10:54:09.749+01:00] [AdminServer] [ERROR] [] [oracle.webcenter.peopleconnections.profile.ProfileFactory] [tid: [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-0000000000009567,0] [APP: SCMapplication1#V2.0] [[
      oracle.mds.exception.MDSRuntimeException: MDS-01702: The method getBean() is not valid for metadata object /oracle/webcenter/peopleconnections/profile/metadata/people-profile-config.xml - it is allowed on only bean metadata objects.
              at oracle.mds.core.MetadataObject.getBean(MetadataObject.java:375)
              at oracle.webcenter.peopleconnections.profile.ProfileFactory.<clinit>(ProfileFactory.java:113)
              at oracle.webcenter.peopleconnections.profile.LifecycleListener.contextInitialized(LifecycleListener.java:77)
              at oracle.webcenter.framework.internal.view.WCFrameworkContextListener.contextInitialized(WCFrameworkContextListener.java:373)
              at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
              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:1870)
              at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)
              at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)
              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)

       

      [2014-07-10T11:15:13.097+01:00] [AdminServer] [WARNING] [] [oracle.webcenter.framework.view.support.impl.DeviceSupportUtils] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-00000000000097a3,0] [APP: SCMapplication1#V2.0] [DSID: 0000KSVhRi85qYnawl7i6G1JgLJp00001i] [[
      java.lang.ClassCastException: oracle.mds.core.MetadataObject
              at oracle.webcenter.framework.view.support.impl.DeviceSupportUtils.getAllDeviceGroups(DeviceSupportUtils.java:3306)
              at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getAllDeviceGroups(DeviceSupportImpl.java:136)
              at oracle.webcenter.framework.view.support.impl.DeviceSupportImpl.getDefaultDeviceGroup(DeviceSupportImpl.java:300)
              at oracle.webcenter.framework.view.support.DeviceAgent.getCurrentScopeDeviceGroup(DeviceAgent.java:404)
              at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.qualifySessionScopeId(SiteStructureContext.java:760)
              at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.generateCacheKey(SiteStructureContext.java:1073)
              at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:318)
              at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getSiteStructure(SiteStructureContext.java:281)
              at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getDefaultSiteStructure(SiteStructureContext.java:363)
              at oracle.webcenter.portalframework.sitestructure.SiteStructureContext.getCurrentModel(SiteStructureContext.java:1002)
              at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.getCurrentSiteStructure(CustomViewHandler.java:347)
              at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.findNavigationViewId(CustomViewHandler.java:313)
              at oracle.webcenter.portalframework.sitestructure.handler.CustomViewHandler.createView(CustomViewHandler.java:113)
              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:831)
              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:423)
              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
              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:27)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
              at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:34)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
              at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:45)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
              at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
              at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:131)
              at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
              at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
              at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
              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:57)
              at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
              at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)


      [2014-07-10T11:15:13.100+01:00] [AdminServer] [ERROR] [] [oracle.portlet.binding] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: anonymous] [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-00000000000097a3,0] [APP: SCMapplication1#V2.0] [DSID: 0000KSVhRi85qYnawl7i6G1JgLJp00001i] An error has occurred for Portlet Binding Report1_1.[[
      oracle.adf.model.portlet.binding.PortletBindingException: The metadata for portlet binding Report1_1 was not found in MDS.
              at oracle.adf.model.portlet.binding.PortletBinding._initModel(PortletBinding.java:544)
              at oracle.adf.model.portlet.binding.PortletBinding.initModel(PortletBinding.java:976)
              at oracle.adf.model.portlet.binding.PortletBinding.getPortletModel(PortletBinding.java:604)
              at oracle.adf.model.portlet.binding.PortletBinding.prepareRenderPhase(PortletBinding.java:454)
              at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:390)
              at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:985)
              at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3280)
              at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2883)
              at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:565)
              at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
              at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
              at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
              at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:34)
              at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:516)
              at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
              at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
              at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
              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.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
              at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
              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:128)
              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.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)

       

       

       

      Thanks.

       

        • 1. Re: The metadata for portlet binding Report1_1 was not found in MDS
          rohanwalia

          The problem is with accessing your MDS repository.

          Are you using file based MDS or you have created DB for MDS persistence?

          Have you checked the permissions on the MDS directory? 


          Thanks

          • 2. Re: The metadata for portlet binding Report1_1 was not found in MDS
            1020514

            Hi,

              I am using file based MDS and  below is adf-config.xml file content.

             

             

            <?xml version="1.0" encoding="windows-1252" ?>

            <adf-config xmlns="http://xmlns.oracle.com/adf/config"

                        xmlns:config="http://xmlns.oracle.com/bc4j/configuration"

                        xmlns:adf="http://xmlns.oracle.com/adf/config/properties"

                        xmlns:mdsC="http://xmlns.oracle.com/adf/mds/config"

                        xmlns:rcs="http://xmlns.oracle.com/adf/rcs/adf-config"

                        xmlns:rcv="http://xmlns.oracle.com/adf/rcs/viewer/adf-config"

                        xmlns:searchC="http://xmlns.oracle.com/webcenter/search/config"

                        xmlns:relC="http://xmlns.oracle.com/webcenter/relationship/config"

                        xmlns:portlet="http://xmlns.oracle.com/adf/portlet/config"

                        xmlns:collabC="http://xmlns.oracle.com/webcenter/collab/config"

                        xmlns:tagC="http://xmlns.oracle.com/webcenter/tagging/config"

                        xmlns:pe="http://xmlns.oracle.com/adf/pageeditor/config"

                        xmlns:portal="http://xmlns.oracle.com/webcenter/portal/config">

              <adf-adfm-config xmlns="http://xmlns.oracle.com/adfm/config">

                <defaults useBindVarsForViewCriteriaLiterals="true"/>

                <startup>

                  <amconfig-overrides>

                    <config:Database jbo.locking.mode="optimistic"/>

                  </amconfig-overrides>

                </startup>

              </adf-adfm-config>

              <adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">

                <adf-property name="adfAppUID" value="SCMPortal-8731"/>

              </adf:adf-properties-child>

              <adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">

                <JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"

                                     jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"

                                     authorizationEnforce="true"

                                     authenticationRequire="true"/>

                <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"

                                        credentialStoreLocation="../../src/META-INF/jps-config.xml"/>

              </adf-security-child>

              <rcs:adf-rcs-config>

                <rcs:rcs-config>

                  <rcs:catalog-config default-scope="/"

                                      default-registry="/oracle/webcenter/portalapp/catalogs/catalog-registry.xml"/>

                  <rcs:navigation-config default-scope="/"

                                         default-registry="/oracle/webcenter/portalapp/navigations/navigation-registry.xml"/>

                  <rcs:security-manager class-name="oracle.webcenter.portalframework.genericsiteresources.internal.security.CatalogSecurityManager"/>

                </rcs:rcs-config>

              </rcs:adf-rcs-config>

              <rcv:rcv-config>

                <rcv:default-catalog catalog-name="/oracle/webcenter/portalapp/catalogs/default-catalog.xml"/>

                <rcv:catalog-selector class-name="oracle.webcenter.portalframework.sitestructure.rc.PortalCatalogSelector"/>

              </rcv:rcv-config>

              <adf-resourcebundle-config xmlns="http://xmlns.oracle.com/adf/resourcebundle/config">

                <applicationBundleName>

                  resourcebundles/xliffBundles/SCMPortalOverrideBundle

                </applicationBundleName>

                <bundleList>

                  <bundleId override="true">

                    oracle.adf.view.page.editor.resource.ComposerOverrideBundle

                  </bundleId>

                </bundleList>

              </adf-resourcebundle-config>

              <searchC:adf-search-config xmlns="http://xmlns.oracle.com/webcenter/search/config">

                <display-properties>

                  <common numSavedSearches="5"/>

                  <region-specific>

                    <usage id="simpleSearchResultUIMetadata" numServiceRows="5"/>

                    <usage id="searchResultUIMetadata" numServiceRows="5"/>

                    <usage id="localToolbarRegion" numServiceRows="5"/>

                  </region-specific>

                </display-properties>

                <execution-properties timeoutMs="3000" prepareTimeoutMs="1000"/>

                <crawl-properties fullCrawlInterval="P5D" enableWcServicesCrawl="true"

                                  enableWcDiscussionsCrawl="true" enableWcUcmCrawl="true"/>

                <ses-properties>

                  <connection/>

                  <data-group/>

                </ses-properties>

              </searchC:adf-search-config>

              <adf-relationship-config xmlns="http://xmlns.oracle.com/webcenter/relationship/config"/>

              <adf-tagging-config xmlns="http://xmlns.oracle.com/webcenter/tagging/config"/>

              <pe:page-editor-config>

                <pe:security-config>

                  <pe:security-policies>

                    <pe:security-policy name="customPagePolicy" override="pagePolicy">

                      <pe:policy-class>oracle.webcenter.security.policy.WCPageSecurityPolicy</pe:policy-class>

                    </pe:security-policy>

                    <pe:security-policy name="customTFPolicy" override="taskFlowPolicy">

                      <pe:policy-class>oracle.webcenter.security.policy.WCTaskflowSecurityPolicy</pe:policy-class>

                    </pe:security-policy>

                  </pe:security-policies>

                </pe:security-config>

              </pe:page-editor-config>

              <portal:adf-portal-config>

                <portal:preferences>

                  <portal:preference id="oracle.webcenter.portalapp.navigation.model"

                                     desc="Default Navigation Model"

                                     value="/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"

                                     resourceType="navigation" display="true"/>

                  <portal:preference id="oracle.webcenter.portalapp.resourcecatalog"

                                     desc="Default Resource Catalog"

                                     value="/oracle/webcenter/portalapp/catalogs/default-catalog.xml"

                                     resourceType="ResourceCatalog" display="true"/>

                  <portal:preference id="oracle.webcenter.portalapp.pagetemplate.pageTemplate"

                                     desc="Default Page Template"

                                     value="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_globe.jspx"

                                     resourceType="Template" display="true"/>

                  <portal:preference id="oracle.webcenter.portalapp.navigation.renderer"

                                     desc="Default Navigation Renderer"

                                     value="/oracle/webcenter/portalapp/pages/navigation-renderer.jspx"

                                     display="false"/>

                  <portal:preference id="oracle.webcenter.portalapp.skin"

                                     desc="Default Portal Skin" value="portal"

                                     resourceType="Skin" display="true"/>

                  <portal:preference id="oracle.webcenter.portalapp.sitemap"

                                     desc="Default Sitemap EL"

                                     value="#{navigationContext.defaultNavigationModel.defaultSiteMap}"

                                     resourceType="Sitemap" display="true"/>

                  <portal:preference id="oracle.webcenter.portalapp.baseresourceurl"

                                     desc="Default Base Resource URL EL"

                                     value="#{request.scheme}://#{request.serverName}:#{request.serverPort}#{request.contextPath}"

                                     resourceType="BaseResourceURL" display="true"/>

                </portal:preferences>

                <portal:resource-mappings>

                  <portal:resource-mapping path="/"

                                           url-prefix="#{request.scheme}://#{request.serverName}:#{request.serverPort}#{request.contextPath}"/>

                </portal:resource-mappings>

              </portal:adf-portal-config>

              <collabC:adf-collaboration-config>

                <service-config xmlns="http://xmlns.oracle.com/webcenter/collab/config"

                                serviceId="oracle.webcenter.collab.rtc">

                  <!-- The currently selected RTC connection -->

                  <!--property name="selected.connection" value=""/-->

                  <property name="auto.login" value="false"/>

                </service-config>

              </collabC:adf-collaboration-config>

              <adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">

                <persistent-change-manager>

                  <persistent-change-manager-class>

                    oracle.adf.view.rich.change.MDSDocumentChangeManager

                  </persistent-change-manager-class>

                </persistent-change-manager>

                <taglib-config>

                  <taglib uri="http://xmlns.oracle.com/adf/faces/customizable">

                    <tag name="showDetailFrame">

                      <persist-operations>

                        all

                      </persist-operations>

                      <attribute name="expansionMode">

                        <persist-changes>

                          true

                        </persist-changes>

                      </attribute>

                      <attribute name="contentStyle">

                        <persist-changes>

                          true

                        </persist-changes>

                      </attribute>

                    </tag>

                    <tag name="panelCustomizable">

                      <persist-operations>

                        all

                      </persist-operations>

                    </tag>

                  </taglib>

                  <taglib uri="http://xmlns.oracle.com/adf/pageeditor">

                    <tag name="layoutCustomizable">

                      <attribute name="type">

                        <persist-changes>

                          true

                        </persist-changes>

                      </attribute>

                    </tag>

                  </taglib>

                </taglib-config>

              </adf-faces-config>

              <portlet:adf-portlet-config xmlns="http://xmlns.oracle.com/adf/portlet/config">

                <cacheSettings enabled="true">

                  <maxSize>

                    10000000

                  </maxSize>

                </cacheSettings>

                <cacheSettings>

                  <maxSize>

                    10000000

                  </maxSize>

                  <subscriber default="true">

                    <systemLevel>

                      <maxSize>

                        5000000

                      </maxSize>

                    </systemLevel>

                    <userLevel>

                      <maxSize>

                        8000000

                      </maxSize>

                    </userLevel>

                  </subscriber>

                </cacheSettings>

                <defaultTimeout>

                  20

                </defaultTimeout>

                <minimumTimeout>

                  1

                </minimumTimeout>

                <maximumTimeout>

                  60

                </maximumTimeout>

                <applicationStriping>

                  false

                </applicationStriping>

              </portlet:adf-portlet-config>

              <mdsC:adf-mds-config version="11.1.1.000">

                <mds-config xmlns="http://xmlns.oracle.com/mds/config">

                  <persistence-config>

                    <metadata-namespaces>

                      <namespace path="/oracle/adf/share/prefs"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/lifecycle/importexport"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/lock"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/rc"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/persdef/"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/shared/oracle/wcps"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/xliffBundles/"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/search/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/framework/scope/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/page/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/pageDefs"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/adf/portlet"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/adf/portletappscope"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/doclib/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/portalapp"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/siteresources/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/security/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/siteresources/shared"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/quicklinks/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                      <namespace path="/oracle/webcenter/people/scopedMD"

                                 metadata-store-usage="WebCenterFileMetadataStore"/>

                    </metadata-namespaces>

                    <metadata-store-usages>

                      <metadata-store-usage id="WebCenterFileMetadataStore"

                                            default-cust-store="true" deploy-target="true">

                        <metadata-store class-name="oracle.mds.dt.persistence.stores.file.SrcControlFileMetadataStore">

                          <property name="metadata-path" value="../../mds"/>

                        </metadata-store>

                      </metadata-store-usage>

                    </metadata-store-usages>

                  </persistence-config>

                  <cust-config>

                    <match path="/oracle/webcenter/siteresources/scopedMD/"/>

                    <match path="/oracle/webcenter/quicklinks/scopedMD/"/>

                    <match>

                      <customization-class name="oracle.adf.share.config.SiteCC"/>

                    </match>

                  </cust-config>

                  <cache-config>

                    <max-size-kb>100000</max-size-kb>

                  </cache-config>

                </mds-config>

              </mdsC:adf-mds-config>

            </adf-config>

             

             

             

             

            A said earlier, when I run my webcenter portal app in the JDev integrated server, then the portlets are showing up but when I deploy the application ear on the ADMIN server of a Webcenter Suit installation on a Unix Box, then the portlets are giving "portlet consumer error" and logs are shown above.

             

            Thanks.

            • 3. Re: The metadata for portlet binding Report1_1 was not found in MDS
              amr.gawish

              As rohanwalia said, you need to make sure that you have full read-write access for your unix user to the MDS directory to be able to read and write inside of it, it seems that the user you are using only have a read-only access!

              • 4. Re: The metadata for portlet binding Report1_1 was not found in MDS
                1020514

                Hi,

                 

                I am using the default weblogic user (created while Webcenter Suit installation) for deployment and login to webcenter portal application.

                Its an Admin user. I am not using the unix user for any of my purpose.

                 

                I am deploying the .ear file to the standalone weblogic ADMIN server of the Webcenter Suit installation in a Unix Box.

                 

                I am developing the webcenter portal application in JDev in windows machine and deploying the ear to a  standalone weblogic ADMIN server on a Unix box.

                 

                MDS directory is windows machine does not have any priviledge issue.

                 

                Thanks.

                • 5. Re: The metadata for portlet binding Report1_1 was not found in MDS
                  rohanwalia

                  Is your MDS Repo C:\Users\"username"\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93\o.mds.dt\adrs\"AppName"\AutoGeneratedMar\mds_adrs_writedir

                   

                  You can check this in your jdeveloper application - properties - run - MDS.'

                   

                  Can you delete all the folder under mds_adrs_writedir and try again to deploy.

                   

                  Thanks

                  • 6. Re: The metadata for portlet binding Report1_1 was not found in MDS
                    1020514

                    Thanks rohan !! but I think this is required when I run the application on the integrated server.

                    I checked in the application - properties - run - MDS.' as you said and found that this is refered only for running the application on integrated server.

                     

                    But in my case I am creating an ear file in the local Jdev (in windows box)and deploying the ear in the standalone weblogic server for Webcenter portal in a Unix box.

                     

                    I am still stuck and yet to find a way out...

                    • 7. Re: The metadata for portlet binding Report1_1 was not found in MDS
                      rohanwalia

                      How you are deploying? Can you deploy using Jdev deployment profile and deploy it to target standalone wls. Select MDS DB when it asks while deploying.

                       

                      Thanks

                      • 8. Re: The metadata for portlet binding Report1_1 was not found in MDS
                        1020514

                        Exactly that is the way I am deploying.

                        I have created a connetion to the standalone wls in Unix box.

                        I have created  a deployment profile in JDev and using the deployment profile deployed the webcenter portal app to the target standalone wls in Unix box.

                        Selected the Repository as mds-Spaces.

                         

                        The deployment is shown as successful.

                         

                         

                        I have tried other methods as well, like created a deployment profile for the portal project, deployed the portal project to a war.

                        added the war to the ear from application assembly option in the EAR deployment profile of the webcenter portal application and deployed the application into a ear.

                         

                        Deployed the ear from the em console. The deployment is successful.. but still the portlet consume error persists.

                         

                        Thanks

                        • 9. Re: The metadata for portlet binding Report1_1 was not found in MDS
                          rohanwalia

                          So you say when you deploy , deployment is successful so when you are getting the mentioned error?

                           

                          [ecid: c2c7056ef3185b49:-1d59e567:146ecb3e0d3:-8000-0000000000009567,0] [APP: SCMapplication1#V2.0] [[

                          oracle.webcenter.lifecycle.LifecycleException: MDSException while creating an export set import lock

                                  at oracle.webcenter.lifecycle.operation.LockUnit.doImportExportSet(LockUnit.java:359)

                                  at oracle.webcenter.lifecycle.operation.ImportExportSetOperation.doImportExportSet(ImportExportSetOperation.java:106)

                          • 10. Re: The metadata for portlet binding Report1_1 was not found in MDS
                            Daniel Merchán

                            Hi.

                             

                            I didn't read all, but you have to take care because you are not doing well some things:

                            1. As I can see you are deploying a Custom Portal Application in WC_Spaces instead of a WC_CustomPortal or a Managed Server separate.
                            2. You are using Spaces (Portal) MDS for your Custom Portal Application, not recommended.
                            3. I read that deploying portlet in AdminServer?, it just has to be deployed in WC_Portlet server as AdminServer hasn't all the required libs etc...


                            Follow next steps:

                            • Create new WebCenter Schemas using RCU por Custom Portal.
                            • Create a CustomPortal managed server for your portal application.
                            • Make sure that your portal application points to WebCenter Schema properly.
                            • Deploy your Portal in WC_CustomPortal and your Portlet in WC_Portlet and test.

                             

                            In addition, if you change WSRP Producer connection it generates MDS problems with Portlet Binding, take care of chaning WSRP connection after adding portlets.

                             

                            Furthermore, take a look into Doc ID 1225803.1 in MOS. It explains crearly your issue

                             

                            When you change the provider URL the provider is not considered the same. So in order for the producer to work properly you need to migrate the provider preference store from the source system to the target system.

                            Consuming Portlets - 11g Release 1 (11.1.1.8.3)

                             

                            I hope this information helps.

                            Regards.