Oracle Weblogic叢集啟動通過HTTP等協議進行隧道通訊

尛樣兒發表於2014-02-15

    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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章