杂记

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:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值