|
From: MTM Z. <zen...@fe...> - 2003-11-19 07:46:24
|
Patrick, We have looked after these matters and we do not use our own implementations of these files, just the j2ee files. the mailserver however did not support SMTP authentication. we changed the mailserver and the problem persisted. The hermes MSH did not send any mail but our client on the same PC could send a mail with the mailserver using SMTP authentication. We then added some logging information in the mail.java of the cecid package. The following output was the result. 2003-11-18 16:11:45,797 DEBUG [Thread-16]: => MailSender.run 2003-11-18 16:11:45,798 DEBUG [Thread-16]: => Mail.send 2003-11-18 16:11:45,798 INFO [Thread-16]: Sending message to msh1@192.168.1.10 through 192.168.1.10 2003-11-18 16:11:45,798 INFO [Thread-16]: mail.java => ebXMLmessage: hk.hku.cecid.phoenix.message.packaging.EbxmlMessage@1b2e165 2003-11-18 16:11:47,610 INFO [Thread-16]: mail.java => session.protocol: null 2003-11-18 16:11:47,611 INFO [Thread-16]: mail.java => session.type: null 2003-11-18 16:11:47,611 INFO [Thread-16]: mail.java => session.class: null 2003-11-18 16:11:47,611 INFO [Thread-16]: mail.java => session.vendor: null 2003-11-18 16:11:47,611 INFO [Thread-16]: mail.java => session.version: null 2003-11-18 16:11:47,711 INFO [Thread-16]: mail.java => header output: Message-ID: <12562335.1069168307711.JavaMail.root@demoserver> 2003-11-18 16:11:47,861 INFO [Thread-16]: mail.java => header output: From: msh2@192.168.1.10 2003-11-18 16:11:47,872 INFO [Thread-16]: mail.java => header output: To: msh1@192.168.1.10 2003-11-18 16:11:47,886 INFO [Thread-16]: mail.java => header output: Subject: Item_No_128 2003-11-18 16:11:47,896 INFO [Thread-16]: mail.java => header output: Mime-Version: 1.0 2003-11-18 16:11:47,910 INFO [Thread-16]: mail.java => header output: Content-Type: text/xml; charset="utf-8" 2003-11-18 16:11:47,922 INFO [Thread-16]: mail.java => header output: Content-Transfer-Encoding: base64 2003-11-18 16:11:47,936 INFO [Thread-16]: mail.java => header output: SOAPAction: "ebXML" 2003-11-18 16:11:48,100 ERROR [Thread-16]: [10103] Cannot send mail message Exception: javax.mail.NoSuchProviderException Message: smtp 2003-11-18 16:11:48,103 ERROR [Thread-16]: [10002] Unknown error Exception: hk.hku.cecid.phoenix.message.transport.TransportException Message: [10103] Cannot send mail message and exception: javax.mail.NoSuchProviderException: smtp it seems to us that there is something going wrong with the session object, for that is zero in value. And the session.protocol should reflect the chosen provider (smtp) according to the j2ee API from sun. We are now trying a newer version of the MSH we found in the cvs on sourceforge, it described sort of the same problem we had. we'll let you know if that solves the problem. regards, Mark Patrick Yee wrote: > Mark, We suspect of 2 possible causes: 1. there may be a mismatch of > mail.jar and activation.jar. Are you using your own version of these > jar files?2. are you using SMTP authentication while your mail servers > doesn't support? Please check. Thanks. Regards, -Patrick > > ----- Original Message ----- > From: MTM Zenhorst > To: ebx...@li... > Sent: Monday, November 17, 2003 8:19 PM > Subject: Re: [ebxmlms-general] error 10102 Cannot Compose > Mail Message > Hello, > > I changed the from party ID but now I get another error that > leaves me wondering. > > parameters: > from partyId: mailto:de...@19....20 > type: Mail > to partyId: mailto:ma...@19....20 > type: MAIL > > the errors given in the msh logfile are: > thread: sending message to ma...@19....20 > through 192.168.xxx.20 > error: 10103 Cannot send mail message > exception: javax.mail.NoSuchProviderException > message: smtp > > exception: > hk.hku.cecid.phoenix.message.transport.TransportException > message: 10103 Cannot send mail message > > We also tried with company mail addresses and hotmail mail > addresses but they gave the same errors. > > The log file of the mail server does not show the msh is > trying to send the mail it is only polling in te pool for > new messages. > > do you have any idea as for what is going wrong? > > > Patrick Yee wrote: > > > Mark,Sorry, under the current limitation of Hermes, when > > you send out message using SMTP protocol, the From Party > > ID of the message should be a valid email address > > also.Regards, -Patrick > > > > ----- Original Message ----- > > From: MTM Zenhorst > > To: ebx...@li... > > Sent: Friday, November 14, 2003 10:36 PM > > Subject: [ebxmlms-general] error 10102 Cannot > > Compose Mail Message > > Hello, > > > > We are trying to install a alocal working ebXML > > setup but we have > > encountered a problem. We hope you are able to > > help us. > > > > When we send a message from a msh_client to the > > MSH server the error > > occurs. > > The message is sent with the following > > information. > > from partyId: http://192.168.xxx.20:8080/msh > > type: HTTP > > to partyId: mailto:ma...@19....20 > > type: MAIL > > > > the message is sent and it arrives at the MSH > > server. At that point I > > think the actual error occurs. > > > > The log file shows: > > sending message to ma...@19....20 through > > 192.168.xxx.20 > > then it tells me a 10102 error Cannot Compose > > Mail Message occurs. > > the given exception is: > > javax.mail.internet.AddressException > > message: Nested Group > > > > after trying to resend 2 times the client > > receives an error message: > > errorCode="Delivery Failure" severity="Error" > > description="Communication error". > > > > which is logical offcourse :) > > > > Can you tell me if the email address format is > > not supported or if we > > are doing something wrong? > > > > Greetz, > > > > Mark Zenhorst > > > > > > > > - > > ----------------------------------------------------- > > > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the > > latest > > developments in Apache, PHP, Perl, XML, Java, > > MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > ebxmlms-general mailing list > > ebx...@li... > > > > ttps://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > |