雜記

linux查看各服務的端口號:/etc/services

weblogic設置項目訪問時只輸入IP如下格式:http://localhost/就能訪問:設置方法項目中加入weblogic.xml文件,文件中加入<context-root>/</context-root>再將端口號改爲80即可。

如果是window下就可以直接訪問了,如果是linux重啓weblogic會報:

Emergency> <Security> <BEA-090087> <Server failed to bind to the configured Admin port. The port may already be used by another process.>
<2012-4-18 上午09時42分58秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default[1]". The address 127.0.0.1 might be incorrect or another process is using port 80: java.net.BindException: Permission denied.>
<2012-4-18 上午09時42分58秒 CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: Server failed to bind to any usable port. See preceeding log message for details.>
<2012-4-18 上午09時42分58秒 CST> <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "Default". The address 12.0.98.159 might be incorrect or another process is using port 80: java.net.BindException: Permission denied.>
<2012-4-18 上午09時42分58秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>

原因是linux下0~1024端口啓動要有更高權限。weblogic啓動會報Permission denied。

 

weblogic修改訪問端口號:

1、修改bea/user_projects/domains/base_domain/config/config.xml中端口號的配置

2、進入weblogic中的console修改:Environment-Servers中的對應server的Listen Port:

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章