Error looking up datasource once security is enabled in IBM WAS 6

Hi everyone,

I am having trouble starting up my application after enabling global security on WAS 6.

The startup logs show that the datasource has been successfully created and bound to server. But as soon as my application is trying to load and lookup that datasource an Exception is being thrown.

Any help would be really appreciated.

[12/6/06 13:09:47:797 GMT] 00000011 Helpers W NMSV0610I: A NamingException is being thrown from a javax.naming.Contex

t implementation. Details follow:

Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl

Context method: lookupExt

Context name: eus0000158Node01Cell/nodes/eus0000158Node01/servers/server1

Target name: jdbc/PDMDS

Other data: ""

Exception stack trace: javax.naming.NamingException: Error during resolve [Root exception is java.lang.NullPointerException]

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1816)

at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1737)

at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1444)

at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1324)

Caused by: java.lang.NullPointerException

at com.ibm.ISecurityLocalObjectBaseL13Impl.CSICredentialsManager.getClientSubject(CSICredentialsManager.java:389)

at com.ibm.ISecurityLocalObjectBaseL13Impl.CSIClientRI$2.run(CSIClientRI.java:463)

at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)

at com.ibm.ISecurityLocalObjectBaseL13Impl.CSIClientRI.send_request(CSIClientRI.java:459)

at com.ibm.rmi.pi.InterceptorManager.iterateSendRequest(InterceptorManager.java:396)

[1756 byte] By [vjk_smart421a] at [2007-10-3 11:47:48]
# 1
Did you ever find a solution? I am facing the exact same problem and can't seem to figure out what is causing it.
mindyb55a at 2007-7-15 14:20:52 > top of Java-index,Security,Other Security APIs, Tools, and Issues...