WLST connecting to WebLogic Admin Server failed : Bootstrap to [IP:Port] failed. It is likely that the remote side declared peer gone on this JVM

來源:互聯網
上載者:User

標籤:

轉載自: http://onlineappsdba.com/index.php/2014/02/18/wlst-connecting-to-weblogic-admin-server-failed-bootstrap-to-ipport-failed-it-is-likely-that-the-remote-side-declared-peer-gone-on-this-jvm/

 

WebLogic Scripting Tool (WLST) is a command-line scripting environment that you can use to create, manage, and monitor WebLogic Server domains .

I recently encountered issue while connecting to WebLogic Server from WLST command connect(‘user’,’password’,’adminserver’)) remotely.

Issue: WLST connect from local machine (where WebLogic Server is running) is working fine where as connection from remote machine (WLST on remote machine) reported error. dumpStack() reported error Bootstrap to [IP/[IP]:[Admin Port] failed. It is likely that the remote side declared peer gone on this JVM

 

Command executed and error message is

____________

wlst (or wlst.sh from Linux Machine)

Initializing WebLogic Scripting Tool (WLST) …
Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands
wls:/offline>
wls:/offline> connect(‘weblogic’, ‘welcome1′, ‘t3://192.168.1.12:7001′)
Connecting to t3://192.168.1.12:7001 with userid weblogic …

Traceback (innermost last):
File “<console>”, line 1, in ?
File “<iostream>”, line 22, in connect
File “<iostream>”, line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://192.168.1.12:7001
Use dumpStack() to view the full stacktrace

 

wls:/offline> dumpStack()

This Exception occurred at Mon Feb 17 23:50:54 GMT 2014.
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://192.168.1.12:7001: Bootstrap to 192.168.1.12/192.168.1.12:7001 failed. It is likely that the remote side declared peer gone on this JVM] javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://192.168.1.12:7001: Bootstrap to 192.168.1.12/192.168.1.12:7001 failed. It is likely that the remote side declared peer gone on this JVM] wls:/offline>

_________________

 

Checks done 

1. Ensure that remote machine can access WebLogic Server (there is no firewall) : This worked for me and I was able to access WebLogic Console using IP and actual Hostname http://192.168.1.12:7001/console

 

Issue: In my case Machine running WebLogic Server had two host names

a) Actual Hostname – weblogichost.mydomain.com  and
b) Virtual Hostname – innowave21  (WebLogic Admin Server was configured to run on Virtual Name)

 

 

Fix: Ensure that client machine (from where WLST is being run), can resolve hostname mentioned in Listen Address of Admin Server (innowave21 in my case)

If not then add entry like below on hosts file of machine from where you are running WLST to connect to WebLogic Server

192.168.1.12   innowave21

 

Note: After adding entry in hosts file (or DNS server) for innowave21, I was able to connect using WLST.

 

WLST connecting to WebLogic Admin Server failed : Bootstrap to [IP:Port] failed. It is likely that the remote side declared peer gone on this JVM

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.