Hi,

I'm using ApacheJserv-1.1 (with jserv running on the same machine) and
jdk1.2.2, and I ran into the following problem:

when I tried to upload a file (using Jason Hunter's example in "Java
Servlet Programming") into the running servlet's residing directory, I
got the following error:

java.lang.IllegalArgumentException: Not writable:
/local/src/ApacheJServ/servlets/access
        at oreilly.MultipartRequest.(MultipartRequest.java:145)
        at LoadFile.doPost(LoadFile.java:36)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314
)
        at
org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:475)

I suspect this has to do with default security manager setting in jserv,
but after reading several apacheJserv manuals I wasn't able to find any
suggestion on how to specify a java.policy file.

Can anyone please offer some suggestions?  Any help would be greatly
appreciated!

~Shirley

___________________________________________________________________________
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