You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "Maxime THOMAS - Wascou.org (JIRA)" <ji...@apache.org> on 2011/08/06 08:23:27 UTC
[jira] [Created] (ZETACOMP-89) Connection is loosed when putting
the handler in session
Connection is loosed when putting the handler in session
--------------------------------------------------------
Key: ZETACOMP-89
URL: https://issues.apache.org/jira/browse/ZETACOMP-89
Project: Zeta Components
Issue Type: Bug
Components: Search
Reporter: Maxime THOMAS - Wascou.org
I've made a script that use ezcSearchSolr, I can create the search sessionand do request.
$this->session = new ezcSearchSession(
new ezcSearchSolrHandler($domain, $port , $uri."/".$location),
new ezcSearchEmbeddedManager()
);
When I put this search session inside the PHP session, I can do the first request and after that the $this->session->handler->connection is null.
If you reinit the session at each time, it will work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZETACOMP-89) Connection is lost when putting the
handler in session
Posted by "Maxime THOMAS - Wascou.org (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZETACOMP-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxime THOMAS - Wascou.org updated ZETACOMP-89:
-----------------------------------------------
Summary: Connection is lost when putting the handler in session (was: Connection is loosed when putting the handler in session)
> Connection is lost when putting the handler in session
> ------------------------------------------------------
>
> Key: ZETACOMP-89
> URL: https://issues.apache.org/jira/browse/ZETACOMP-89
> Project: Zeta Components
> Issue Type: Bug
> Components: Search
> Reporter: Maxime THOMAS - Wascou.org
> Labels: persistent, search, session
>
> I've made a script that use ezcSearchSolr, I can create the search sessionand do request.
> $this->session = new ezcSearchSession(
> new ezcSearchSolrHandler($domain, $port , $uri."/".$location),
> new ezcSearchEmbeddedManager()
> );
> When I put this search session inside the PHP session, I can do the first request and after that the $this->session->handler->connection is null.
> If you reinit the session at each time, it will work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZETACOMP-89) Connection is lost when putting
the handler in session
Posted by "Derick Rethans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZETACOMP-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080838#comment-13080838 ]
Derick Rethans commented on ZETACOMP-89:
----------------------------------------
If you add a destructor to the same class where you do $this->session, does it get hit? Put this in the destructor, and see how often it runs:
function __destruct() {
var_dump($this->session);
}
> Connection is lost when putting the handler in session
> ------------------------------------------------------
>
> Key: ZETACOMP-89
> URL: https://issues.apache.org/jira/browse/ZETACOMP-89
> Project: Zeta Components
> Issue Type: Bug
> Components: Search
> Reporter: Maxime THOMAS - Wascou.org
> Labels: persistent, search, session
>
> I've made a script that use ezcSearchSolr, I can create the search sessionand do request.
> $this->session = new ezcSearchSession(
> new ezcSearchSolrHandler($domain, $port , $uri."/".$location),
> new ezcSearchEmbeddedManager()
> );
> When I put this search session inside the PHP session, I can do the first request and after that the $this->session->handler->connection is null.
> If you reinit the session at each time, it will work.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira