|
From: Patrick Y. <kc...@ce...> - 2002-11-20 02:05:49
|
Dear Sztuba, We have used Apache XML security library for handling digital signature. According to the release note of the library and our experience. You shou= ld perform two special procedures to make it works. 1. Copy a new xalan.jar to <JAVA_HOME>/jre/lib/endorsed. You may need to manually create the endorsed directory, and you may find the new xalan.ja= r in the lib directory in our Hermes distribution. 2. If you are using Windows, you should place <JAVA_HOME>/bin in the %PAT= H% environment variable. And most importantly, it should be placed IN FRONT = OF windows\system32. So, you'd better place it as the first entry. All we wa= nt to guarantee is Windows will invoke java.exe in JAVA_HOME, not in windows system32 directory. Hope this helps. Regards, -Patrick -- Patrick Yee System Architect Center for E-Commerce Infrastructure Development (CECID) Dept. of Computer Science and Information Systems The University of Hong Kong Tel: (852) 22415674 Fax: (852) 25474611 ----- Original Message ----- From: "Sztuba Miroslaw" <mi...@bs...> To: <kc...@cs...> Sent: Tuesday, November 19, 2002 8:15 PM Subject: Digital Signature problem. > > Hi, > > I'm testing digital signatures, and get a error (the same have: Gait Boxman > at mailing lists on the SourceForge.net) when sendind message from MSH > monitor or from Java code: > *******msh.log********* > hk.hku.cecid.phoenix.message.handler.HttpSender cannot send message > successfully for 2 times: > hk.hku.cecid.phoenix.message.transport.TransportException: > java.security.PrivilegedActionException: javax.xml.soap.SOAPException: = Bad > response: (409HTTP POST submitted to MessageServiceHandler failed: > MessageServiceHandlerException: Since it seems that nobody reads our > installation notes, we must do it in the exception messages. Hope you r= ead > them. You did NOT use the endorsed mechanism from JDK 1.4 properly; loo= k at > <http://xml.apache.org/security/install.html> how to solve this problem. > Original message was "try to access field > org.apache.xpath.XPathContext.m_dtmManager from class > org.apache.xml.security.transforms.implementations.FuncHereContext" > *******msh.log********* > > Best Regards. > > Miros=B3aw Sztuba > > tel. (052) 3251 347 > mailto:mi...@bs... > Bazy i Systemy Bankowe Sp. z o.o. > Bydgoszcz > > > |