Re: A problem with messages in database on linux
Tim Anderson <[email protected]> Sat, 21 Apr 2007 22:56:30 +1000
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1573478131== Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content=3D"text/html;charset=3DUTF-8" http-equiv=3D"Content-Type"= > </head> <body bgcolor=3D"#ffffff" text=3D"#000000"> Are you acknowledging the messages? If you are using a CLIENT_ACKNOWLEDGE session,<br> you must explicitly acknowledge them in order for them to be removed.<br> However, if you set an expiry they will be removed from the database when the messages expire.<br> <br> If you set a time to live but the messages don't expire when you expect, the system clocks on the linux<br> host may be different to that on the windows host. <br> See <a class=3D"moz-txt-link-freetext" href=3D"http://sourceforge.net/tracker= /index.php?func=3Ddetail&aid=3D1217952&group_id=3D54559&atid=3D474136">ht= tp://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1217952&am= p;group_id=3D54559&atid=3D474136</a><br> for more details.<br> <br> -Tim<br> <br> <br> lnj2050 wrote: <blockquote cite=3D"[email protected]" type=3D"cite"> <pre wrap=3D"">Hello,=E5=BC=A0=E6=85=A7,Thank you for answer my qusetio= n,I have get the causation of the problen. if my program and openjms server run in the same machine,and the TopicPublisher is set setTimeToLive,the database table messages will not withhold the messages witch send and recevie.but if not in the same machi= ne or the setTimeToLive is not set,the problem I have tell will become.=20 =E5=BC=A0=E6=85=A7 wrote: </pre> <blockquote type=3D"cite"> <pre wrap=3D"">hello lnj2050 Maybe there is a configuration in jms to decide whether removing th= e message record. And in linux enviroment ,it have not been read. You can try to find it!=20 =09 =3D=3D=3D=3D=3D=3D=3D 2007-04-16 10:34:33 =E6=82=A8=E5=9C=A8=E6=9D=A5=E4=BF= =A1=E4=B8=AD=E5=86=99=E9=81=93=EF=BC=9A=3D=3D=3D=3D=3D=3D=3D </pre> <blockquote type=3D"cite"> <pre wrap=3D"">on windows,I send message and receive messsage by op= enjms,and the messages tables will add record when send messages and will delete when receive message from it,So the messages table still empty. but on linux ,in the same environment, the messages tables will not delet= e record when receive message from it,So the count of the record in the messages tables increasing,my program is running , and message is send to messages table,so in some time, the messages table will breakdown. Every one ,do you know how to solve this problem?=20 Thank you very much!=20 --=20 View this message in context: </pre> </blockquote> </blockquote> <pre wrap=3D""><!----></pre> </blockquote> </body> </html> --===============1573478131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1573478131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ openjms-developer mailing list openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/openjms-developer --===============1573478131==--