File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "JNDI Look up - NoPermissionException" Watch "JNDI Look up - NoPermissionException" New topic
Author

JNDI Look up - NoPermissionException

Raghu
Greenhorn

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?

 
 
subject: JNDI Look up - NoPermissionException
 
Similar Threads
PermGen Memory issue in WebLogic 10
config file
Oracle PL / SQL Web toolkit on WLS (10.3)
Querying application status on WLS 10.3
exception in thread "main"