myeclipse下weblogic9.2的破解

转自互联网,以前搜集的,地址不详!
在weblogic9.2下已经新建了domain,并且能正常启动服务器;
但是在MyEclipse中配置了weblogic9.2之后,就无法在MyEclipse中正常启动了;
用weblogic8.1正常。
启动信息如下:
<2008-4-17 下午05时33分04秒 CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:There are 1 nested errors:weblogic.management.ManagementException: [Management:141266]Parsing Failure in config.xml:
……
下面是我试过的解决办法:
1。首先点击按钮“MyEclipse Server” 图标,下拉菜单中点击“Configure Server”,在“Application Servers”中找到Weblogic,然后选你安装的Weblogic的版本,添加BEA home directory(选你安装的路径),只需添上username和password,其它的是自动完成。
2。再添加JDK,选好JDK安装路径后,注意这里,在Optional? Java VM arguments:里补加上-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
3.检查是否配置正确的JDK。
weblogic8.x只能用jdk1.4。9.x可以用jdk1.5.
4.选择正确JDK后还是异常,试用weblogic自带的jdk.启动OK。但报另一个错:
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.
> …..
5.需要破解包,所以只需要在Eclipse里面的weblogic启动classpath加上那个破解包就可以了。(这一步是重点,启动路径中加破解包,这一步经常会在替换了license.bea后被遗忘)
点击按钮“MyEclipse Server” 图标,下拉菜单中点击“Configure Server”,在“Application Servers”中找到Weblogic版本,找到path,添加入你的破解包。
6.最后点OK,开始测试。可以从“MyEclipse Server” 找到你的weblogic,点“Start ”,看控制台中的大量日志信息:如果最后出现了<Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>就说明启动成功!此时可以访问“http://localhost:7001/console”来管理weblogic~
ps:手工自己配置,按照自己的路径来配置:版本:weblogic81 + JDK1.4.2;新建一个Run–>application:Main class: weblogic.ServerVM arguments:-ms64m -mx64m
-Djava.library.path=”D:/bea/weblogic81/server/bin”
-Dbea.home=”D:/bea”
-Dweblogic.Name=myserver
-Djava.security.policy=”D:/bea/weblogic81/server/lib/weblogic.policy”
-Dweblogic.management.discover=false
-Dweblogic.ProductionModeEnabled=false
-Dweblogic.management.password=weblogic
-Dweblogic.management.username=weblogicWorking directory: D:\bea\user_projects\domains\GAL
张贴在未分类

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注