ITPub博客

首页 > 数据库 > Oracle > Oracle Weblogic集群启动通过HTTP等协议进行隧道通信

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

原创 Oracle 作者:尛样儿 时间:2014-02-15 23:14:32 0 删除 编辑

    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博客 ” ,链接:https://blog.itpub.net/23135684/viewspace-1081982/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle数据库管理员,Oracle数据库系统构架员;2012年7月出版《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》一书;Oracle 10g OCM。

注册时间:2010-01-05

  • 博文量
    483
  • 访问量
    5651533