当前位置: 代码迷 >> Web前端 >> weblogic相关错误
  详细解决方案

weblogic相关错误

热度:520   发布时间:2012-07-02 17:46:22.0
weblogic相关异常
weblogic 启动,报 ORA-00942: table or view does not exist

在 ..../user_domain/base_domain/下用  startWebLogic.sh 启动项目时,报错ORA-00942: table or view does not exist;

这是因为没有在相关的数据库用户下运行 一个脚本

解决:

将 $WL_HOME/server/lib下的 rdbms_security_store_oracle.sql 运行即可

然后重启,搞掂


        Truncated. see log file for complete stacktrace
Caused By: org.apache.openjpa.lib.jdbc.ReportingSQLException: ORA-00942: 表或视
图不存在
{prepstmnt 59979372 INSERT INTO BEAXACMLAP (DOMN, REALMN, TYPEN, CN, XVER, CTS,
WCN, WCI, WXF, XD, XS, MTS) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [params
=(String) Mydomain, (String) myrealm, (String) Policies, (String) urn:bea:xacml:
2.0:entitlement:resource:type@E@Fmbean@G, (String) 1.0, (null) null, (null) null
, (null) null, (Blob) oracle.sql.BLOB@393436f, (InputStream) java.io.ByteArrayIn
putStream@39343e2, (String) 3, (Timestamp) 2012-03-13 16:20:57.705] [reused=0]}
[code=942, state=42000]
  相关解决方案