HI Ann:
no doubt your problem is offcourse configuration related.
Try giving all permission in your java.policy file(Make sure it is
java.policy or .java.policy)
eg.
grant {
    permission java.security.AllPermission;
}
Let me know if this also don't work
Regards,
Hemant

----- Original Message -----
From: "Ann Tomcat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 10, 2001 11:25 PM
Subject: Problem connecting to the database


> Hi!guys,
>
>
> I have developed an application using Tomcat 3.1
> ,jdk1.3 and Oracle8.1.5 as the database.
>
> The application includes servlets,applets and jsp
> pages.
>
> Environment: NT
> Jdk : 1.3
> Oracle : 8.1.5
> Tomcat : 3.1
>
> The application runs Ok till the servlet execution
> ie proper database connection.But when the JApplet
> tries to connect to the database gives
> 'Access Denied: java.permission.SocketPermission
> [server_name] resolve error.
>
> Note:
> 1) The database is on the same machine as the JApplet.
> 2) I did place .java.policy file in
> [c:\WINNT\PROFILES\ADMINSTRATION\] which is the home
> directory as per the java console with proper socket
> permission.
> 3) When I try to connect the database using
> appletviewer in the JDK1.3 the JApplet has no problem
> with the database connection.
>
> Can anybody help me out with this issue ?
>
> This is very urgent.
>
> Thanks
>
> Ann.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/

Reply via email to