myeclipse部署多个应用到不同的weblogic domain中

http://blog.csdn.net/blackain/article/details/12720653


很多时候我们可能需要部署多个应用,但正常情况下myeclipse只能配置一个weblogic,而我们又不想把所有的应用部署到一个domain中.这时就Run or Debug Configuration就派上用场了,效果如图:

环境: MyEclipse2013,Weblogic12

1.  点击MyEclipse->Servers->Weblogic->Weblogic 12.x 配置好weblogic server

2. 点击MyEclipse->Servers->Weblogic->Weblogic 12.x->Lauch, 点击按钮

   1). 选择"Server"Tab页,勾选"Add as Server",在Deplyment base directory栏选择你要部署应用的domain

     2). 选择"Arguments"Tab页,修改"VM arguments"输入框的参数,将

             DWL_HOME,DDOMAIN_HOME改成你要部署的domain路径, Dweblogic.management.username, 

         Dweblogic.management.password 为你domain的登录用户和密码

         "Working directory"选择"other",并输入你domain的路径

-DJAVA_HOME=F:/develop/language/jdk1.6.0_30 -DBEA_HOME=F:/develop/servicer/Oracle/Middleware -DWL_HOME=F:/develop/servicer/oracle/Middleware/user_projects/domains/sxsl_domain -DDOMAIN_HOME=F:/develop/servicer/Oracle/Middleware/user_projects/domains/sxsl_domain -Djava.library.path=F:/develop/language/jdk1.6.0_30/bin;F:/develop/servicer/Oracle/Middleware/wlserver_12.1/bin;F:/develop/servicer/Oracle/Middleware/wlserver_12.1/server/bin -Djava.security.policy=F:/develop/servicer/Oracle/Middleware/wlserver_12.1/server/lib/weblogic.policy -Djava.endorsed.dirs=F:/develop/servicer/Oracle/Middleware/wlserver_12.1/endorsed -Dweblogic.management.discover=true -Dplatform.home=F:/develop/servicer/Oracle/Middleware/wlserver_12.1 -Dwls.home=F:/develop/servicer/Oracle/Middleware/wlserver_12.1/server -Dwli.home=F:/develop/servicer/Oracle/Middleware/wlserver_12.1/integration -Dweblogic.Name=AdminServer -Dweblogic.management.username=weblogic123 -Dweblogic.management.password=weblogic123 -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da

 

 

3. 操作完后,点击"Apply",关闭对话框.到此大功告成

 


posted @ 2017-07-27 11:11  离。  阅读(66)  评论(0编辑  收藏  举报