From: Wes K. <wk...@ga...> - 2002-07-26 22:36:26
|
Farrukh. Yes, tomcat is up running and the app is ok (checked in browser). I actually went through all the steps again starting from scratch...and the only place it bombed was on "build test". xalan.jar (879 KB) is in all the right locations (plus overkill): c:\java\ebxmlrr\build\lib c:\java\ebxmlrr\misc\lin c:\java\j2sdk14\jre\lib\endorsed c:\java\jakarta-tomcat-4.0.4\webapps\ebxmlrr\WEB-INF\lib c:\java\jakarta-tomcat-4.0.4\common\endorsed Here is the entire contents of the response.xml: Wes <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-SEC="http://schemas.xmlsoap.org/soap/security/2000-12" soap-env:actor="some-uri" soap-env:mustUnderstand="1"> <soap-env:Header/> <soap-env:Body SOAP-SEC:id="Body"> <RegistryResponse status="Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:registry:xsd:2.1"> <RegistryErrorList> <RegistryError codeContext="RegistryJAXMServlet" errorCode="Unknown" severity="Error">com.sun.ebxml.registry.RegistryException at com.sun.ebxml.registry.util.Utility.verifyXMLSignature(Utility.java:107) at com.sun.ebxml.registry.interfaces.soap.RegistryJAXMServlet.onMessage(Registr yJAXMServlet.java:121) at javax.xml.messaging.JAXMServlet.doPost(Unknown Source) at com.sun.ebxml.registry.interfaces.soap.RegistryJAXMServlet.doPost(RegistryJA XMServlet.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) Nested exception was: java.lang.NullPointerException at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM$defaultNamespaceDeclarationNode.getOw nerDocument(DOM2DTM.java:1722) at org.apache.xml.security.utils.XMLUtils.getOwnerDocument(XMLUtils.java:912) at org.apache.xml.security.signature.XMLSignatureInput.getOctetStream(XMLSignat ureInput.java:388) at org.apache.xml.security.signature.XMLSignatureInput.getBytes(XMLSignatureInp ut.java:420) at org.apache.xml.security.signature.Reference.getReferencedBytes(Reference.jav a:1177) at org.apache.xml.security.signature.Reference.calculateDigest(Reference.java:1 227) at org.apache.xml.security.signature.Reference.verify(Reference.java:1315) at org.apache.xml.security.signature.Manifest.verifyReferences(Manifest.java:70 7) at org.apache.xml.security.signature.SignedInfo.verify(SignedInfo.java:473) at org.apache.xml.security.signature.XMLSignature.checkSignatureValue(XMLSignat ure.java:685) at com.sun.ebxml.registry.util.Utility.verifyXMLSignature(Utility.java:90) at com.sun.ebxml.registry.interfaces.soap.RegistryJAXMServlet.onMessage(Registr yJAXMServlet.java:121) at javax.xml.messaging.JAXMServlet.doPost(Unknown Source) at com.sun.ebxml.registry.interfaces.soap.RegistryJAXMServlet.doPost(RegistryJA XMServlet.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:536) </RegistryError> </RegistryErrorList> </RegistryResponse> </soap-env:Body> </soap-env:Envelope> -----Original Message----- From: Farrukh Najmi [mailto:Farrukh.Najmi@Sun.COM] Sent: Friday, July 26, 2002 1:15 PM To: Wes Kubo Cc: ebx...@li... Subject: Re: FW: [Ebxmlrr-tech] Install (src) problem Wes, Did you shutdown and restart Tomcat after that? Just checking since it is a common mistake that I have made in the past. Wes Kubo wrote: > Yes...the version of xalan.jar included with ebxmlrr was copied into > <JAVA_HOME>/jre/lib/endorsed. > > -----Original Message----- > From: ebx...@li... > [mailto:ebx...@li...]On Behalf Of Edwin Goei > Sent: Friday, July 26, 2002 12:21 PM > To: Wes Kubo > Cc: ebx...@li... > Subject: Re: FW: [Ebxmlrr-tech] Install (src) problem > > Wes Kubo wrote: > > My bad. Meant to send to all. Here goes: > > > > I was a little confused I think as to how TCPTunnel works, I didn't > realize > > it actually had to capture and forward the request onwards (2020 to 8080) > to > > capture its content. Anyways, I got through that and had two Exceptions > > related to missing classes (one related to dom4j, the next to logging), > that > > were thr root cause of the "content-type" problem. I went ahead and copied > > dom4j.jar and commons-logging.jar to <TOMCAT_HOME>/common/lib and those > > errors went away. I'm now getting a valid SOAP response, but unforunately > > the status of the RegistryResponse is "Failure" (content from TCP Tunnel > > follows). This looks like similar to the exception that I first had > related > > to xalan.jar. > > It looks like you are running Tomcat w/ JDK 1.4. Did you perform the > part in red on http://ebxmlrr.sourceforge.net/setup.html? > > -Edwin > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Ebxmlrr-tech mailing list > Ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlrr-tech > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Ebxmlrr-tech mailing list > Ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlrr-tech -- Regards, Farrukh |