Dylan Rosario <[EMAIL PROTECTED]> wrote:

> Sorry, here is a stack trace from the iPlanet Server it is running on.
> ------------------------------------------
>
> [20/Mar/2001:20:36:54] info (12553): Internal Info: loading servlet
> /servlets/retrieveBLOB
> [20/Mar/2001:20:36:54] info (12553): /servlets/retrieveBLOB: init
> [20/Mar/2001:20:36:54] failure (12553): Internal error: exception thrown
> from the servlet service function (uri=/servlets/retrieveBLOB):
> java.io.FileNotFoundException: blobexample.doc (Permission denied), stack:
> java.io.FileNotFoundException: blobexample.doc (Permission denied)
>       at java.io.FileOutputStream.open(Native Method)
>       at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>       at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
>       at retrieveBLOB.doGet(retrieveBLOB.java:59)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
>       at
> com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
> a:504), root cause:

Seems self explanatory... The user under which your Netscape server is
running doesn't have privileges to write to the directory where you're
trying to create the file...

Try /tmp if you're under Unix...

    Pier

--
----------------------------------------------------------------------------
Pier P. Fumagalli  Sun Microsystems  <mailto:[EMAIL PROTECTED]>

___________________________________________________________________________
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

Reply via email to