Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Failing to deploy MDS for saved search in to weblogic server.

GayazMay 7 2012
Experts,

we are working on adf 11.1.1.2 .
we are implementing MDS for saved search in our application.

for that we have done the necessary changes.
1. edit the adf-config file

<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/rich">
<tag name="column">
<attribute name="displayIndex">
<persist-changes>
true
</persist-changes>
</attribute>
</tag>
</taglib>
</taglib-config>
</adf-faces-config>
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
<cust-config>
<match path="/">
<customization-class name="oracle.adf.share.config.UserCC"/>
</match>
</cust-config>
<persistence-config>
<metadata-namespaces>
<namespace path="/persdef" metadata-store-usage="mdsstore"/>
</metadata-namespaces>
<metadata-store-usages>
<metadata-store-usage id="mdsstore" deploy-target="true"
default-cust-store="true"/>
</metadata-store-usages>
</persistence-config>
</mds-config>
</adf-mds-config>

2. in view controler project properties -->ADF view
I have checked "Enable user customization" check box
checked "Across sessions using MDS" radio button
Checked "enable seeded customization" check box

When i run this using jdev it is perfectly working fine.

To deploy this appl to weblogic

I have created a Mar file and included this one in ear file and created the ear file.

But when i try to deploy this applications ear file to weblogic i am getting following errors.

log:

///////////////////////////////////////////////////////////////////////

<May 7, 2012 3:48:26 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.>
<May 7, 2012 3:48:59 PM IST> <Warning> <HTTP> <BEA-101299> <The servlet-mapping for servlet-name "jsp" will override the default mapping for *.jsp. This can lead to a show code vulnerability.>
<ADFMDSConfig><createMDSInstanceFromelement> MDSConfigurationException encountered in parseADFConfigurationMDS-01335: namespace "/persdef" mapped to metadata-store-usage "mdsstore" but its definition was not found in MDS configuration.
oracle.mds.config.MDSConfigurationException: MDS-01335: namespace "/persdef" mapped to metadata-store-usage "mdsstore" but its definition was not found in MDS configuration.
at oracle.mds.config.PConfig.populateNamespaceConfigList(PConfig.java:811)
at oracle.mds.config.PConfig.loadFromBean(PConfig.java:717)



Message icon - Error An error occurred during activation of changes, please see the log for details.
Message icon - Error weblogic.application.ModuleException:
Message icon - Error MDS-00011: unable to create configuration object or MDSInstance due to invalid configuration information: MDS-01335: namespace "/persdef" mapped to metadata-store-usage "mdsstore" but its definition was not found in MDS configuration.
///////////////////////////////////////////////////////////////////////

Please help me in resolving this issue.


Regards
Gayaz
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2012
Added on May 7 2012
0 comments
370 views