Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
WebDAV, DefaultServlet, and Permissions

WebDAV, DefaultServlet, and Permissions

2007-08-09       - By Robert J. Carr

 Back
I'm using the WebDAV servlet in tomcat 5.5.22 and I'm having some
issues that I was hoping I could get sorted out.  First of all, I'm
seeing reams and reams of these in the logs:

Aug 8, 2007 5:15:30 PM org.apache.catalina.core.ApplicationContext log
INFO: webdav: DefaultServlet.doPut: couldn't delete temporary file: null

They seem to happen on every access ... lists, puts, etc.  Ideas?  Are
they benign and should I just turn down the log level?

The second problem is much more involved, so please bear with me.  I
have started tomcat as myself, say 'jack'.  The user 'jack' is a
memeber of the group 'hill'.  The user 'jill' is also a member of the
group 'hill'.  In web.xml I have specified a dav folder of /webdav.
That folder is owned by 'jack' and group writable by 'hill' (755).
Inside of /webdav I have two folders:

drwxrwxr-x  2 jack hill  4096 Aug  1 14:01 f1
drwxrwxr-x  2 jill hill 69632 Aug  8 17:15 f2

As user 'jack', on the server, I can create (or touch) a file in both
folders 'f1' and 'f2'.  If I remotely mount the file system with
WebDAV, I can also write to the folder 'f1', but now I can't write to
'f2'.  Mounting with Finder on Mac gives me a strange (and incorrect)
error (talking about filenames being to long), and using sitecopy I
get a 409 (conflict) error.

I understand that Java doesn't deal with permissions, but shouldn't it
just try to write the file and respond to what the OS tells it can be
done?  Or is something else going on?  Are my two problems related?
Is this a problem in DefaultServlet in general?

Thanks for taking a look!

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.