As far as I know the whole purpose of TSS layer is to provide concurrency, so 
from what you describe it sounds like a bug in trousers.

Do you by any chance use Tspi_Key_UnloadKey() function in your code? If so, 
then I may have few ideas.

----- Original Message -----
> From: "Ceri Coburn" <[email protected]>
> To: "trousers-users" <[email protected]>
> Sent: Tuesday, April 29, 2014 11:08:29 AM
> Subject: [TrouSerS-users] Multiple context across multiple applications issue
> 
> Hi All,
> 
> Are the any restrictions with running multiple applications with
> multiple contexts accessing the same key?
> 
> I have multiple applications accessing context's that are
> simultaneously loading the same keys from the persistent store.  When
> they are both running I get an error loading keys with an error
> TPM_INVALID_KEYHANDLE.   I am currently running trousers 0.3.7
> (Ubuntu
> 12.04 package) and also confirmed the same issue on Ubuntu 14.04
> (0.3.11).
> 
> It always seems the second application is the one that has problems
> loading the key.
> 
> Anyone know if this is by design or could it be cause by another
> issue?
> 
> Thanks
> 
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For
> FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.  Get
> unparalleled scalability from the best Selenium testing platform
> available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> TrouSerS-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/trousers-users
> 

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to