假设WebLogic安装在D:\RoliaFiles\bea92。
依次打开:"Window" - "Preferences" - "MyEclipse" - "Application Servers" - "Weblogic 9"。
BEA home directory:D:\RoliaFiles\bea92
Weblogic installation directory:D:\RoliaFiles\bea92\weblogic92
Admin username:weblogic
Admin password:weblogic
Execution domain root:D:\RoliaFiles\bea92\user_projects\domains\mydomain
Execution server name:AdminServer
Security policy file:D:\RoliaFiles\bea92\weblogic92\server\lib\weblogic.policy
JAAS login configuration file:(不填)
左边导航栏选择子节点"JDK"
WJS JDK name:(选择WEBLOGIC92使用的JDK)
Optional Java JVM arguments:-Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m -Xverify:none -da -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
如果不加"-Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0",会报错:
weblogic.management.ManagementException: [Management:141266]Parsing Failure in config.xml: javax.xml.namespace.QName