Home » Webcenter » Edit Page Templates After Upgrading Webcenter to PS5, PS6
Edit Page Templates After Upgrading Webcenter to PS5, PS6

Edit Page Templates After Upgrading Webcenter to PS5, PS6

Webcenter Tip n Tricks

The Problem

After Upgrading Webcenter to PS5, PS6 , it gives the following error while editing page templates….

[notification type=”error”] [2013-08-01T19:04:50.820+05:30] [WC_Spaces] [NOTIFICATION] [J2EE JSP-00008] [oracle.j2ee.jsp] [tid: [ACTIVE].ExecuteThread: ‘6’ for queue: ‘weblogic.kernel.Default (self-tuning)’] [userId: weblogic] [ecid: 27178176604737,0:1:1:1] [APP: webcenter#11.1.1.4.0] [URI: /webcenter/faces/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/siteTemplate/gsr1c3f1f5c_43c7_4d00_86cc_6e23b3da534b/Container.jspx] unable to dispatch JSP page: The following exception occurred:.[[

java.util.MissingResourceException: Can’t find bundle for base name oracle.webcenter.sitetemplate.view.resource.SiteTemplateBundle, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:952)

[/notification]

The Solution

Idenditfy the MDS Document Path. In above error, it would be
/webcenter/faces/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/siteTemplate/gsr1c3f1f5c_43c7_4d00_86cc_6e23b3da534b/Container.jspx


Open a shell on the Unix
Move To WEBCENTER_ORACLE_HOME/common/bin


Run following Command:
./wlst.sh
connect()


Provide Space Administrator User Name
Provide Password
Provide Server URL
exportMetadata(application=’webcenter’,server=’WC_Spaces’,toLocation=’/tmp/metadata’,docs=’/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/siteTemplate/gsr1c3f1f5c_43c7_4d00_86cc_6e23b3da534b/Container.jspx’)
Under /tmp/metadata, edit the file:
/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/siteTemplate/gsr1c3f1f5c_43c7_4d00_86cc_6e23b3da534b/Container.jspx


Change the following:
From:
To:
Load Change file to MDS though following Command
importMetadata(application=’webcenter’,server=’WC_Spaces’,fromLocation=’/tmp/metadata’,docs=’/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/siteTemplate/gsr28154a9a_af40_4d9b_b009_fcd8a1505031/Container.jspx’)

Restart the Webcenter Managed server.

Now edit page template in the browser.

About Pradeep Sharma

Project Leader with 2+ Years in Webcenter Configuration & Installation, 6 Years in Oracle Database, PL/SQL, Forms & Reports

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>