![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I have a J2EE compliant application. I want to run the client tier from within a web browser. Trouble is, soon as I start up the application, I get an exception thrown by the security manager: AccessControlException: access denied. The traceback points to a line of code where I perform a JNDI InitialContext lookup() to obtain the Home reference to a bean. I am guessing that the Applet security manager somehow thinks that I am attempting to make a network connection to a computer other than the one from which the applet came. This is not the case (I know so because I am running everything--browser, client, server, and database all on the same computer). So, how do I convince the security manager that I am not trying to break the rules of security that govern Applets? Any assistance or even just a nudge in the right direction greatly appreciated. Dan Desch.
Replies: |
Sponsored Links
|