在连接到EJB WebSphere时获得WSNNAMESERVICE属性的错误

发布于 2025-02-13 18:30:27 字数 941 浏览 0 评论 0原文

我正在尝试访问EJB WebSphere,并使用以下依赖关系具有连接性。

<dependency>
        <groupId>ibm</groupId>
        <artifactId>com.ibm.ws.ejb.thinclient</artifactId>
        <version>8.5.0</version>
    </dependency>
    <dependency>
        <groupId>ibm</groupId>
        <artifactId>com.ibm.ws.orb</artifactId>
        <version>8.5.0</version>
    </dependency>
Log Error: Exception  caught: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible  vmcid: 0x4942f000  minor code: 3591  completed: No]

谁能更新我在这里缺少的配置。我的代码能够创建初始上下文,但是在寻找JNDI路径时,它会失败,而上述错误。

分析 - 检查了使用Telnet到WebSphere服务器的连接性 - 连接工作正常。

  1. 验证了服务器路径是正确的。
  2. 服务器以8.5版运行,

除此之外,这可能会帮助我麻烦拍摄此问题。我很久就被困在这里。

I am trying to access EJB websphere and using below dependency to have the connectivity.

<dependency>
        <groupId>ibm</groupId>
        <artifactId>com.ibm.ws.ejb.thinclient</artifactId>
        <version>8.5.0</version>
    </dependency>
    <dependency>
        <groupId>ibm</groupId>
        <artifactId>com.ibm.ws.orb</artifactId>
        <version>8.5.0</version>
    </dependency>
Log Error: Exception  caught: javax.naming.NamingException: Error getting WsnNameService properties [Root exception is org.omg.CORBA.TRANSIENT: initial and forwarded IOR inaccessible  vmcid: 0x4942f000  minor code: 3591  completed: No]

Can anyone update what configuration I am missing here. My code is able to create initial context but while looking up for JNDI path it is failing with above error.

Analysis- Checked the connectivity to the websphere server with telnet - Connectivity is working fine.

  1. Verified the server path it is correct.
  2. server is running at version 8.5

Anything other than this which can help me to trouble shoot this issue. I am stucked here from very long.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文