[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    A BUG in JDBCContentStore for PUT method
From:       "Valeriy Podkolzin" <vpodkolzin () atg ! com>
Date:       2001-04-25 22:25:01
[Download RAW message or body]

I'm not sure if this bug was fixed.

JDBCContentStore creates a temp file to get the length of content during PUT
method.

If Slide run on Windows and the path to a resource inclides a collection
then the file system cannot create a temp file with this kind of a name:


tempFileName : test_collection/temp_res.txt-1.0
java.io.IOException: The system cannot find the path specified
        at java.io.Win32FileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1159)
        at java.io.File.createTempFile(File.java:1244)
        at java.io.File.createTempFile(File.java:1281)
        at
org.apache.slide.slidestore.reference.JDBCContentStore.storeContent(J
DBCContentStore.java:592)
        at
org.apache.slide.slidestore.reference.JDBCContentStore.createRevision
Content(JDBCContentStore.java:445)
        at
org.apache.slide.store.AbstractStore.createRevisionContent(AbstractSt
ore.java:955)
        at
org.apache.slide.store.StandardStore.createRevisionContent(StandardSt
ore.java:644)
        at org.apache.slide.content.ContentImpl.create(ContentImpl.java:501)
        at
org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.jav
a:339)

Valeriy Podkolzin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic