WebSphere Portal 6.1 默认主题已删除
我使用管理页面删除了 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要使用 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.
克里斯是对的。下面详细介绍了如何使用 xmlaccess:
要生成门户配置的完整导出,请执行以下操作:
/doc/xml-samples/Export.xml
复制到/bin
。/bin
。/bin
中,在一行中运行以下xmlaccess
命令:xmlaccess -user-password; -url http://:/wps/config -in Export.xml -out result.xml
(来自: IBM 如何生成 Portal 配置的完整 XMLAccess 导出)
您可能会遇到错误
EJPXB0016E 连接被拒绝
。这是因为:localhost
无法解析或-url
选项未提供如果
localhost
无法解析,请打开以下文件:并更改
XmlAccessHost=localhost
到XmlAccessHost=hostname.compyname.com
。(来自:IBM 配置任务在 XMLAccess 期间失败,并出现“EJPXB0016E 连接被拒绝”错误< /a>)。我只是忘记了
-url
参数,并且不必更改该值。如果一切顺利,您应该拥有
result.xml
文件。再次使用xmlaccess
和result.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:
<Portal_home>/doc/xml-samples/Export.xml
to<Portal_home>/bin
.<Portal_home>/bin
.<Portal_home>/bin
, run the followingxmlaccess
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 suppliedIf
localhost
cannot be resolved, open the following file:and change
XmlAccessHost=localhost
toXmlAccessHost=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. Usexmlaccess
again with theresult.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