By default, your client have only guest role, so access denied.
You must open the permission to guest users.
> -----Original Message-----
> From: Vdaygiri, Subu [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 20, 2000 12:36 AM
> To: [EMAIL PROTECTED]
> Subject: Servelet in J2EE RI & permissions <urgent>
>
>
> When I do System.GetProperty in the servlet, I am getting access errors. I
> was wondering why j2ee ri doesn't allow the servlet to access local system
> files or properties .. Any help is appreciated.
>
> Thanks a lot!
>
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission * read,write)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContext.ja
> va
> :195)
> at
> java.security.AccessController.checkPermission(AccessController.java:403)
> at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at
> java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1215)
> at java.lang.System.getProperties(System.java:484)
> at HotStreams.TestServlet.init(TestServlet.java:76)
> at
> org.apache.tomcat.core.ServletWrapper$2.method(ServletWrapper.java:278)
> at
> org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java
> :5
> 34)
> at
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:275)
> at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:33
> 7)
> at org.apache.tomcat.core.Context.handleRequest(Context.java:644)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:440)
> at
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
> pC
> onnectionHandler.java:144)
> at
> org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
> at java.lang.Thread.run(Thread.java:479)
>
> ==========================================================================
> =
> 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".