|
From: Frankie L. <ts...@ce...> - 2002-12-13 02:40:16
|
Dear Tony, You're running in the "\ebxmlms\for_dist\sample" of the development versi= on of Hermes, which does not have "\ebxmlms\for_dist\lib" directory containi= ng all the library files required. There are two ways that you can try: (1) If you can get the Hermes compiled using apache ant (http://jakarta.apache.org/ant), you should see "\ebxmlms\dist" directory. Copy you configuration file to "\ebxmlms\dist\tmp\sample" and then try to run "RunMonitor.bat" there again. (2) Otherwise you can use the binary distribution of Hermes and copy the configuration file to the "sample" directory and run it directory. 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: Friday, December 13, 2002 10:26 AM Subject: [ebxmlms-general] RunMonitor.bat - can't get it to work > Frankie, > > I copied the prop file into the sample dir -- still error below executi= ng C:\ebxmlms\for_dist\sample\RunMonitor.bat > Exception in thread "main" java.lang.NoClassDefFoundError: hk/hku/cecid/phoenix/message/monitor/Monitor > > I believe PATH is correct (actual path:C:\j2sdk1.4.1_01\bin) > C:\>echo %PATH% > C:\J2SDK1.4.1_01;C:\J2SDK1.4.1_01\BIN;C:\MYSQL\BIN;C:\MYSQL\BIN\MYSQL;C:\= WIN DOWS > ;C:\WINDOWS\COMMAND > > :) > Any other ideas ??? > > TIA > > Tony > > PS > > I commented out the <poll></poll> section in the prop file and now I ge= t this in the log: > WARN [Thread-21]: Properties in MSH/Mail/* not properly set! > No biggie though! > > > > -----Original Message----- > From: Frankie Lam [mailto:fr...@mi...] > Sent: Wed 12/11/2002 1:44 AM > To: Tony Slosar > Cc: ebx...@li... > Subject: Re: [ebxmlms-general] Open source Client to interact with Herm= es > > > > 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 li= ke > this: > > [any directory] > \- [sample] > \- [lib] > > You may want to copy the configuration file to the "sample" directory i= n 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 Herm= es > > > > Patrick, list; > > > > Hi and thanks for your reply. My questions are most likely from my la= ck 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 correct: > > 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 indicati= ng > 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 Date(), > 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 Hermes > > > > > > > > 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 MSH. > > The name of the tool is Monitor. And you can execute the tool by following > > the instruction in our installation guide - Chapter 8: Test Drive. Th= e > > 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 f= ree > 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 Hermes > > > > > > > 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 Herm= es > > > > > > > > > > > > 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 gu= ess > 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 clien= t > > > > 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, w= e > > > > > 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 compatibl= e > 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 binar= y > > > > > 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 o= n > > 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 > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > - 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 rep= ly, > > > > > 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 t= o > > > > > 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 t= o > > > > > repository even when > > > > > > the MSH is under stress > > > > > > - Retry time is now calculated more accurately even i= f 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 messa= ge is > > > > > received from the > > > > > > > > > > > > other MSH (e.g. TimeToLive expired) that needs to b= e > > > > > 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 messa= ge. > > > > > > - Detailed message status that includes information i= n > > > > > 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 eb= XML > > > > > 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 possi= ble > > > > > 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 d= ate > > 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 datab= ase > > when both > > > > > > Application > > > > > > Context and Starting / Ending date/time are specifi= ed. > > > > > > - 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 failu= re > > > > > 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 diagno= sis > > > > > tool configuration > > > > > > file. > > > > > > - Modified the MSH properties file to demonstrate correct > > > > > settings. The > > > > > > message > > > > > > repository and the objectstore directories cannot h= ave a > > > > > parent-child > > > > > > relationship. > > > > > > > > > > > > > > > > > > Regards, > > > > > > -Patrick > > > > > > -- > > > > > > Patrick Yee > > > > > > System Architect > > > > > > Center for E-Commerce Infrastructure Development (CEC= ID) > > > > > > 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-genera= l > > > > > > > > > N=18uXu)=19Ylg=07=17=C9=B6HzGykzwjYX=E1=A4=82XY=E0=A0=81=E9=AD=A9=CB= =B2q=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=96= f)+-y=D6=BCfk =DE=AD+- (=1E~{ =DE=B6=1Bm X y + z l > X)=DF=A3 if=1E > > > > > > +,=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 > |