WebLogic启动时报错

时间:2023-03-08 20:49:24
java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:273)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

  报以上错,查看后缝隙,说是因为用root启动过weblogic服务,文件权限不一致了。

解决办法:

  在Weblogic用户目录下的weblogic路径下,执行下面的命令:

  [~weblogic]# chown -R weblogic:weblogic weblogic/

  (weblogic/ 文件路径)