Ya, i thought the same, but then i have currently
logged into the machine as a user and not
administrator. The permissions for the directory
"d:\upload-test" are everyone/full control.
i am currently trying to come up with something useful
through policy file, if it can help.
hope to listen back from you.
regards
raghav
--- "Artigas, Ricardo Y." <[EMAIL PROTECTED]> wrote:
> The servlet and/or owner of the process that runs
> the servlet does not have
> read access to the directory: "d:\upload-tests"
>
>
>
>
> Ricky Y. Artigas
> Analyst/Programmer
> Information Technology Division
> Easycall Communications Phils., Inc.
> 418 Arayat St., Mandaluyong City 1550, Philippines
> Personal WAP Site:
> http://www.buzzed.co.uk/mobile/?rya
> Company Website: http://www.easycall.com.ph
> Tel.no: (+632) 5338001 ext.6574
> Mobile:(+63) 0917-8951783
> Pager: 141-002955
> Email: [EMAIL PROTECTED]
>
>
> > -------------------------------
> > IMPORTANT NOTICE:
>
> > This message (and any attachment hereto) may
> contain privileged and/or
> > confidential information specific to EasyCall. If
> you are not the intended
> > addressee indicated in this message, you may not
> copy or disseminate this
> > message (or any attachment hereto) to anyone.
> Instead, please destroy this
> > message (and any attachment hereto), and kindly
> notify the sender by reply
> > email. Any information in this message (and any
> attachment thereto) that
> > do not relate to the official business of EasyCall
> shall be understood as
> > neither given nor endorsed by the company.
> >
> >
> > -----Original Message-----
> > From: Raghu [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 24, 2001 4:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: problem with permissions
> >
> > Dear friends,
> > i am working on winnt/ie5 and trying to upload
> certain
> > files from the client machine using the
> > multipart/form-data ( rfc 1867)
> >
> > When i try to run the jsp page containing the
> > appropriate parsing machenism, i get the following
> > error message, i am unable to understand the
> thing.
> > Please if anybody can help me.
> >
> >
>
=======================================================
> > Error: 500
> > Internal Servlet Error:
> >
> > javax.servlet.ServletException: access denied
> > (java.io.FilePermission d:\upload-tests read)
> > at
> >
>
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextI
> > mpl.java:384)
> > at
> >
>
_0005cupload_0002ejspupload_jsp_2._jspService(_0005cupload_0002ejspupload_
> > jsp_2.java:110)
> > at
> >
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > at
> >
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.
> > java:161)
> > at
> >
>
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
> > at
> >
>
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > at
> >
>
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java
> > :626)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java
> > :534)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:37
> > 8)
> > 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
> > pConnectionHandler.java:144)
> > at
> >
>
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
> > at java.lang.Thread.run(Thread.java:479)
> >
> > Root cause:
> > java.security.AccessControlException: access
> denied
> > (java.io.FilePermission d:\upload-tests read)
> > 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.checkRead(SecurityManager.java:873)
> > at java.io.File.isDirectory(File.java:566)
> > at
> >
>
com.oreilly.servlet.MultipartRequest.(MultipartRequest.java:114)
> > at
> >
>
_0005cupload_0002ejspupload_jsp_2._jspService(_0005cupload_0002ejspupload_
> > jsp_2.java:75)
> > at
> >
>
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > at
> >
>
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.
> > java:161)
> > at
> >
>
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:247)
> > at
> >
>
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:352)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
> > at
> >
>
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.java
> > :626)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.java
> > :534)
> > at
> >
>
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:37
> > 8)
> > 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
> > pConnectionHandler.java:144)
> > at
> >
>
org.apache.tomcat.service.TcpConnectionThread.run(TcpEndpoint.java:310)
> > at java.lang.Thread.run(Thread.java:479)
> >
> >
>
=======================================================The
> > jsp page for parsing
> > --------------------------
> >
> > <%@ page language="java"%>
> > <%@ page import="com.oreilly.servlet.*" %>
> > <%@ page import="java.io.*" %>
> > <%@ page import="java.util.*" %>
> > <%
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html