|
From: simon c. <sim...@ho...> - 2002-11-08 09:07:15
|
Hi, I will try to simplify I'm testing your MSH so i've set up the default conf. Then I run RunMonitor. If I dont't change to MSH URL field averything works fine. But if change ut to the URL of client that uses another MSH or directly to another MSH i get mentioned exception. I'm using hermesMSH version 0.9.1.4. The other MSH is Sun's implementation jaxm provider Here's part of msh.log that might be interesting to you: 2002-11-08 09:41:58,522 DEBUG [main]: Hermes (ebms2) MSH v.0.9.1.4 started. 2002-11-08 09:41:58,763 DEBUG [main]: Verifying the database tables are properly installed... 2002-11-08 09:41:58,833 DEBUG [main]: Looks good. 2002-11-08 09:41:59,674 DEBUG [main]: Restart previous sending threads 2002-11-08 09:41:59,674 DEBUG [main]: Get delivery status of messages 2002-11-08 09:41:59,684 DEBUG [main]: Getting the sequence number of sent messages 2002-11-08 09:41:59,684 DEBUG [main]: ConversationID: convid Max Seq: -9999 2002-11-08 09:41:59,684 DEBUG [main]: ConversationID: Item_No_128 Max Seq: -9999 2002-11-08 09:41:59,724 DEBUG [Thread-4]: Polling mail server: pop3, localhost, 110, INBOX, user 2002-11-08 09:43:33,088 DEBUG [HttpProcessor[8080][4]]: Received request for registering msh config 2002-11-08 09:43:33,088 DEBUG [HttpProcessor[8080][4]]: Update MSHConfig 2002-11-08 09:43:33,098 DEBUG [main]: Diagnostic command: 5 2002-11-08 09:43:33,128 DEBUG [HttpProcessor[8080][3]]: Received request of enable ack. 2002-11-08 09:43:33,128 DEBUG [main]: Diagnostic command: 7 2002-11-08 09:43:33,148 DEBUG [HttpProcessor[8080][1]]: Received request of accept ack. 2002-11-08 09:43:49,532 DEBUG [HttpProcessor[8080][1]]: Received request for sending message 2002-11-08 09:43:50,153 DEBUG [HttpProcessor[8080][1]]: Final sequence number in store: -9999 2002-11-08 09:43:50,153 DEBUG [HttpProcessor[8080][1]]: Entering MessageServer.store 2002-11-08 09:43:50,163 DEBUG [HttpProcessor[8080][1]]: getRepositoryFileName return: R0000\aM24DNtzCG6xgLMPYpYI4g== 2002-11-08 09:43:50,163 DEBUG [HttpProcessor[8080][1]]: Insert into messagestore database 2002-11-08 09:43:50,243 DEBUG [Thread-6]: Send... try #1 2002-11-08 09:43:50,243 DEBUG [Thread-6]: Entering MessageServer.retry 2002-11-08 09:43:50,243 DEBUG [Thread-6]: Current: 0 specified: 1 2002-11-08 09:43:50,243 DEBUG [Thread-6]: Update state to become 1 2002-11-08 09:43:50,583 DEBUG [Thread-6]: hk.hku.cecid.phoenix.message.handler.HttpSender cannot send message successfully for 1 times: hk.hku.cecid.phoenix.message.transport.TransportException: java.security.PrivilegedActionException <<javax.xml.soap.SOAPException: Unable to internalize message>> 2002-11-08 09:44:20,256 DEBUG [Thread-6]: Send... try #2 2002-11-08 09:44:20,256 DEBUG [Thread-6]: Entering MessageServer.retry 2002-11-08 09:44:20,256 DEBUG [Thread-6]: Current: 1 specified: 2 2002-11-08 09:44:20,256 DEBUG [Thread-6]: Update state to become 2 2002-11-08 09:44:20,276 DEBUG [Thread-6]: 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: Unable to internalize message>> 2002-11-08 09:44:20,436 DEBUG [Thread-6]: Final sequence number in store: -9998 2002-11-08 09:44:20,436 DEBUG [Thread-6]: Entering MessageServer.store 2002-11-08 09:44:20,436 DEBUG [Thread-6]: getRepositoryFileName return: R0000\KX-7va+2rpn5bw0pEMo-fQ== 2002-11-08 09:44:20,657 DEBUG [Thread-6]: Insert into reftomessage database 2002-11-08 09:44:20,657 DEBUG [Thread-6]: Insert into messagestore database 2002-11-08 09:44:20,687 DEBUG [Thread-6]: Entering MessageServer.retry 2002-11-08 09:44:20,687 DEBUG [Thread-6]: Current: 2 specified: -2 2002-11-08 09:44:20,687 DEBUG [Thread-6]: Update state to become -2 2002-11-08 09:44:33,195 DEBUG [HttpProcessor[8080][1]]: Key: R0000\KX-7va+2rpn5bw0pEMo-fQ== 2002-11-08 09:44:33,195 DEBUG [HttpProcessor[8080][1]]: File name: KX-7va+2rpn5bw0pEMo-fQ== 2002-11-08 09:44:33,205 DEBUG [HttpProcessor[8080][1]]: Normal return >From: "Frankie Lam" <fr...@mi...> >To: "simon carni" <sim...@ho...> >CC: <ebx...@li...> >Subject: Re: [ebxmlms-general] Malformed MessageServiceHandler URL >Date: Fri, 8 Nov 2002 09:33:02 +0800 > >Dear Simon, > >Can you attach your code here? And which version of MSH / Application >Server >are you using? Moreover, could you please tell us more about "the other >msh" >that you are using? > >Best regards, > >Frankie Lam >Assistant Technology Officer >Center for E-Commerce Infrastructure Development (CECID) >Dept. of Computer Science and Information Systems >The University of Hong Kong >Tel: (852) 22415737 >Fax: (852) 25474611 > >----- Original Message ----- >From: "simon carni" <sim...@ho...> >To: <kc...@ce...>; <ebx...@li...> >Sent: Friday, November 08, 2002 4:54 AM >Subject: Re: [ebxmlms-general] Malformed MessageServiceHandler URL > > > > thanks, I solved the problem but now I have a new one: > > > > While trying to send a message from your msh to other msh (jaxm-provider > > from Sun) i get following exception: > > > > ****************************************** > > javax.xml.soap.SOAPException: Invalid Content-Type:text/html > > at >com.sun.xml.messaging.saaj.soap.MessageImpl.verify(MessageImpl.java:159) > > at >com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:91) > > at > > >com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact >oryImpl.java:32) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec >tion.java:333) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run >(HttpSOAPConnection.java:142) > > at java.security.AccessController.doPrivileged(Native Method) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec >tion.java:115) > > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown >Source) > > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Source) > > javax.xml.soap.SOAPException: Unable to internalize message > > at >com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) > > at > > >com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact >oryImpl.java:32) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec >tion.java:333) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run >(HttpSOAPConnection.java:142) > > at java.security.AccessController.doPrivileged(Native Method) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec >tion.java:115) > > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown >Source) > > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Source) > > java.security.PrivilegedActionException: javax.xml.soap.SOAPException: > > Unable to internalize message > > at >com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:135) > > at > > >com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFact >oryImpl.java:32) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnec >tion.java:333) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run >(HttpSOAPConnection.java:142) > > at java.security.AccessController.doPrivileged(Native Method) > > at > > >com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnec >tion.java:115) > > at hk.hku.cecid.phoenix.message.transport.HttpServlet.send(Unknown >Source) > > at hk.hku.cecid.phoenix.message.handler.HttpSender.run(Unknown Source) > > ************************************************************* > > > > I assume that happens on the "other side". I don't know if you are the >right > > adress for this problem, but anyway. Any idea? > > > > Thanks > > > > > > > > > > > > > > >From: "Patrick Yee" <kc...@ce...> > > >To: "EbXMLms List \(E-mail\)" <ebx...@li...> > > >Subject: Re: [ebxmlms-general] Malformed MessageServiceHandler URL > > >Date: Tue, 5 Nov 2002 09:28:53 +0800 > > > > > >This time, it is the MSH Stub inside your client application who is >finding > > >the msh.properties.xml. So, you should place the property file in the > > >CLASSPATH or the working directory when/where you are invoking the >client > > >application. This may be a separate copy of the property file other >than > > >the > > >one in Tomcat. The one in Tomcat is for MSH server. > > > > > >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 > > > > > > > Hi > > > > > > > > When I try to register my Application context (in a Servlet) I get >the > > > > following exception Malformed MessageServiceHandler URL!. I think >taht > > >the > > > > reason for this exc. is that msh.properties.xml file can't be found. >So > > >I > > > > thinj the right question would be: where do I have to put > > >msh.properties.xml > > > > file if I'm running a MSH client as a Web App. I'm > > > > using Tomcat 4.0.4 and I've already tried to put it in : > > > > <TOMCAT_HOME>/classes > > > > <TOMCAT_HOME>/coomon/classes > > > > <TOMCAT_HOME>/bin > > > > myWebAppRoot/ > > > > myWebAppRoot/WEB-INF > > > > myWebAppRoot/EWB-INF/classes > > > > > > > > None of thosed alternatives worked. > > > > > > > > Could you please help me. > > > > > > > > Thanks > > > > > > > > Simon > > > > > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > > > Unlimited Internet access -- and 2 months free!?Try MSN. > > > > http://resourcecenter.msn.com/access/plans/2monthsfree.asp > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > > > Las Vegas (supported by COMDEX), the only Apache event to be > > > > fully supported by the ASF. http://www.apachecon.com > > > > _______________________________________________ > > > > ebxmlms-general mailing list > > > > ebx...@li... > > > > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > > > > > > > > > > > > > >------------------------------------------------------- > > >This SF.net email is sponsored by: ApacheCon, November 18-21 in > > >Las Vegas (supported by COMDEX), the only Apache event to be > > >fully supported by the ASF. http://www.apachecon.com > > >_______________________________________________ > > >ebxmlms-general mailing list > > >ebx...@li... > > >https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > > > > _________________________________________________________________ > > The new MSN 8: advanced junk mail protection and 2 months FREE* > > http://join.msn.com/?page=features/junkmail > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by: See the NEW Palm > > Tungsten T handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > > _______________________________________________ > > ebxmlms-general mailing list > > ebx...@li... > > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > > > >------------------------------------------------------- >This sf.net email is sponsored by: See the NEW Palm >Tungsten T handheld. Power & Color in a compact size! >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en >_______________________________________________ >ebxmlms-general mailing list >ebx...@li... >https://lists.sourceforge.net/lists/listinfo/ebxmlms-general _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail |