Topic
  • 1 reply
  • Latest Post - ‏2007-04-16T03:29:30Z by SystemAdmin
SystemAdmin
SystemAdmin
1215 Posts

Pinned topic Error when enabling security in WSAD 5.1.2

‏2006-12-15T13:37:41Z |
Hi,

Please assist me in solving the problem I'm experiencing when enabling security in WSAD 5.1.2:

SECJ0305I: Role based authorization check failed for security name <null>, accessId UNAUTHENTICATED while invoking method rebind_java_object on resource NameServer and module /com/ibm/ws/naming/bootstrap/xml/NameServer.xml.

The program executes correctly when security is not enabled.

I have an EJB that uses Hibernate to query a SQLServer 2000 database.

The instant I execute this code:

String configFileName = "hibernate-system.cfg.xml";

new Configuration().configure(configFileName).buildSessionFactory()

I get the Role based authorization check exception stated above.
The call to the JNDI name: "hibernate/HibernateFactorySystem" fails with a permission error.

I've include my hibernate config file and the stack trace in the attachment.
Updated on 2007-04-16T03:29:30Z at 2007-04-16T03:29:30Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1215 Posts

    Re: Error when enabling security in WSAD 5.1.2

    ‏2007-04-16T03:29:30Z  
    Hi,

    We are experiencing the very same issue. Did you find a solution to this problem?

    Thanks.