You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "premkumar (JIRA)" <ji...@apache.org> on 2009/10/28 17:21:59 UTC

[jira] Created: (JCR-2368) can't insert new record : no space found in the device

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


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.


[jira] Commented: (JCR-2368) can't insert new record : no space found in the device

Posted by "premkumar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773415#action_12773415 ] 

premkumar commented on JCR-2368:
--------------------------------

sorry for the delayed reply. Here is the error log. And attached the repository.xml

[11/4/09 2:35:49:858 EST] 00000043 SystemOut     O INFO > 
[11/4/09 2:35:49:915 EST] 00000043 SystemOut     O WARN > org.apache.jackrabbit.core.data.db.DbDataStore[WebContainer : 1]: Can not insert new record
java.io.IOException: No space left on device
        at java.io.FileOutputStream.writeBytes(Native Method)
        at java.io.FileOutputStream.write(FileOutputStream.java:260)
        at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1026)
        at org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
        at org.apache.jackrabbit.core.data.db.TempFileInputStream.writeToFileAndClose(TempFileInputStream.java:48)
        at org.apache.jackrabbit.core.data.db.DbDataStore.moveToTempFile(DbDataStore.java:405)
        at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:332)
        at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120)
        at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:642)
        at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:125)
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:634)
        at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:549)
        at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2437)
        at com.ssc.soareg.jackrabbit.ContentRepository.saveFile(ContentRepository.java:293)
        at com.ssc.soareg.jaxr.registry.client.infomodel.ServiceImpl.addExtrinsicObject(ServiceImpl.java:319)
        at com.ssc.soareg.governance.client.SOALifeCycleManagerImpl.saveBusinessServices(SOALifeCycleManagerImpl.java:389)
        at com.ssc.soareg.registry.server.UploadServlet.service(UploadServlet.java:473)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1075)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:550)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)


> 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.


[jira] Updated: (JCR-2368) can't insert new record : no space found in the device

Posted by "premkumar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

premkumar updated JCR-2368:
---------------------------

    Attachment: repository.xml

> 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.


[jira] Commented: (JCR-2368) can't insert new record : no space found in the device

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (JCR-2368) can't insert new record : no space found in the device

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg resolved JCR-2368.
------------------------------------

    Resolution: Incomplete

you'll have to be a bit more specific. 

please provide your error log containing the error msg and stack trace.
please also provide detailed information about your environment and
configuration (repository.xml) .

> 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
>
> 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.


[jira] Closed: (JCR-2368) can't insert new record : no space found in the device

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting closed JCR-2368.
------------------------------


> 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.