尝试启动 WAS 6.1 时出现休眠错误

发布于 2024-11-18 17:51:58 字数 1143 浏览 2 评论 0原文

当我尝试启动 WAS 6.1 时,出现错误:

[07/07/11 14:15:40:518 EDT] 0000001d SessionFactor W org.hibernate.impl.SessionFactoryObjectFactory addInstance Could not bind factory to JNDI
                                 javax.naming.NoPermissionException: NO_PERMISSION exception caught [Root exception is org.omg.CORBA.NO_PERMISSION: Not authorized to perform bind_new_corba_context operation.  vmcid: 0x0  minor code: 0  completed: No]
    at com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext(CNContextImpl.java:2992)
    at com.ibm.ws.naming.jndicos.CNContextImpl.createSubcontext(CNContextImpl.java:1003)
    at com.ibm.ws.naming.util.WsnInitCtx.createSubcontext(WsnInitCtx.java:390)
    at javax.naming.InitialContext.createSubcontext(InitialContext.java:435)
    at org.hibernate.util.NamingHelper.bind(NamingHelper.java:69)
    at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:291)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)

这指的是哪个权限?

When I try to start the WAS 6.1, I get the error:

[07/07/11 14:15:40:518 EDT] 0000001d SessionFactor W org.hibernate.impl.SessionFactoryObjectFactory addInstance Could not bind factory to JNDI
                                 javax.naming.NoPermissionException: NO_PERMISSION exception caught [Root exception is org.omg.CORBA.NO_PERMISSION: Not authorized to perform bind_new_corba_context operation.  vmcid: 0x0  minor code: 0  completed: No]
    at com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext(CNContextImpl.java:2992)
    at com.ibm.ws.naming.jndicos.CNContextImpl.createSubcontext(CNContextImpl.java:1003)
    at com.ibm.ws.naming.util.WsnInitCtx.createSubcontext(WsnInitCtx.java:390)
    at javax.naming.InitialContext.createSubcontext(InitialContext.java:435)
    at org.hibernate.util.NamingHelper.bind(NamingHelper.java:69)
    at org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:291)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)

What permission is this referring to?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情深已缘浅 2024-11-25 17:51:58

Hiberante 正在尝试将某些内容绑定到名称空间(WAS 托管的 JNDI 名称空间)。

我不确定您的 WAS 环境的策略(安全配置)。可以将其配置为仅允许某些用户更改名称服务器中的内容。

有关此空间的一些信息,请参阅以下内容。

我已将您链接到 V7,但 6.1 的信息也相同。将下面链接中的 v7r0 替换为 v6r1 以查找 V6.1 中的等效信息

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tsec_naming.html

HTH

曼格鲁

Hiberante is trying to bind something to the name space (the JNDI name space that is hosted by WAS).

I am not sure about the policy (security config) of your WAS environment. It can be configured to allow only certiain users to change things in the name server.

Refer to the following for some info in this space.

I have linked you to V7 but the info is the same for 6.1 too. Replace v7r0 in the link below to v6r1 to find the equivalent info in V6.1

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/tsec_naming.html

HTH

Manglu

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文