|
From: Patrick Y. <kc...@ce...> - 2002-12-02 08:46:13
|
Hello Regis, In Hermes, application context is a four-tuple consist of: 1. CPA ID 2. Conversation ID 3. Service 4. Action This four-tuple will uniquely identify the clients. So I guess in your case you are have clients that use the same application context with different ToPartyID only. If this is the case, please try to reassign the application context to make it unique for each client. 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 ----- Original Message ----- From: "Regis Dubois" <Reg...@va...> To: "Patrick Yee" <kc...@cs...> Sent: Thursday, November 28, 2002 5:32 PM Subject: RE: [ebxmlms-general] Hermes v0.9.2.0 released > Hello Patrick, > > Don't Worry I'm now using the 2.0 package for developping my client. > You are right the /bin is in the all-in-one package (wich I don't need > anymore because I compiled the source file :-) ) > > I'm glad that hermes now support the loopback because I rather like to > develop on the same machine rather than 2 machines as before, and it will be > more convenient to make a demonstration of the prototype to our clients. > > I have but a question: > If I am developping to clients communicating together on the same machine > using Hermes, I'll send all messages to the same url: > http://localhost:8080/msh > my problem is that even though I'm using different frompartyID and > topartyID, the messages will be pulled by the first client > that will register itself with the application context -> the from and to > ID's are inoperative. > The only solution I see to fix this problem is to set up 2 msh on the same > machine. (which is maybe impossible?). > Am I clear with my problem? Is there a solution you know to fix it? > > Cheers, > > Regis > > > -----Message d'origine----- > > De : Patrick Yee [mailto:kc...@cs...] > > Envoye : jeudi 28 novembre 2002 02:40 > > A : Regis Dubois > > Cc : ebx...@li... > > Objet : RE: [ebxmlms-general] Hermes v0.9.2.0 released > > > > > > Hello Regis, > > > > Are you downloading binary package? As far as I know, we > > don't have bin > > directory included in binary package. The bin directory is > > distributed in > > a so-called "all-in-one" package. You can find the > > "all-in-one" package at > > www.freebxml.org, which is another website for distributing > > open source > > ebXML software packages. > > > > Another choice is you can get link your client with msh.jar > > found in lib > > directory of the binary package. It should contain all the classes you > > need. Yet another alternative is you can download the source > > package and > > compile the clas > > > > Please use 0.9.2.0 whenever possible, it is more functionally > > complete. > > And please don't use 0.9.1.3 to develop client for 0.9.2.0. > > They are not > > compatible. In our convention, 0.9.1.x is not compatible with 0.9.2.x. > > > > Regards, -Patrick > > > > On Wed, 27 Nov 2002, Regis Dubois wrote: > > > > > Hello Patrick I downloaded the 9.2.0 Hermes MSH binary > > package in order to > > > upgrade from the 9.1.3. > > > > > > but could not find the /bin directory in the package which > > I use to develop > > > my ebXML client. > > > Is that normal? should I use the one provided in the 9.1.3 package? > > > > > > Cheers > > > > > > -----Message d'origine----- > > > De : Patrick Yee [mailto:kc...@ce...] > > > Envoye : mardi 26 novembre 2002 05:37 > > > A : EbXMLms List (E-mail) > > > Objet : [ebxmlms-general] Hermes v0.9.2.0 released > > > > > > > > > > > > Dear all, > > > > > > We are pleased to announce a new release of Hermes today. > > You can download > > > the latest release either from our project homepage on SourceForge ( > > > http://sourceforge.net/projects/ebxmlms > > > <http://sourceforge.net/projects/ebxmlms> ), or from freebXML.org ( > > > http://www.freebxml.org <http://www.freebxml.org> ). > > > > > > Thanks a lot for your support. For your information, here > > is the release > > > note of this release: > > > > > > Version 0.9.2.0 > > > =============== > > > - Supported transaction locking of a message based on its message ID > > > - Added clean up code to properly free resource such as > > Resultset, Statement > > > - Added database fields in vision to support sync reply, > > message order and > > > persist duration > > > - Bug fixed: now deliver message to application works > > properly no matter > > > what > > > mode is used for the MSH client to get message from MSH server > > > - Added an optional feature: positive acknowledgment to MSH > > client if the > > > message is successfully sent to the destination > > > - Added a system feature: clean halt, which will stop all > > sending and > > > receiving > > > processes, and the MSH client will receive error messages > > as if the > > > messages > > > are not sent successfully > > > - Added a system feature: backup and restore of MSH states > > and repository > > > - Bug fixed: no more NullPointerException when fail to > > authenticate the > > > command > > > object due to missing specification of user name/password > > in client side > > > - Extended the Request API and make it more user-friendly > > > - Added a system feature: to query the message status > > > - Bug fixed: now the message can be stored properly to > > repository even when > > > the MSH is under stress > > > - Retry time is now calculated more accurately even if the > > MSH is halted > > > between retries > > > - Added a system feature: now we can delete a message in > > the queue if it has > > > > > > not bee nsent successfully > > > - Added a system feature: archiving the repository of MSH > > > - Restructured logging > > > - GUI in MSH Monitor updated to demonstrate the new features > > > - Modified the namespace to conform to ebMS Specification [2.3.1] > > > - Bug fixed: NullPointerException when fromUTCString is > > given an incomplete > > > date/time string. > > > - Bug fixed: NullPointerException when an error message is > > received from the > > > > > > other MSH (e.g. TimeToLive expired) that needs to be > > forwarded to the > > > user. It > > > was previously caused by the "null" value of > > mshConnection variable in > > > onMessage() function when an error message is received. > > > - Added user interface to add TimeToLive to the message. > > > - Detailed message status that includes information in > > SentMessage and > > > ReceivedMessage table. > > > - Changed the placement of the text field "Time to Live". > > > - Appends "charset" to the content-type mime header. > > > - Added namespace references so that the generated ebXML > > messages can be > > > validated. > > > - Implements "getTrustedRepository()" API. Now it can get > > trusted repository > > > locatons from the MSH directly. > > > - Changed the database column name to avoid any possible > > SQL keywords > > > - Fixed the bug that the sending threads are not restarted > > after resuming > > > MSH from > > > halt state. > > > - Fixes the use case that connection pool cannot be reset > > successfuly if a > > > connection cannot be closed successfully. > > > - Fixes the use case that NullPointerException will result if > > > getMessageStatus() > > > is used to query more than one message. > > > - Fixed the bug that the sending threads are not restarted > > after resuming > > > MSH from > > > halt state. > > > - Fixed the bug that diagnosis dump only parses the date part of the > > > date/time > > > specified. > > > - Used CommandConstants objects to contains command > > constants, so as to > > > enforce > > > maximum compatibility of Command objects across version. > > > - Fixed the bug that diagnosis dump cannot dump database when both > > > Application > > > Context and Starting / Ending date/time are specified. > > > - Retry sending acknowledgment only if the current thread > > sending the ack > > > does not > > > exist. > > > - Fixed the use case that if the application context cannot > > be archived > > > because > > > some of the messages are not ready, archiveByDate() and > > > archiveByAppContext() > > > return an invalid error message. > > > - Fixes the MSH backup function. Now it returns failure > > message correctly in > > > case backup operation failed. > > > - Fixes the use case that archive only creates the > > directory on the first > > > time of > > > invocation if the destination directory does not exist; and runs > > > successfully > > > in subsequent runs. > > > - Allow database password to be zero-length in diagnosis > > tool configuration > > > file. > > > - Modified the MSH properties file to demonstrate correct > > settings. The > > > message > > > repository and the objectstore directories cannot have a > > parent-child > > > relationship. > > > > > > > > > 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 > > > > > > > > > > > |