The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

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:

JApplet - problem connecting to database from another machine

Posted by Binod Pokharel on December 05, 2001 at 5:28 PM

Hi,

I have a small applicatiion that uses JApplet to call servelt which accesses MS Access database using JDBC. I am uing jakarta Tomcat server.It runs fine when I run locally in the individual machine that has the web server running.

Now when I try to access this page from another machine, the JApplet gets loaded, and it also accesses servlet, I mean there is no error in url path or anything like that but when the application tries to access database and retrieve some information, I get the following error "java.security.AccessControlException:access denied (java.net.SocketPermisssion localhost:8080 connect, resolve) ".

Please let me know what I have to do; I think it has something to do with JApllet security thing.

Bye
Binod





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us