From: Farrukh N. <fa...@we...> - 2007-12-17 14:58:03
|
kiwi wrote: > Hi, thanks for reply. When I use JDK1.5, I had no encounter any problem, > when I use JDK 1.6, I cannot build it successfully. > Here my environment: > > -Window XP > -JDK jre1.6.0_03 > -JRE 1.6.0_10-ea > > Here the steps I use: > > 1) download omar and unzip it. > 2) cmd> build (got all the class, and I got a lot of warning something like > this, if using JDK 1.5, I got no warning.) > > [javac] > C:\omar-3.1\omar\test\org\freebxml\omar\server\lcm\XMLCatalogingTest.java:17 > 2: warning: sun.security.x509.CertAndKeyGen is Sun proprietary API and may > be removed in a future release > [javac] CertAndKeyGen certandkeygen = new CertAndKeyGen("DSA", > "SHA1 WithDSA"); > [javac] Above is likely benign and can be ignored for now. > ^ > > 3) cmd> build genKeys (get all keys) > 4) cmd> build createMinDB > > Got exception like this (local call is true, no tomcat need to start, so I > assume maybe the exception reflect the incorrect message): > > i18n.minDB: > [mkdir] Created dir: C:\omar-3.1\omar\build\samples\minDB > [copy] Copying 6 files to C:\omar-3.1\omar\build\samples\minDB > > loadDataTypes: > [echo] Loading DataType taxonomy as RegistryOperator > [java] Exception connecting to URL: > http://localhost:8080/omar/registry/soa > p > [java] Exception: javax.xml.registry.JAXRException: signSoapMessage > failed > [java] javax.xml.registry.JAXRException: signSoapMessage failed > [java] at > org.freebxml.omar.common.security.xwssec20.XWSSec20SoapSecuri > tyUtil.signSoapMessage(XWSSec20SoapSecurityUtil.java:81) > [java] at > org.freebxml.omar.server.util.SOAPSender.createSOAPMessage(SO > APSender.java:462) > [java] at > org.freebxml.omar.server.util.SOAPSender.send(SOAPSender.java > :490) > [java] at > org.freebxml.omar.server.util.SOAPSender.main(SOAPSender.java > :311) > > Can you look for any warning or error messages related to xwss in the server log? I think the issue may have something to do with xwss version mismatch. Since xwss versions had backward compatibility problems we had to design adpater for specific versions. omar must be configured with correct adpater and compatible xwss jar file. I have put some tentative steps (untested) in wiki here. Please see if that helps: http://ebxmlrr.sourceforge.net/wiki/index.php/Install#Using_JDK_6 Thanks. |