WebLogic Server 12c无法登录localhost异常WebLogic.nodemanager.NMCon



我使用Oracle WebLogic Server 12c,当我在Eclipse上启动它时,它会显示此错误,当我尝试访问它时,也不允许我登录localhost从不同域中的另一台计算机,在日志中显示服务器无法访问。

这是Eclipse中出现的例外。

This Exception occurred at Wed Nov 13 08:11:07 CET 2019.
weblogic.nodemanager.NMConnectException: Connection refused: connect. Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5556.
Problem invoking WLST - Traceback (innermost last):
File "C:OracleMiddlewareOracle_Homeuser_projectsdomainsbase_domainbinscripts_manejadosStartBT.wlst", line 1, in ?
File "<iostream>", line 111, in nmConnect
File "<iostream>", line 552, in raiseWLSTException
WLSTException: Error occurred while performing nmConnect : Cannot connect to Node Manager. : Connection refused: connect. Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5545.

这是我的节点管理器属性:

#Tue Nov 12 09:45:58 CET 2019
#Node manager properties
#Fri Jun 24 14:55:43 CEST 2016
DomainsFile=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\nodemanager\nodemanager.domains
LogLimit=0
PropertiesVersion=12.1.3
AuthenticationEnabled=true
NodeManagerHome=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\nodemanager
JavaHome=C:\Program Files\Java\jdk1.7.0_75
LogLevel=INFO
DomainsFileEnabled=true
StartScriptName=startWebLogic.cmd
ListenAddress=localhost
NativeVersionEnabled=true
ListenPort=5540
LogToStderr=true
SecureListener=false
LogCount=1
StopScriptEnabled=false
QuitEnabled=false
LogAppend=true
StateCheckInterval=500
CrashRecoveryEnabled=false
StartScriptEnabled=true
LogFile=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\nodemanager\nodemanager.log
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenBacklog=50

这是我的StartBt脚本文件,用于启动服务器并指定一些首选项:

nmConnect('weblogic','AXLWL20040','localhost','5521','base_domain','C:/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain','plain')
nmStart('AdminServer')
nmDisconnect()

我想让它变得触手可及,不仅仅是本地人。

nmConnect('weblogic','AXLWL20040','localhost',**'5521'**,'base_domain','C:/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain','plain')

端口应监听5545。

您错误地配置了端口。您的NodeManager侦听端口5540

ListenPort=5540

您尝试连接5545

WLSTException:..Could not connect to NodeManager. Check that it is running at localhost/127.0.0.1:5545

相关内容

  • 没有找到相关文章

最新更新