Hi,
       First of all java -Djava.security.debug=help is going to show you all the 
options you will ever need to debug such problems. Aren't you using a plug-in?
${java.home}/lib/security/java.security is the system-wide policy file. If you are 
using IE or Netscape then it supports only JDK1.1 and you can sign the applet
using "javakey". Moreover the system-wide policy file java.security can accept policy 
files using HTTP protocol. You have to add a policy URL and setup a policy
server which is a web server machine so that all your clients can use the same policy. 
This clearly shows that an attempt to modify the thread group fails. So you
have to debug.
bye,
Mohan

"Chidambara, Vinoth (CTS)" wrote:

> >  Hai,
> >
> >  I have packed all the stubs ,skeletons from the deployable
> >  jar file and applet class into one jar file.This jar file am passing to
> >  the client and the client will use the applet class from this jar
> >  file.This system works fine when I made a changes in the
> >  security policy of the client
> >    ie in <java-home>/lib/security/java.policy
> >    I append like this
> >  grant {
> >       permission java.security.AllPermission;
> >  };
> >
> >  When I made changes like this,it works fine.
> >
> >  But when I remove this permission.I couldn't able to run it.
>         I am getting exception like this
>
>         java.security.AccessControlException: access denied
> (java.lang.RuntimePermission modifyThreadGroup )
>         at java.security.AccessControlContext.checkPermission(Unknown
> Source)
>         at java.security.AccessController.checkPermission(Unknown Source)
>         at java.lang.SecurityManager.checkPermission(Unknown Source)
>         at sun.applet.AppletSecurity.checkAccess(Unknown Source)
>
> >  But I didn't reading or writing file from the file system in my
> >  applet code.I have JNDI lookup for ejb  in my client.
> >
> >  Inorder to work without any changes in security policy of
> >  the client.Whether I needed to have this jar as Signed jar.
> >  Or any other method in order to work fine
> >
> > Thanks in advance.
> > With Regards,
> > Vinoth.C
>
> This e-mail and any files transmitted with it are for the sole use of the intended 
>recipient(s) and may contain confidential and privileged information.
> If you are not the intended recipient, please contact the sender by reply e-mail and 
>destroy all copies of the original message.
> Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
>copying of this email or any action taken in reliance on this e-mail is strictly
> prohibited and may be unlawful.
>
>                 Visit us at http://www.cognizant.com
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to