Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI Look up - NoPermissionException

 
Raghu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic