Oracle Weblogic集群启动通过HTTP等协议进行隧道通信


    Oracle Weblogic集群搭建完毕,主管和受管启动并
运行正常,在执行通过 stopManagedWebLogic.sh bngjj1 http://10.10.1.1:7001命令停止受管的时候常常会收到如下的报错信息:
Stopping Weblogic Server...

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to http://10.10.1.1:7001 with userid weblogic ...
This Exception occurred at Thu Feb 13 21:43:06 CST 2014.
javax.naming.CommunicationException [Root exception is java.net.ConnectException: http://10.10.1.1:7001: Destination unreachable; nested exception is: 
        java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'bngjj1' and port: '7001' a WebLogic Server?; No available router to destination]
Problem invoking WLST - Traceback (innermost last):
  File "/weblogic/Oracle/Middleware/user_projects/domains/bngjj_domain/shutdown.py", line 3, in ?
  File "", line 22, in connect
  File "", line 653, in raiseWLSTException
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at http://10.10.1.1:7001 
Use dumpStack() to view the full stacktrace

Done
Stopping Derby Server...

    通过 stopManagedWebLogic.sh 脚本都无法正常 停止受管,原因在于默认情况下Weblogic服务器HTTP等协议的隧道没有启用,执行下面的操作启用:
Administration Console at Environment > Servers > [Managed server] > Protocols > HTTP and check Enable Tunneling.
如下图所示:

   之后通过 stopManagedWebLogic.sh脚本即可顺利停止受管服务器。

--end--

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23135684/viewspace-1081982/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23135684/viewspace-1081982/

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值