Hi!!!
I´m developing an AXIS2/Rampart secure Web Service and I have an issue that I 
can´t resolve. 

Several methods of my web service modiify the keystore of the server (adding or 
removing certificates). When several clients are calling these methods, and 
accesing concurrently to the same file (the keystore) I have I/O problems 
because of the concurrent access to the file.
I had problems with this when I tested the Web Service with multiple clients, 
but I fixed part of the problem defiining this methods as Synchronized, so only 
one method can modify the keystore in a time.

The problem is when Rampart is doing its work and encrypting/decriptyng SOAP 
messages and so, accesing the keystore, so, I still have the I/O problem but 
this time when Rampart tries to load the keystore.

Is there any way of add/remove certificates from a keystore with Rampart or can 
a keystore in Rampart  be modified dinamically?

Any suggestions will be considered.

Thanks a lot!!!

Alberto Olmo
University of Zaragoza





Reply via email to