Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Applets: DriverManager.registerDriver NoClassDefFoundError

Re: Applets: DriverManager.registerDriver NoClassDefFoundError

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 19 May 2003 20:48:43 -0700
Message-ID: <92eeeff0.0305191948.59b04e61@posting.google.com>


"Johann Strauss" <strauss_at_earthnet.com> wrote in message news:<_idya.6430$Io.552677_at_newsread2.prod.itd.earthlink.net>...
> Hello, Rauf!
>
> Thank you so much for you help! I did items #1 and #2 with the result of
> getting the class registered.
>
> Now, however, I can't make a connection to the database. I am suspecting it
> is item #4 that you mentioned. I've gotten as far as getting the policy tool
> up and entering most of the permissions and actions. I'm not sure what the
> "target" is. I have put in "[hostname]:*" . Is that correct? Next problem
> is, when I click on done, nothing gets created! Even if I try to update the
> one in C:\j2sdk1.4.1_02\jre\lib\security, nothing get written back.
>
> Thanks again for your help!
>
> Donna

  1. Launch policytool.
  2. Click on "Add Policy Entry"
  3. Click on "Add Permission"
  4. For "Permission" select "SocketPermission"
  5. For "Target Name:" type Hostname or IP address of your database server.
  6. For "Actions:" select "connect" and again "resolve"
  7. "Ok"
  8. "Done"
  9. "File" -> "Save As". Browse to your home directory "C:\Documents and Settings\<user dir>" and save file as ".java.policy".

Regards
/Rauf Sarwar Received on Mon May 19 2003 - 22:48:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US