jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2368) can't insert new record : no space found in the device
Date Wed, 04 Nov 2009 09:01:35 GMT

    [ https://issues.apache.org/jira/browse/JCR-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773425#action_12773425
] 

Thomas Mueller commented on JCR-2368:
-------------------------------------

I documented the problem at http://wiki.apache.org/jackrabbit/DataStore :

When adding a record, by default the stream is first copied to a temporary file. If you get
the exception "Can not insert new record java.io.IOException: No space left on device" that
means your temporary directory is too small. The reason for the temp file is: most databases
need to know the stream size when adding a record, and the JCR API doesn't provide a way to
do that. The mechanism used to add a record depends on the property "storeStream" in resource
org/apache/jackrabbit/core/data/db/<databaseType>.properties. Implemented mechanisms
are: "tempFile" (default; create a temp file before adding a record), "-1" (use the length
-1 when adding the record; currently only supported by the H2 database), and "max" (use the
length Integer.MAX_VALUE).


> can't insert new record : no space found in the device
> ------------------------------------------------------
>
>                 Key: JCR-2368
>                 URL: https://issues.apache.org/jira/browse/JCR-2368
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>         Environment: Windows / Oracle
>            Reporter: premkumar
>            Priority: Critical
>         Attachments: repository.xml
>
>
> I'm often getting "can't insert new record : no space found in the device" exception
while trying to save the file in repository. But If  I save the save file after some time
Its getting saved.
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message