From: Daniel J B. <djb...@gm...> - 2007-01-25 16:23:25
|
Setting ignoreSignatureVerificationErrors has helped fix that problem cheers, I'm now getting a problem running the Java UI registry browser, I get the following error when I try and create a user. [java] ] [java] alias =testuser1 [java] 2007-01-25 16:09:43,609 INFO org.freebxml.omar.client.xml.registry.C onnectionImpl[AWT-EventQueue-0] - Set credentials on connection. [java] javax.xml.registry.RegistryException: Exception: java.lang.NoClassDe fFoundError Details: org/jcp/xml/dsig/internal/dom/DOMSubTreeData [java] at org.freebxml.omar.common.SOAPMessenger.createRegistryExceptio n(SOAPMessenger.java:365) [java] at org.freebxml.omar.common.SOAPMessenger.sendSoapRequest(SOAPMe ssenger.java:221) [java] at org.freebxml.omar.common.LifeCycleManagerSOAPProxy.submitObje cts(LifeCycleManagerSOAPProxy.java:184) [java] at org.freebxml.omar.client.xml.registry.LifeCycleManagerImpl.do SubmitObjectsRequest(LifeCycleManagerImpl.java:1528) [java] at org.freebxml.omar.client.xml.registry.LifeCycleManagerImpl.do SubmitObjectsRequestInternal(LifeCycleManagerImpl.java:1508) [java] at org.freebxml.omar.client.xml.registry.LifeCycleManagerImpl.sa veObjects(LifeCycleManagerImpl.java:1254) [java] at org.freebxml.omar.client.ui.swing.JAXRClient.saveObjects(JAXR Client.java:249) [java] at org.freebxml.omar.client.ui.swing.registration.UserManager.au thenticateAndSaveUser(UserManager.java:145) [java] at org.freebxml.omar.client.ui.swing.registration.UserRegistrati onDialog.okAction(UserRegistrationDialog.java:53) [java] at org.freebxml.omar.client.ui.swing.JBDialog$1.actionPerformed( JBDialog.java:146) [java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton .java:1849) [java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractBu tton.java:2169) [java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBut tonModel.java:420) [java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel. java:258) [java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Basi cButtonListener.java:236) [java] at java.awt.Component.processMouseEvent(Component.java:5488) [java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3126 ) [java] at java.awt.Component.processEvent(Component.java:5253) [java] at java.awt.Container.processEvent(Container.java:1966) [java] at java.awt.Component.dispatchEventImpl(Component.java:3955) [java] at java.awt.Container.dispatchEventImpl(Container.java:2024) [java] at java.awt.Component.dispatchEvent(Component.java:3803) [java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.j ava:4212) [java] at java.awt.LightweightDispatcher.processMouseEvent(Container.ja va:3892) Farrukh S. Najmi wrote: > Daniel J Bagley wrote: > >> Its compiling but I'm afraid when I run createMinDB I get the >> following error: >> > > One scenario where "verifySoapMessage failed" is seen is when client and > server are using different veersions of XWSS jars. > The fix is to make sure that client and server are using the same > version of xwss jars. A workaround is to ignore signature verification > errors > (and log or not log them) using the following proips in > omar-common.properties: > > # > # This property instructs signature verification code on how to treat > # a signature verification error. > # > # false: Do not ignore signature verification errors and throw an > # Exception if this happens (default) > # true: Ignore signature verification errors and log an error if this > # happens. This option may need to be used when XWSS libraries > # older than version 2.0 or when using mixed versions of OMAR for > # client and server. > # > org.freebxml.omar.common.security.ignoreSignatureVerificationErrors=false > > # > # This property instructs signature verification code on how to log > # a signature verification error. This setting is only used if > # ignoreSignatureVerificationErrors=true. If > ignoreSignatureVerificationErrors=false > # then an exception will be thrown and the error will always be logged > as well. > # This is useful when running in development mode. Not recommended for > production. > # > # false: Do not log signature verification errors if this happens > # true: Log signature verification errors (default) > # > org.freebxml.omar.common.security.logSignatureVerificationErrors=true > > >> I've retried the compile and deployment twice and it happens both times. >> >> loadDataTypes: >> [echo] Loading DataType taxonomy as RegistryOperator >> [java] <SOAP-ENV:Envelope >> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/e >> nvelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode >> xmlns:ns1= >> "urn:oasis:names:tc:ebxml-regrep:rs:exception">ns1:javax.xml.registry.JAXRExcept >> >> ion</faultcode><faultstring>verifySoapMessage >> failed</faultstring><detail><rs:St >> ackTrace >> xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">javax.xml.registr >> y.JAXRException: verifySoapMessage failed >> [java] at >> org.freebxml.omar.common.security.xwssec20FCS.XWSSec20SoapSec >> urityUtil.verifySoapMessage(XWSSec20SoapSecurityUtil.java:131) >> [java] at >> org.freebxml.omar.server.interfaces.soap.RegistrySOAPServlet. >> onMessage(RegistrySOAPServlet.java:166) >> [java] at >> org.freebxml.omar.server.util.SOAPSender.sendSOAPMessage(SOAP >> Sender.java:519) >> [java] at >> org.freebxml.omar.server.util.SOAPSender.send(SOAPSender.java >> :492) >> [java] at >> org.freebxml.omar.server.util.SOAPSender.main(SOAPSender.java >> :311) >> [java] Caused by: com.sun.xml.wss.XWSSecurityException: >> com.sun.xml.wss.XWS >> SecurityException: com.sun.xml.wss.impl.WssSoapFaultException: >> Signature verific >> ation failed >> [java] at >> org.freebxml.omar.common.security.xwssec20FCS.XWSSProcessorIm >> pl.verifyInboundMessage(XWSSProcessorImpl.java:121) >> [java] at >> org.freebxml.omar.common.security.xwssec20FCS.XWSSec20SoapSec >> urityUtil.verifySoapMessage(XWSSec20SoapSecurityUtil.java:125) >> [java] ... 4 more >> [java] Caused by: com.sun.xml.wss.XWSSecurityException: >> com.sun.xml.wss.imp >> l.WssSoapFaultException: Signature verification failed >> [java] at >> com.sun.xml.wss.impl.dsig.SignatureProcessor.verify(Signature >> Processor.java:478) >> [java] at >> com.sun.xml.wss.impl.filter.SignatureFilter.process(Signature >> Filter.java:344) >> [java] at >> com.sun.xml.wss.impl.HarnessUtil.processWSSPolicy(HarnessUtil >> .java:83) >> [java] at >> com.sun.xml.wss.impl.HarnessUtil.processDeep(HarnessUtil.java >> :237) >> [java] at >> com.sun.xml.wss.impl.SecurityRecipient.processMessagePolicy(S >> ecurityRecipient.java:805) >> [java] at >> com.sun.xml.wss.impl.SecurityRecipient.processMessagePolicy(S >> ecurityRecipient.java:768) >> [java] at >> com.sun.xml.wss.impl.SecurityRecipient.validateMessage(Securi >> tyRecipient.java:235) >> [java] at >> org.freebxml.omar.common.security.xwssec20FCS.XWSSProcessorIm >> pl.verifyInboundMessage(XWSSProcessorImpl.java:119) >> [java] ... 5 more >> [java] Caused by: com.sun.xml.wss.impl.WssSoapFaultException: >> Signature ver >> ification failed >> [java] at >> com.sun.xml.wss.impl.SecurableSoapMessage.newSOAPFaultExcepti >> on(SecurableSoapMessage.java:308) >> [java] at >> com.sun.xml.wss.impl.dsig.SignatureProcessor.verify(Signature >> Processor.java:401) >> [java] ... 12 more >> [java] Caused by: com.sun.xml.wss.XWSSecurityException: Signature >> verificat >> ion failed >> [java] at >> com.sun.xml.wss.impl.dsig.SignatureProcessor.verify(Signature >> Processor.java:400) >> [java] ... 12 more >> [java] >> </rs:StackTrace></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV >> :Envelope>Elapsed time in seconds: 0 >> >> Farrukh S. Najmi wrote: >> >>> Daniel J Bagley wrote: >>> >>> >>>> Yep seems to be compiling now, I thought I had changed the adapter >>>> class but obviously not. >>>> >>>> >>> So glad to hear that :-) >>> Best of luck. >>> > > > > |