You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2006/12/07 11:52:24 UTC

[jira] Created: (JCR-665) RMI: Property.getValue() fails with EOFException after many reads

RMI: Property.getValue() fails with EOFException after many reads
-----------------------------------------------------------------

                 Key: JCR-665
                 URL: http://issues.apache.org/jira/browse/JCR-665
             Project: Jackrabbit
          Issue Type: Bug
          Components: rmi
            Reporter: Tobias Bocanegra


When reading binary properties via RMI it can happen that it fails throwing an EOFException. This is caused by a server sided "Too many open files" bacause BinaryValue.writeObject() does not close the underlying value InputStream.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (JCR-665) RMI: Property.getValue() fails with EOFException after many reads

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

Jukka Zitting closed JCR-665.
-----------------------------


> RMI: Property.getValue() fails with EOFException after many reads
> -----------------------------------------------------------------
>
>                 Key: JCR-665
>                 URL: https://issues.apache.org/jira/browse/JCR-665
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: rmi
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>             Fix For: 1.2.1
>
>
> When reading binary properties via RMI it can happen that it fails throwing an EOFException. This is caused by a server sided "Too many open files" bacause BinaryValue.writeObject() does not close the underlying value InputStream.

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


[jira] Assigned: (JCR-665) RMI: Property.getValue() fails with EOFException after many reads

Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-665?page=all ]

Tobias Bocanegra reassigned JCR-665:
------------------------------------

    Assignee: Tobias Bocanegra

> RMI: Property.getValue() fails with EOFException after many reads
> -----------------------------------------------------------------
>
>                 Key: JCR-665
>                 URL: http://issues.apache.org/jira/browse/JCR-665
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: rmi
>            Reporter: Tobias Bocanegra
>         Assigned To: Tobias Bocanegra
>
> When reading binary properties via RMI it can happen that it fails throwing an EOFException. This is caused by a server sided "Too many open files" bacause BinaryValue.writeObject() does not close the underlying value InputStream.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (JCR-665) RMI: Property.getValue() fails with EOFException after many reads

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

Jukka Zitting reopened JCR-665:
-------------------------------


> RMI: Property.getValue() fails with EOFException after many reads
> -----------------------------------------------------------------
>
>                 Key: JCR-665
>                 URL: https://issues.apache.org/jira/browse/JCR-665
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: rmi
>            Reporter: Tobias Bocanegra
>         Assigned To: Tobias Bocanegra
>             Fix For: 1.2.1
>
>
> When reading binary properties via RMI it can happen that it fails throwing an EOFException. This is caused by a server sided "Too many open files" bacause BinaryValue.writeObject() does not close the underlying value InputStream.

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


[jira] Commented: (JCR-665) RMI: Property.getValue() fails with EOFException after many reads

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-665?page=comments#action_12456373 ] 
            
Jukka Zitting commented on JCR-665:
-----------------------------------

Ah, correct! Thanks for the fix.

In fact I should probaly look at refactoring the entire BinaryValue implementation in JCR-RMI, as the current implementation gets the stream consumed when the instance is serialized. For now it's no problem since the Value instance is only used for a single serialization, but this might turn out to cause trouble later on.

PS. When resolving issues, please only "Resolve" it and do not "Close" it. This makes it possible to edit the issue metadata when preparing a release (for example I'd set the fields for versions affected and fixed). The issue should only be "Closed" when it goes out in an official release to signify that there will be no more changes to that issue. See my recent Jira guidelines message to dev@.


> RMI: Property.getValue() fails with EOFException after many reads
> -----------------------------------------------------------------
>
>                 Key: JCR-665
>                 URL: http://issues.apache.org/jira/browse/JCR-665
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: rmi
>            Reporter: Tobias Bocanegra
>         Assigned To: Tobias Bocanegra
>
> When reading binary properties via RMI it can happen that it fails throwing an EOFException. This is caused by a server sided "Too many open files" bacause BinaryValue.writeObject() does not close the underlying value InputStream.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (JCR-665) RMI: Property.getValue() fails with EOFException after many reads

Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-665?page=all ]

Tobias Bocanegra closed JCR-665.
--------------------------------

    Resolution: Fixed

fixed.

Committed revision 483415.


> RMI: Property.getValue() fails with EOFException after many reads
> -----------------------------------------------------------------
>
>                 Key: JCR-665
>                 URL: http://issues.apache.org/jira/browse/JCR-665
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: rmi
>            Reporter: Tobias Bocanegra
>         Assigned To: Tobias Bocanegra
>
> When reading binary properties via RMI it can happen that it fails throwing an EOFException. This is caused by a server sided "Too many open files" bacause BinaryValue.writeObject() does not close the underlying value InputStream.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (JCR-665) RMI: Property.getValue() fails with EOFException after many reads

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

Jukka Zitting resolved JCR-665.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.1

> RMI: Property.getValue() fails with EOFException after many reads
> -----------------------------------------------------------------
>
>                 Key: JCR-665
>                 URL: https://issues.apache.org/jira/browse/JCR-665
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: rmi
>            Reporter: Tobias Bocanegra
>         Assigned To: Tobias Bocanegra
>             Fix For: 1.2.1
>
>
> When reading binary properties via RMI it can happen that it fails throwing an EOFException. This is caused by a server sided "Too many open files" bacause BinaryValue.writeObject() does not close the underlying value InputStream.

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