From: Wes K. <wk...@ga...> - 2002-07-26 15:31:39
|
Farrukh. Mistakenly sent this to the wrong mail first time. Anyways, sorry but I didn't realize that the location of the xalan.jar had to be exactly as listed. Anways, I now have a new problem for which I couldn't find any info. This really isn't a problem with your product but I thought that you might have some advice? When I run <build test>, this is the result that I get (below). Some problem with the content type and/or "Unable to internalize message". From what I've read, it may be a problem with mail.jar. I made sure that I replaced all copies of mail.jar with your included version and still no dice. Also I checked and the serlvet is up and running in tomcat so it should technically return a valid response. Thanks...almost there. Wes test: [java] javax.xml.soap.SOAPException: Invalid Content-Type:text/html [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159) [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:91) [java] at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryIm pl.java:32) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec tion. java:333) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run (Http SOAPConnection.java:142) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion. java:115) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.sendSOAPMessage(SOAPSender .java :442) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.send(SOAPSender.java:417) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.main(SOAPSender.java:265) [java] javax.xml.soap.SOAPException: Unable to internalize message [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) [java] at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryIm pl.java:32) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec tion. java:333) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run (Http SOAPConnection.java:142) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion. java:115) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.sendSOAPMessage(SOAPSender .java :442) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.send(SOAPSender.java:417) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.main(SOAPSender.java:265) [java] Caused by: javax.xml.soap.SOAPException: Invalid Content-Type:text/html [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159) [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:91) [java] ... 8 more [java] java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to internalize message [java] at java.security.AccessController.doPrivileged(Native Method) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion.java:115) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.sendSOAPMessage(SOAPSender .java:442) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.send(SOAPSender.java:417) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.main(SOAPSender.java:265) [java] Caused by: javax.xml.soap.SOAPException: Unable to internalize message [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) [java] at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryImpl.java:32) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec tion.java:333) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run (HttpSOAPConnection.java:142) [java] ... 5 more [java] Caused by: javax.xml.soap.SOAPException: Invalid Content-Type:text/html [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159) [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:91) [java] ... 8 more [java] javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to internalize message [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion.java:121) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.sendSOAPMessage(SOAPSender .java:442) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.send(SOAPSender.java:417) [java] at com.sun.ebxml.registry.interfaces.soap.SOAPSender.main(SOAPSender.java:265) [java] Caused by: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Unable to internalize message [java] at java.security.AccessController.doPrivileged(Native Method) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec tion.java:115) [java] ... 3 more [java] Caused by: javax.xml.soap.SOAPException: Unable to internalize message [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) [java] at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact oryImpl.java:32) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec tion.java:333) [java] at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run (HttpSOAPConnection.java:142) [java] ... 5 more [java] Caused by: javax.xml.soap.SOAPException: Invalid Content-Type:text/html [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159) [java] at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:91) [java] ... 8 mor -----Original Message----- From: ebx...@li... [mailto:ebx...@li...]On Behalf Of Farrukh Najmi Sent: Thursday, July 25, 2002 1:17 PM To: Wes Kubo Cc: ebx...@li... Subject: Re: [Ebxmlrr-tech] Install (src) problem Hi Wes, Welcome to the ebxmlrr-tech forum. Fortunately your problem is well understood. We are woefully behind in creating an FAQ. However, the answer to your questions may be found at: https://sourceforge.net/mailarchive/message.php?msg_id=1855065 I encourage ebxmlrr-tech forum to use the search feature in the upper left corner of: https://sourceforge.net/mailarchive/forum.php?forum_id=8944 to check if their problem has previously been reported. Thanks for using ebxmlrr. -- Regards, Farrukh Wes Kubo wrote: > Hi all. > > Just installing the ebxmlrr server (from source) and after this step: > > Type "build loadGeo", "build loadExtSchemes", "build loadNAICS". It will > load ISO3166 and NAICS classification schemes (the SubmitObjectsRequests are > located in <ebxmlrr_home>/misc/samples). > > I received the following Java exception: > > loadGeo: > [echo] Loading ISO 3166 taxonomy as RegistryOperator > [java] java.lang.NullPointerException > [java] at > org.apache.xml.dtm.ref.dom2dtm.DOM2DTM$defaultNamespaceDeclarationNode.getOw > nerDocument(DOM2DTM.java:1722) > [java] at > org.apache.xml.security.utils.XMLUtils.getOwnerDocument(XMLUtils.java:912) > [java] at > org.apache.xml.security.signature.XMLSignatureInput.getOctetStream(XMLSignat > ureInput.java:388) > [java] at > org.apache.xml.security.signature.XMLSignatureInput.getBytes(XMLSignatureInp > ut.java:420) > [java] at > org.apache.xml.security.signature.Reference.getReferencedBytes(Reference.jav > a:1177) > [java] at > org.apache.xml.security.signature.Reference.calculateDigest(Reference.java:1 > 227) > [java] at > org.apache.xml.security.signature.Reference.generateDigestValue(Reference.ja > va:459) > [java] at > org.apache.xml.security.signature.Manifest.generateDigestValues(Manifest.jav > a:427) > [java] at > org.apache.xml.security.signature.XMLSignature.sign(XMLSignature.java:547) > [java] at > com.sun.ebxml.registry.security.SecurityUtil.signSOAPMessage(SecurityUtil.ja > va:106) > [java] at > com.sun.ebxml.registry.interfaces.soap.SOAPSender.createSOAPMessage(SOAPSend > er.java:325) > [java] at > com.sun.ebxml.registry.interfaces.soap.SOAPSender.send(SOAPSender.java:388) > [java] at > com.sun.ebxml.registry.interfaces.soap.SOAPSender.main(SOAPSender.java:265) > > Took a look at the code and it seems to be a problem originating in > xalan.jar. I replaced every copy that I could find of xalan.jar (the > relevant copy being in jwsdp-1_0\common\endorsed (as far as I can tell) with > the version in the libraries zip and still had the problem. > > Any thoughts? > > Thanks. > > Wes > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber - The world's fastest growing > real-time communications platform! Don't just IM. Build it in! > http://www.jabber.com/osdn/xim > _______________________________________________ > Ebxmlrr-tech mailing list > Ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlrr-tech -- Regards, Farrukh ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Ebxmlrr-tech mailing list Ebx...@li... https://lists.sourceforge.net/lists/listinfo/ebxmlrr-tech |