|
From: Frankie L. <fr...@mi...> - 2002-12-11 06:40:43
|
Dear Tony, Where do you put RunMonitor.bat? It cannot run on its own, but rely on a number of java libraries instead and the directory structure must be like this: [any directory] \- [sample] \- [lib] You may want to copy the configuration file to the "sample" directory in = the binary distribution and run "RunMonitor.bat" there. 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: "Tony Slosar" <Ton...@su...> To: <ebx...@li...> Sent: Wednesday, December 11, 2002 12:12 PM Subject: RE: [ebxmlms-general] Open source Client to interact with Hermes > Patrick, list; > > Hi and thanks for your reply. My questions are most likely from my lack= of java knowledge. > > I appreciate the work you all have done. I hope to promote ebXML once I have some experience. > > My autoexec.bat (win98) is configured as such, which I believe is corre= ct: > SET PATH=3DC:\j2sdk1.4.1_01;C:\j2sdk1.4.1_01\bin;C:\mysql\bin;C:\mysql\bin\my= sql;% PATH% > SET JAVA_HOME=3DC:\j2sdk1.4.1_01 > > I believe msh is deployed properly becasue I get log entries indicating error connecting to mail server which is not configured yet. > > Here are my questions - thanks in advance for any assistance! > > Thanks again! > > Tony > > (1) When I execute RunMonitor.bat I get: > Exception in thread "main" java.lang.NoClassDefFoundError: hk/hku/cecid/phoenix/message/monitor/Monitor > > (2) When I execute RunLoopBack.bat I get the same error above for the second (java) line, and I get the below (partial) from the first (javac) line: > MessageHeader header =3D message.addMessageHeader(); > ^ > LoopBack.java:45: cannot resolve symbol > symbol : variable MessageServiceHandler > location: class LoopBack > header.setTimestamp(MessageServiceHandler.timeStamp(new Date())); > ^ > LoopBack.java:47: cannot resolve symbol > symbol : variable MessageServiceHandler > location: class LoopBack > String messageId =3D MessageServiceHandler.messageId(new Da= te(), messa > ge); > ^ > 18 errors > > > > -----Original Message----- > From: Patrick Yee [mailto:kc...@ce...] > Sent: Mon 12/9/2002 8:20 PM > To: ebx...@li... > Cc: > Subject: Re: [ebxmlms-general] Open source Client to interact with Herm= es > > > > Tony, > > Other than the "file system" method, you may find a GUI tool useful. We have > bundled with Hermes a GUI tool for testing the functionalities of our M= SH. > The name of the tool is Monitor. And you can execute the tool by follow= ing > the instruction in our installation guide - Chapter 8: Test Drive. The > source code of Monitor is included in the distribution of Hermes, so it also > serves as an example of how to write a client of Hermes. > > Hope this helps. Should you have any further questions, please feel fre= e to > post to the list. Thanks. > > 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: "Tony Slosar" <Ton...@su...> > To: <ebx...@li...> > Sent: Saturday, December 07, 2002 11:32 AM > Subject: RE: [ebxmlms-general] Open source Client to interact with Herm= es > > > > Sorry - this would of course be the "file system" method described in the > Development Guide. > > > > Thanks! > > > > -----Original Message----- > > From: Tony Slosar > > Sent: Fri 12/6/2002 10:29 PM > > To: ebx...@li... > > Cc: > > Subject: [ebxmlms-general] Open source Client to interact with Hermes > > > > > > > > Hello, > > > > I have installed all of the required software and now have Hermes running. > > > > Does anyone know of a open source Client to interact with Hermes ?? > > > > Thanks! > > > > Tony > > > > -----Original Message----- > > From: Patrick Yee [mailto:kc...@ce...] > > Sent: Mon 12/2/2002 3:45 AM > > To: Regis Dubois > > Cc: EbXMLms List (E-mail) > > Subject: Re: [ebxmlms-general] Hermes v0.9.2.0 released > > > > > > > > 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 gues= s in > your case > > you are have clients that use the same application context wi= th > different > > ToPartyID only. If this is the case, please try to reassign t= he > 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 m= y > 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 rat= her > like to > > > develop on the same machine rather than 2 machines as befor= e, > 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 th= e > 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 frompart= yID > and > > > topartyID, the messages will be pulled by the first client > > > that will register itself with the application context -> t= he > 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 i= s > > > > 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 distributi= ng > > > > open source > > > > ebXML software packages. > > > > > > > > Another choice is you can get link your client with msh.j= ar > > > > found in lib > > > > directory of the binary package. It should contain all th= e > classes you > > > > need. Yet another alternative is you can download the sou= rce > > > > 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 wh= ich > > > > 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 toda= y. > > > > 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, he= re > > > > is the release > > > > > note of this release: > > > > > > > > > > Version 0.9.2.0 > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > - Supported transaction locking of a message based on i= ts > 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 M= SH > 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 a= ll > > > > 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 sta= tes > > > > 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-friend= ly > > > > > - 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 i= n > > > > the queue if it has > > > > > > > > > > not bee nsent successfully > > > > > - Added a system feature: archiving the repository of M= SH > > > > > - Restructured logging > > > > > - GUI in MSH Monitor updated to demonstrate the new features > > > > > - Modified the namespace to conform to ebMS Specificati= on > [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 receive= d. > > > > > - 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 ebXM= L > > > > messages can be > > > > > validated. > > > > > - Implements "getTrustedRepository()" API. Now it can g= et > > > > trusted repository > > > > > locatons from the MSH directly. > > > > > - Changed the database column name to avoid any possibl= e > > > > SQL keywords > > > > > - Fixed the bug that the sending threads are not restar= ted > > > > after resuming > > > > > MSH from > > > > > halt state. > > > > > - Fixes the use case that connection pool cannot be res= et > > > > successfuly if a > > > > > connection cannot be closed successfully. > > > > > - Fixes the use case that NullPointerException will res= ult > if > > > > > getMessageStatus() > > > > > is used to query more than one message. > > > > > - Fixed the bug that the sending threads are not restar= ted > > > > after resuming > > > > > MSH from > > > > > halt state. > > > > > - Fixed the bug that diagnosis dump only parses the dat= e > part of the > > > > > date/time > > > > > specified. > > > > > - Used CommandConstants objects to contains command > > > > constants, so as to > > > > > enforce > > > > > maximum compatibility of Command objects across versi= on. > > > > > - Fixed the bug that diagnosis dump cannot dump databas= e > when both > > > > > Application > > > > > Context and Starting / Ending date/time are specified. > > > > > - Retry sending acknowledgment only if the current thre= ad > > > > 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() a= nd > > > > > 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 exis= t; > and runs > > > > > successfully > > > > > in subsequent runs. > > > > > - Allow database password to be zero-length in diagnosi= s > > > > tool configuration > > > > > file. > > > > > - Modified the MSH properties file to demonstrate corre= ct > > > > settings. The > > > > > message > > > > > repository and the objectstore directories cannot hav= e 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > ebxmlms-general mailing list > > ebx...@li... > > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > > > > N=18uXu)=19Ylg=07=17=C9=B6HzGykzwjYX=E1=A4=82XY=E0=A0=81=E9=AD=A9=CB=B2= q=07ztX=E1=AD=B6~zwX=E1=B4=B6=CB=9Dykzw > > > > +,=7F =E9=9A=8AX'u=DE=BCN=18ggr=E5=89=9E=1EzH^j = =1Bm =18=07( =1F > o=19 zwjYXX Y=07z X y+ z m b q =07 =7F+-=EC=8D=B9=ED=B6=B3b ~o=19=DE=A5= zw > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > ebxmlms-general mailing list > ebx...@li... > https://lists.sourceforge.net/lists/listinfo/ebxmlms-general > > > +,=7F =E9=9A=8AX'u=DE=BCZ+a=1A 0z=C2=A2g=1A=17=EC=89= =B8=DC=8By=E7=B6=8B{*.0z9 =13=DE=AD+ x*&b =EB=9E=A1jy=DE=96=1Bm u =DC=85z_ =0F if=C6=B3=1E =DA=96f= )+-y=D6=BCfk =DE=AD+- (=1E~{ =DE=B6=1Bm X y + z l X)=DF=A3 if=1E > |