【问题标题】:Weblogic scripting tool beginRepositorySession() failsWeblogic 脚本工具 beginRepositorySession() 失败
【发布时间】:2015-03-26 19:49:42
【问题描述】:

我正在尝试使用 oracle 的 OWSM 来保护我的应用程序。我有脚本来创建策略和身份验证器。当我尝试运行这些脚本时,它在第一行失败,即

 beginRepositorySession()

我收到以下错误:

 "The MBean ,@ oracle.wsm:*,name=WSMDocumentManager,type=Repository was not found"

浏览了一些链接后,我发现当我尝试从错误的位置执行 wlst.sh 时会发生此错误。但我正在从 Oracle_common 执行它,但我仍然收到此错误。

任何想法..为什么会发生这种情况?这是一些设置问题吗?或者我需要在执行这个 beginRepositorySession 之前添加一些代码?

我的 wlst.sh 位置是

 $ORACLE_MIDDLEWARE/oracle_common/common/bin/wlst.sh

谢谢。

完整的异常跟踪:

wls:/myOWSM/serverConfig> beginRepositorySession()
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root. 
For more help, use help(domainRuntime)


Traceback (innermost last):
File "<console>", line 1, in ?
File "$ORACLE_MIDDLEWARE/oracle_common/common/wlst/wsmManage.py", line 172, in beginRepositorySession
File "$ORACLE_MIDDLEWARE/oracle_common/common/wlst/lib/ora_util.py", line 51, in raiseScriptingException
OracleScriptingException: The MBean oracle.wsm:*,name=WSMDocumentManager,type=Repository was not found.

【问题讨论】:

  • 您是否连接到该行之前的实例?
  • 是的......连接成功......即使我尝试这个 wlst cmd 提示。我遇到了同样的异常。
  • wsm-pm 应用程序目标运行的服务器是否为“活动”状态?当连接到管理服务器并且托管 WSM 的托管服务器未启动时,我收到相同的 MBean not found 错误。如果我连接到未针对 wsm-pm 的托管服务器,我也会收到该错误。除此之外,会话已成功启动,从 oracle_common/common/bin 运行 wlst 脚本。

标签: oracle weblogic11g wlst rcu


【解决方案1】:

我有同样的问题,我解决了这个错误后,将数据库进程值增加到 600,它是 150,对于所有作业来说都不够。看到它你可以使用:

Oracle 数据库 Sql: "显示参数进程;"

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-12
    • 1970-01-01
    相关资源
    最近更新 更多