Hibernate 尝试启动时的休眠错误为6.1

Hibernate 尝试启动时的休眠错误为6.1,hibernate,websphere,Hibernate,Websphere,当我尝试启动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 e

当我尝试启动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)
[07/07/11 14:15:40:518 EDT]000000 1D SessionFactor W org.hibernate.impl.SessionFactoryObjectFactory addInstance无法将工厂绑定到JNDI
javax.naming.NoPermissionException:NO_PERMISSION exception Capture[根异常为org.omg.CORBA.NO_PERMISSION:未被授权执行绑定\u新\u CORBA\u上下文操作。vmcid:0x0次要代码:0已完成:否]
位于com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext(CNContextImpl.java:2992)
位于com.ibm.ws.naming.jndicos.CNContextImpl.createSubcontext(CNContextImpl.java:1003)
位于com.ibm.ws.naming.util.WsnInitCtx.createSubcontext(WsnInitCtx.java:390)
在javax.naming.InitialContext.createSubcontext(InitialContext.java:435)
位于org.hibernate.util.NamingHelper.bind(NamingHelper.java:69)
位于org.hibernate.impl.SessionFactoryObjectFactory.addInstance(SessionFactoryObjectFactory.java:90)
位于org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:291)
位于org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)

这指的是什么权限?

Hibernate正在尝试将某些内容绑定到名称空间(WAS承载的JNDI名称空间)

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

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

我已经将您链接到V7,但是6.1的信息也是一样的。替换以下v6r1链接中的v7r0,以查找V6.1中的等效信息

芒鲁