部署weblogic9.2之后,运行出现如下错误:
<Server failed. Reason:
Unable to start WebLogic Server!
Error: license signature validation error.
Please make sure you have a valid license.bea
file in the BEA home directory associated with this
installation. For more information about the license.bea
file, see the installation guide for the version of the
software you are using at http://e-docs.bea.com.
>
解决办法:
1、找到weblogic安装目录下该项目所在域的startWeblogic.cmd文件,(目录地址如:D:\bea\user_projects\domains\项目所属域名\bin\startWeblogic.cmd),修改文件中
set CLASSPATH=%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSP
为
set CLASSPATH=d:\bea\weblogic_crack.jar;%CLASSPATH%;%MEDREC_WEBLOGIC_CLASSP
其中,d:\bea\weblogic_crack.jar为破解文件包所在位置。
2、如果依然出现监听问题,将weblogic_crack.jar导入到工程文件的paths目录下(这里指的是Myeclipse中部署weblogic),如图:
3,重启,问题解决。