RE: Multithread

2004-04-07 Thread Milan Tomic
Berin, I've played a little with ThreadTest.cpp and multithreading. It seems that ThreadTest.cpp refuses to work with more than 31 thread. I've tried to implement multithread by myself and those functions returns 0 (FALSE) sometimes (for some threads): 1. CryptHashData() (WinCAPI

Re: Multithread

2004-04-07 Thread Berin Lautenbach
Milan, Just did a quick check through msdn, and it looks like (at least) the WaitForMultipleObjects() call can wait for a maximum of 64 objects. Given the number of threads created is nThreads * 2 + 1, it makes sense that anything over 31 will fail immediately, as the call will probably return

Re: Enveloped signature verification problem

2004-04-07 Thread Berin Lautenbach
Stephen, How do you create the signature? Can you put a copy of the signature to the list as a file? My mail client is chopping stuff all over the place when I try to cut and paste :<. Cheers, Berin Stephen Chell (DSL AK) wrote: Apologies for this, but I've been bashing my head agains

cvs commit: xml-security build-deprecated.xml build.xml (fwd)

2004-04-07 Thread Erwin van der Koogh
And there was much rejoice ;-) Forwarded Message Date: 07 April 2004 11:44 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: cvs commit: xml-security build-deprecated.xml build.xml blautenb2004/04/07 04:44:22 Modified:.build.xml Added:

Re: cvs commit: xml-security build-deprecated.xml build.xml (fwd)

2004-04-07 Thread Berin Lautenbach
LOL :>. Erwin van der Koogh wrote: And there was much rejoice ;-) Forwarded Message Date: 07 April 2004 11:44 + From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: cvs commit: xml-security build-deprecated.xml build.xml blautenb2004/04/07 04:44:22 Modified:

RE: Multithread

2004-04-07 Thread Milan Tomic
Berin, > On the CryptHashData piece - have you tried mutexing prior to hitting > CAPI to see if there is something their? No, I didn't. I'm not using any global variables in my code so I didn't used any mutexing. Could you please be more specific about place I should put mutex? Any small sample p

Re: Log4j configuration on Initialisation

2004-04-07 Thread trebor iksrazal
--- Jem Mawson <[EMAIL PROTECTED]> wrote: > Thanks iksrazal > > So you've reversed the problem by calling Init prior > to initialising the > correct configurator, thereby overwriting the > xml-security configuration > with your own. Is this right? More or less. I prefer to do the xml-security In

RE: Enveloped signature verification problem

2004-04-07 Thread Stephen Chell (DSL AK)
Berin, I've attached the following files: signature1.xml - contains a signature that validates successfully signature2.xml - contains a signature that does NOT validate CreateSignature1.java - class that created signature1.xml CreateSignature2.java - class that created signature2.xml VerifySigna

Re: Enveloped signature verification problem

2004-04-07 Thread Berin Lautenbach
Stephen, I had a quick look, and the reference is validating fine, but for some reason the SignedInfo is broken. I then tried to compile your sample against axis 1.2 alpha, and it compiles, but I'm getting an AbstractMethodError when I run it. It looks like the XMLSignature is calling org.ap

[GUMP@lsd]: xml-security/xml-security failed

2004-04-07 Thread Sam Ruby
To whom it may engage... This is an automated request, but not an unsolicited one. For help understanding the request please visit http://gump.apache.org/nagged.html, and/or contact [EMAIL PROTECTED] Project xml-security has an issue affecting its community integration. This issue aff

[GUMP@lsd]: xml-security/xml-security failed

2004-04-07 Thread Sam Ruby
To whom it may engage... This is an automated request, but not an unsolicited one. For help understanding the request please visit http://gump.apache.org/nagged.html, and/or contact [EMAIL PROTECTED] Project xml-security has an issue affecting its community integration. This issue aff