WebSphere Portal 6.1 默认主题已删除

发布于 2024-11-10 14:35:50 字数 116 浏览 6 评论 0原文

我使用管理页面删除了 WebSphere Portal 6.1 中所选的默认主题。现在门户网站没有主题。更重要的是,管理部分的主题选择页面无法再显示。

如何“外部”设置默认主题(即手动,无需管理页面)?

I deleted the chosen default theme in WebSphere Portal 6.1 using the administration pages. Now the portal is themeless. More importantly, the theme selection page in the administration section can no longer be displayed.

How can I set the default theme "externally" (i.e. manually, without the administration pages)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

衣神在巴黎 2024-11-17 14:35:50

您需要使用 xmlaccess 更正此问题。我建议您从工作门户将主题配置导出回损坏​​的门户。

You will need to correct this with xmlaccess. I suggest you export from a working portal the theme configuration back into your broken portal.

你在看孤独的风景 2024-11-17 14:35:50

克里斯是对的。下面详细介绍了如何使用 xmlaccess:

要生成门户配置的完整导出,请执行以下操作:

  1. 将文件 /doc/xml-samples/Export.xml 复制到/bin
  2. 打开终端或命令窗口。将目录 (cd) 更改为 /bin
  3. 从目录 /bin 中,在一行中运行以下 xmlaccess 命令:

xmlaccess -user-password; -url http://:/wps/config-in Export.xml -out result.xml

(来自: IBM 如何生成 Portal 配置的完整 XMLAccess 导出

您可能会遇到错误 EJPXB0016E 连接被拒绝。这是因为:

  • localhost 无法解析或
  • -url 选项未提供

如果 localhost 无法解析,请打开以下文件:

../wp_profile/ConfigEngine/properties/wkplc_comp.properties

并更改XmlAccessHost=localhostXmlAccessHost=hostname.compyname.com

(来自:IBM 配置任务在 XMLAccess 期间失败,并出现“EJPXB0016E 连接被拒绝”错误< /a>)。我只是忘记了 -url 参数,并且不必更改该值。

如果一切顺利,您应该拥有 result.xml 文件。再次使用 xmlaccessresult.xml 来配置服务器并删除默认主题:

xmlaccess -user; -password; -url http://:/wps/config-在结果.xml中

Chrisr is right. Here is how to use xmlaccess in little more detail:

To generate a full export of your Portal's configuration, do the following:

  1. Copy the file <Portal_home>/doc/xml-samples/Export.xml to <Portal_home>/bin.
  2. Open a terminal or command window. Change directory (cd) to <Portal_home>/bin.
  3. From the directory <Portal_home>/bin, run the following xmlaccess command all on one line:

xmlaccess -user <Portal_admin_user> -password <Portal_admin_password> -url http://<myhost>:<port>/wps/config -in Export.xml -out result.xml

(from: IBM How to generate a complete XMLAccess export of a Portal configuration)

You might encounter an error EJPXB0016E Connection refused. It is because either:

  • localhost cannot be resolved or
  • -url option was not supplied

If localhost cannot be resolved, open the following file:

../wp_profile/ConfigEngine/properties/wkplc_comp.properties

and change XmlAccessHost=localhost to XmlAccessHost=hostname.compyname.com.

(from: IBM Configuration task fails during XMLAccess with 'EJPXB0016E Connection refused' error). I simply forgot the -url parameter and didn't have to change that value.

If everything goes well, you should have the result.xml file. Use xmlaccess again with the result.xml to configure the server with default theme deleted:

xmlaccess -user <Portal_admin_user> -password <Portal_admin_password> -url http://<myhost>:<port>/wps/config -in result.xml

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文