Arnab,

There were substantial changes in 2.15/2.17 for session layers.
And huge refactoring too.
It can take long time to port it.

OpenHPI base library reopens connection the daemon automatically and  
transparently.
After reconnection it uses the same session id that it used before.
So for the case with restarted daemon it can create INVALID_SESSION error.

        Anton Pak

On Thu, 21 Jul 2011 09:47:14 +0400, <[email protected]> wrote:

> Hi Anton/Mohan,
>
> I wanted to know which part of the code in openhpi version 2.12 has a  
> issue. And
> how it is resolved in openhpi version 2.17.
>
> For me it is not possible to start using 2.17 directly, there is lots of  
> other
> dependencies. If you can point me out the
>
> the code in openhpi 2.17 that could solve my issue, then I will port  
> that fix to
> 2.12 and try to check whether it can resolve the issue.
>
> Arnab Ghosh
> Tata Consultancy Services
> Synergy Park Unit 3 - ODC3,
> Premises No.2-56/1/36, Survey No.26,
> Gachibowli, Serilingampally Mandal, R R District
> Hyderabad - 500 019,Andhra Pradesh
> India
> Cell:- 9863985078
>
> Mailto: [email protected]
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Outsourcing
> ____________________________________________
>
> -----"Anton Pak" wrote: -----
>
> To: [email protected], [email protected]
> From: "Anton Pak" <[email protected]>
> Date: 07/20/2011 01:22AM
> Subject: Re: [Openhpi-devel] (no subject)
>
> Hi Arnab,
>
> Agree with Mohan, 2.12 is very old horse.
>
> However I think there can be the flaw in session layer when the daemon is
> restarted.
> Could you insert some debug printings (tracing saHpiXXX calls) in your
> application and try it with 2.16/2.17?
>
>               Anton Pak
>
> On Tue, 19 Jul 2011 11:03:09 +0400, <[email protected]> wrote:
>
>> Hi,
>>
>> We are facing one issue in openHPI-2.12.0 version, the details are given
>> below
>>
>> We have applications which opens session to openhpi daemon with the help
>> of
>> openhpiclient.conf file. Sessions are opened successfully.
>>
>> Next if we kill the openhpi daemon and then restarts it, our application
>> is able
>> to open session. But when we make a saphiEventget call with the new
>> session, it
>> keeps returning INVALID_SESSION repeatedly. On getting INVALID_SESSION  
>> as
>> response, we close the session and open/subscribe the session, but still
>> it
>> throws INVALID session everytime.
>>
>> This happens frequently when two or more application tries to open the
>> session,
>> after the existing session is broken.
>>
>> But if we restart the applications, we don't see any issues.
>>
>> Could you please help us in this regard?
>>
>> Thanks in advance.
>>
>> Arnab Ghosh
>> Tata Consultancy Services
>> Synergy Park Unit 3 - ODC3,
>> Premises No.2-56/1/36, Survey No.26,
>> Gachibowli, Serilingampally Mandal, R R District
>> Hyderabad - 500 019,Andhra Pradesh
>> India
>> Cell:- 9619590922
>> Mailto: [email protected]
>> Website: http://www.tcs.com
>> ____________________________________________
>> Experience certainty. IT Services
>> Business Solutions
>> Outsourcing
>> ____________________________________________
>>
>> =====-----=====-----=====
>> Notice: The information contained in this e-mail
>> message and/or attachments to it may contain
>> confidential or privileged information. If you are
>> not the intended recipient, any dissemination, use,
>> review, distribution, printing or copying of the
>> information contained in this e-mail message
>> and/or attachments to it are strictly prohibited. If
>> you have received this communication in error,
>> please notify us by reply e-mail or telephone and
>> immediately and permanently delete the message
>> and any attachments. Thank you
>>

------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to