wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes JNDI Look up - NoPermissionException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JNDI Look up - NoPermissionException" Watch "JNDI Look up - NoPermissionException" New topic

JNDI Look up - NoPermissionException


Joined: Dec 12, 2005
Posts: 2
When i deploy my application with weblogic 10.3 , my application was not getting activated due to the error given below.

Caused By: javax.naming.NoPermissionException: User anonymous does not have permission on testdb to perform lookup operation.
at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:443)
at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
Truncated. see log file for complete stacktrace

Actully i had look at this link

http://connectionserver.blogspot.com/2009/07/user-does-not-have-permission-on.html - where it was mentioned that it happended in earlier version of WLS because of default property "AnonymousAdminLookupEnabled"

I am bit puzzled what could be the problem here with WLS 10.3 . can somebody help on this?

I agree. Here's the link: http://aspose.com/file-tools
subject: JNDI Look up - NoPermissionException