Two Laptop Bag
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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(
at weblogic.jndi.internal.ServerNamingNode.checkLookup(
at weblogic.jndi.internal.ServerNamingNode.lookupHere(
at weblogic.jndi.internal.BasicNamingNode.lookup(
at weblogic.jndi.internal.WLEventContextImpl.lookup(
Truncated. see log file for complete stacktrace

Actully i had look at this link - 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:
subject: JNDI Look up - NoPermissionException
It's not a secret anymore!