【问题标题】:Yjw to connect to Weblogic admin server?Yjw 连接到 Weblogic 管理服务器?
【发布时间】:2021-07-02 07:35:21
【问题描述】:

我使用 Weblogic 12.2.1.4 构建并运行 docker 映像,现在尝试编写脚本来创建用户和组。我正在尝试连接到管理服务器以创建组和用户。我运行 wlst.sh 并执行命令 connect('admin','AdminAdmin1','t3://localhost:9002') 但我得到一个异常 -

WLSTException: Error occurred while performing connect : Error getting the initial context. There is no server running at t3://localhost:9002 : Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
[Login failed for an unknown reason: P]

admin & AdminAdmin1 - 来自 domain.properties 文件的用户名和密码。 如何连接管理服务器?

【问题讨论】:

  • 您确定 9002 端口不是 ssl 端口吗?如果是这样,您的 URL 应该是 t3s://localhost:9002

标签: weblogic wlst


【解决方案1】:

您正在使用默认的 WLS 管理端口 9002。到目前为止一切顺利,但管理端口始终使用 SSL 运行。所以使用t3s://localhost:9002 而不是t3://localhost:9002

【讨论】:

  • WLSTException:执行连接时出错:无法通过 t3s 或 https 连接。如果使用演示证书,请验证是否设置了 -Dweblogic.security.TrustKeyStore=DemoTrust 系统属性。 : 初始化JNDI上下文失败,一共尝试了2次或多次,每次间隔为0ms。
猜你喜欢
  • 2016-08-27
  • 1970-01-01
  • 1970-01-01
  • 2012-04-30
  • 1970-01-01
  • 2014-03-16
  • 2018-12-23
  • 2011-05-21
  • 2016-07-17
相关资源
最近更新 更多