Linux下Weblogic配置部署
在E:\bea\user_projects\domains\mydomain\config(對(duì)應(yīng)你自己的domain)下面的config.xml中增加:
- <app-deployment>
- <name>fsms</name>
- <target>AdminServer</target>
- <module-type>war</module-type>
- <source-path>applications/fsm_portal.war</source-path>
- <security-dd-model>DDOnly</security-dd-model>
- </app-deployment>
weblogic的默認(rèn)端口是7001,如果想改端口的話在config.xml文件中的添加<listen-port>80</listen-port>。位置如下:
- <server>
- <name>AdminServer</name>
- <listen-port>80</listen-port>
- <listen-address>0.0.0.0</listen-address>
- </server>
關(guān)閉防火墻 service iptables stop/start
# netstat -ant //查看已建立的連接進(jìn)程,所占用的端口。
***訪問http://127.0.0.1:端口/項(xiàng)目名/就ok 端口默認(rèn)為7001,可以改80類似tomcat
【本文是51CTO專欄作者張勇波的原創(chuàng)文章,轉(zhuǎn)載請(qǐng)通過51CTO獲取作者授權(quán)】