You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Julien Boulay (JIRA)" <ji...@apache.org> on 2011/03/25 09:52:05 UTC

[jira] [Created] (CMIS-340) Add timeout to the session parameters

Add timeout to the session parameters
-------------------------------------

                 Key: CMIS-340
                 URL: https://issues.apache.org/jira/browse/CMIS-340
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-client
    Affects Versions: 0.2.0-incubating
         Environment: All
            Reporter: Julien Boulay


When the session can not be established, the SessionFactoryImpl.createSession takes a lot of time to fail.
It would be nice to be able to set a timeout for connecting the session.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CMIS-340) Add timeout to the session parameters

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller updated CMIS-340:
--------------------------------

    Fix Version/s: OpenCMIS 0.4.0
         Assignee: Florian Müller

> Add timeout to the session parameters
> -------------------------------------
>
>                 Key: CMIS-340
>                 URL: https://issues.apache.org/jira/browse/CMIS-340
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: 0.2.0-incubating
>         Environment: All
>            Reporter: Julien Boulay
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.4.0
>
>
> When the session can not be established, the SessionFactoryImpl.createSession takes a lot of time to fail.
> It would be nice to be able to set a timeout for connecting the session.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CMIS-340) Add timeout to the session parameters

Posted by "Julien Boulay (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012413#comment-13012413 ] 

Julien Boulay commented on CMIS-340:
------------------------------------

I've checked-out the trunk and the TIMEOUT settings work well.
Many thanks !

> Add timeout to the session parameters
> -------------------------------------
>
>                 Key: CMIS-340
>                 URL: https://issues.apache.org/jira/browse/CMIS-340
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: 0.2.0-incubating
>         Environment: All
>            Reporter: Julien Boulay
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.4.0
>
>
> When the session can not be established, the SessionFactoryImpl.createSession takes a lot of time to fail.
> It would be nice to be able to set a timeout for connecting the session.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CMIS-340) Add timeout to the session parameters

Posted by "Julien Boulay (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012033#comment-13012033 ] 

Julien Boulay commented on CMIS-340:
------------------------------------

Hi Florian,

Many thanks for your quick development. I have not tested your code yet as I work on 0.4.0-SNAPSHOT maven version (and not on a build from the source code).

Could you also add Proxy settings support ?

> Add timeout to the session parameters
> -------------------------------------
>
>                 Key: CMIS-340
>                 URL: https://issues.apache.org/jira/browse/CMIS-340
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: 0.2.0-incubating
>         Environment: All
>            Reporter: Julien Boulay
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.4.0
>
>
> When the session can not be established, the SessionFactoryImpl.createSession takes a lot of time to fail.
> It would be nice to be able to set a timeout for connecting the session.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CMIS-340) Add timeout to the session parameters

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-340.
---------------------------------

    Resolution: Fixed

I have added two new session parameters,
SessionParameter.CONNECT_TIMEOUT and SessionParameter.READ_TIMEOUT, which take the timeouts in milliseconds.

If that is not working for you, please reopen this issue.



> Add timeout to the session parameters
> -------------------------------------
>
>                 Key: CMIS-340
>                 URL: https://issues.apache.org/jira/browse/CMIS-340
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: 0.2.0-incubating
>         Environment: All
>            Reporter: Julien Boulay
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.4.0
>
>
> When the session can not be established, the SessionFactoryImpl.createSession takes a lot of time to fail.
> It would be nice to be able to set a timeout for connecting the session.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CMIS-340) Add timeout to the session parameters

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012035#comment-13012035 ] 

Florian Müller commented on CMIS-340:
-------------------------------------

Hi Julien,

I can also add proxy support. Please open another issue for that. Thanks.

> Add timeout to the session parameters
> -------------------------------------
>
>                 Key: CMIS-340
>                 URL: https://issues.apache.org/jira/browse/CMIS-340
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: 0.2.0-incubating
>         Environment: All
>            Reporter: Julien Boulay
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.4.0
>
>
> When the session can not be established, the SessionFactoryImpl.createSession takes a lot of time to fail.
> It would be nice to be able to set a timeout for connecting the session.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira