Re: debugging

2010-01-11 Thread Sean Mullan
o:sean.mul...@sun.com] Sent: Monday, January 11, 2010 8:47 PM To: security-dev@xml.apache.org Subject: Re: debugging Are you using the JSR 105 API and JDK 6? If you are, it could be using the XML Security implementation bundled with JDK 6. This uses a different logging mechanism (JDK logging). If so

RE: debugging

2010-01-11 Thread Bolcina Ivan
n.com [mailto:sean.mul...@sun.com] Sent: Monday, January 11, 2010 8:47 PM To: security-dev@xml.apache.org Subject: Re: debugging Are you using the JSR 105 API and JDK 6? If you are, it could be using the XML Security implementation bundled with JDK 6. This uses a different logging mechanism (JDK logging).

Re: debugging

2010-01-11 Thread Sean Mullan
n and then I started my app.like -Original Message- From: sean.mul...@sun.com [mailto:sean.mul...@sun.com] Sent: Monday, January 11, 2010 5:10 PM To: security-dev@xml.apache.org Subject: Re: debugging Look at src/org/apache/xml/security/resource/log4j.properties in the source tree. Ch

RE: debugging

2010-01-11 Thread Bolcina Ivan
sean.mul...@sun.com [mailto:sean.mul...@sun.com] Sent: Monday, January 11, 2010 5:10 PM To: security-dev@xml.apache.org Subject: Re: debugging Look at src/org/apache/xml/security/resource/log4j.properties in the source tree. Change these lines to print debug messages on Console: log4j.logger.org.apache.xml.sec

Re: debugging

2010-01-11 Thread Sean Mullan
properties? BR,ivan -Original Message- From: sean.mul...@sun.com [mailto:sean.mul...@sun.com] Sent: Wednesday, January 06, 2010 3:27 PM To: security-dev@xml.apache.org Subject: Re: debugging Bolcina Ivan wrote: Hi. How to enable debuging messages. I looked at log4j.log and it seem

RE: debugging

2010-01-09 Thread Bolcina Ivan
ation files/startup properties? BR,ivan -Original Message- From: sean.mul...@sun.com [mailto:sean.mul...@sun.com] Sent: Wednesday, January 06, 2010 3:27 PM To: security-dev@xml.apache.org Subject: Re: debugging Bolcina Ivan wrote: > Hi. > > > > How to enable debuging m

Re: debugging

2010-01-06 Thread Sean Mullan
Bolcina Ivan wrote: Hi. How to enable debuging messages. I looked at log4j.log and it seems fine, but no debug messages are printed out to console? See: http://commons.apache.org/logging/guide.html#Configuration --Sean

debugging

2010-01-06 Thread Bolcina Ivan
Hi. How to enable debuging messages. I looked at log4j.log and it seems fine, but no debug messages are printed out to console? Thanks, Ivan

Re: XML Signature debugging

2008-03-31 Thread Sean Mullan
Wally Dennis wrote: Thanks Sean - since I am a bit new to this, would I create the RFE in bugzilla? Yes, just goto https://issues.apache.org/bugzilla/index.cgi and select "Enter a new bug report" and file it under the security category. You will need to first create a bugzilla account if

Re: XML Signature debugging

2008-03-31 Thread Wally Dennis
to security-dev@xml.apache.org To security-dev@xml.apache.org cc Subject Re: XML Signature debugging Wally Dennis wrote: > > Thank you very much for the quick responses. > > No - I'm not getting any messages at all from the XML Security code. It > appears as though the

Re: XML Signature debugging

2008-03-31 Thread Sean Mullan
Wally Dennis wrote: Thank you very much for the quick responses. No - I'm not getting any messages at all from the XML Security code. It appears as though the logging statements that exist in the JSR 105 version do not exist in the Apache API. Yes, the JSR 105 code path has more extens

Re: XML Signature debugging

2008-03-28 Thread Wally Dennis
3/28/2008 03:34 PM Please respond to security-dev@xml.apache.org To security-dev@xml.apache.org cc Subject Re: XML Signature debugging Wally Dennis wrote: > > Update: > > I decided to try to enable the JDK Logging facility to run in parallel > with Log4j, since in theo

Re: XML Signature debugging

2008-03-28 Thread Sean Mullan
Wally Dennis wrote: Update: I decided to try to enable the JDK Logging facility to run in parallel with Log4j, since in theory there should be no conflicts. However, when I follow the instructions contained in the blog postings for how to configure the logging, I still do not get any output

Re: XML Signature debugging

2008-03-28 Thread Sean Mullan
It should work. Try: java -Djava.util.logging.config.file=logging.properties ... where logging.properties contains: handlers= java.util.logging.ConsoleHandler .level= INFO java.util.logging.ConsoleHandler.level = FINER java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormat

Re: XML Signature debugging

2008-03-28 Thread Wally Dennis
ty-dev@xml.apache.org cc Subject XML Signature debugging I am trying to enable debug logging on XML Signature creation/validation - I have read Sean's blog entries here: http://weblogs.java.net/blog/mullan/archive/2006/02/more_xml_signat_1.html http://weblogs.java.net/blog/mullan/arch

XML Signature debugging

2008-03-28 Thread Wally Dennis
I am trying to enable debug logging on XML Signature creation/validation - I have read Sean's blog entries here: http://weblogs.java.net/blog/mullan/archive/2006/02/more_xml_signat_1.html http://weblogs.java.net/blog/mullan/archive/2008/03/configuring_the.html#comment s and these do describe th

RE: Memory leaks (debugging)

2004-03-30 Thread Milan Tomic
Yes, that's it. No memory leaks there any more, but few others persists. Best regards, Milan > -Original Message- > From: Berin Lautenbach [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 30, 2004 12:57 PM > To: [EMAIL PROTECTED] > Subject: Re: Mem

Re: Memory leaks (debugging)

2004-03-30 Thread Berin Lautenbach
Milan, This time I can't explain it. Can you add : m_X509List.push_back(h); immediately after the XSECnew(...)? That will add it to the internal list of certificates, which will also ensure it gets deleted when the KeyInfo is deleted. Cheers, Berin Milan Tomic wrote: Berin,

Memory leaks (debugging)

2004-03-30 Thread Milan Tomic
Title: Memory leaks (debugging) Berin,     I'm still trying to discover source of memory leaks I'm expiriencing. Please, could you explain to me what this peace of code means: DSIGKeyInfoX509::appendX509Certificate() { ... ... //more code here ... X509Holder * h;

Re: Debugging XSecurity classes

2004-02-24 Thread Berin Lautenbach
Andrew, Fix is in CVS. With thanks! Cheers, Berin Berin Lautenbach wrote: Andrew, DSIGREference::createBlankReference executes ret->setAttribute(MAKE_UNICODE_STRING("type"),with a lower case 't' on "type". Ouch. You are absolutely correct - this should be an upper case 'T'. I will

Re: Debugging XSecurity classes

2004-02-23 Thread Berin Lautenbach
Andrew, > DSIGREference::createBlankReference executes > ret->setAttribute(MAKE_UNICODE_STRING("type"),with a lower case 't' on > "type". Ouch. You are absolutely correct - this should be an upper case 'T'. I will check a fix into CVS tonight. > Being a newbie, is this the proper way to report

Re: Debugging XSecurity classes

2004-02-23 Thread Andrew
I figured out my debugging problem and what I discovered I believe is a bug in the XSec DSIGReference.cpp Here is the situation: DSIGREference::createBlankReference executes ret->setAttribute(MAKE_UNICODE_STRING("type"),with a lower case 't' on "type". Howev

Debugging XSecurity classes

2004-02-23 Thread Andrew
rkspace but that doesn't help either. If anyone could shed some light ont his for me and offer other debugging methods that would be great. Thanks in advance Andrew