Please try the mailing list "J2EE-INTEREST" for RI specific questions. You
get on this list the same way as you got on to the EJB list.

the archives are here.
http://archives.java.sun.com/archives/index.html

Please do.

-- Aravind


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vdaygiri, Subu
> Sent: Tuesday, 20 June 2000 02:36
> 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(AccessControlCo
ntext.java
> :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(ServletWrap
per.java:5
> 34)
>         at
> org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:275)
>         at
> org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper
.java:337)
>         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.processConnec
> tion(HttpC
> 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".

Reply via email to