Jenkins Weblogic 服务器部署 weblogic.management.home.localhome
Jenkins Weblogic Server Deployment weblogic.management.home.localhome
场景:
我尝试通过 Jenkins + weblogic deployer 将 web 服务部署到 weblogic 服务器。
构建后我成功获得了 war 个文件。
部署 war 文件时,我在控制台中遇到以下错误。
其他说明:
这是企业环境。 Jenkins 和 Weblogic 服务器 运行 在不同的服务器上,但连接正常。在 weblogic 服务器上有 4 个应用程序
我的 Web 服务 运行 在集群上。
问:这个错误是什么意思?如何解决它或至少我应该集中在哪里? :)
Reason: javax.naming.NameNotFoundException: While trying to lookup
'weblogic.management.home.localhome' didn't find subcontext 'home'.
Resolved 'weblogic.management' [Root exception is
javax.naming.NameNotFoundException: While trying to lookup
'weblogic.management.home.localhome' didn't find subcontext 'home'.
Resolved 'weblogic.management']; remaining name 'home/localhome'
尝试使用 JNDI 查找资源 (weblogic.management.home.localhome) 时出现 NameNotFoundException。异常表示名称的一部分已解析 (weblogic.management) 但无法解析其余部分 (home.localhome ).
在 NameNotFoundException 的 Javadoc 中,您会看到:
This exception is thrown when a component of the name cannot be resolved because it is not bound.
这意味着,JNDI 资源 (home.localhome) 的子上下文信息不正确,或者子上下文 (home.localhome) 未在 JNDI 命名服务中注册。
见http://docs.oracle.com/javase/7/docs/api/javax/naming/NamingException.html (superclass of the NameNotFoundException) for the exception and review the JNDI info here for configuration help: http://docs.oracle.com/middleware/1221/wls/WLACH/core/index.html
场景: 我尝试通过 Jenkins + weblogic deployer 将 web 服务部署到 weblogic 服务器。 构建后我成功获得了 war 个文件。 部署 war 文件时,我在控制台中遇到以下错误。
其他说明: 这是企业环境。 Jenkins 和 Weblogic 服务器 运行 在不同的服务器上,但连接正常。在 weblogic 服务器上有 4 个应用程序 我的 Web 服务 运行 在集群上。
问:这个错误是什么意思?如何解决它或至少我应该集中在哪里? :)
Reason: javax.naming.NameNotFoundException: While trying to lookup 'weblogic.management.home.localhome' didn't find subcontext 'home'. Resolved 'weblogic.management' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'weblogic.management.home.localhome' didn't find subcontext 'home'. Resolved 'weblogic.management']; remaining name 'home/localhome'
尝试使用 JNDI 查找资源 (weblogic.management.home.localhome) 时出现 NameNotFoundException。异常表示名称的一部分已解析 (weblogic.management) 但无法解析其余部分 (home.localhome ).
在 NameNotFoundException 的 Javadoc 中,您会看到:
This exception is thrown when a component of the name cannot be resolved because it is not bound.
这意味着,JNDI 资源 (home.localhome) 的子上下文信息不正确,或者子上下文 (home.localhome) 未在 JNDI 命名服务中注册。
见http://docs.oracle.com/javase/7/docs/api/javax/naming/NamingException.html (superclass of the NameNotFoundException) for the exception and review the JNDI info here for configuration help: http://docs.oracle.com/middleware/1221/wls/WLACH/core/index.html