Discussion:
[openjms-developer] A problem with messages in database on linux
lnj2050
2007-04-16 02:34:33 UTC
Permalink
on windows,I send message and receive messsage by openjms,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 delete
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?

Thank you very much!
--
View this message in context: http://www.nabble.com/A-problem-with-messages-in-database-on-linux-tf3582032.html#a10009303
Sent from the OpenJMS - Dev mailing list archive at Nabble.com.
zhanghui
2007-04-16 03:14:45 UTC
Permalink
hello lnj2050
Maybe there is a configuration in jms to decide whether removing the message record. And in linux enviroment ,it have not been read. You can try to find it!


======= 2007-04-16 10:34:33 您在来信中写道:=======
Post by lnj2050
on windows,I send message and receive messsage by openjms,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 delete
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?
Thank you very much!
--
View this message in context: http://www.nabble.com/A-problem-with-messages-in-database-on-linux-tf3582032.html#a10009303
Sent from the OpenJMS - Dev mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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/
_______________________________________________
openjms-developer mailing list
https://lists.sourceforge.net/lists/listinfo/openjms-developer
= = = = = = = = = = = = = = = = = = = =


        致
礼!


        zhanghui
        ***@c
lnj2050
2007-04-17 07:49:14 UTC
Permalink
Hello,张慧,Thank you for answer my qusetion,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 machine
or the setTimeToLive is not set,the problem I have tell will become.
Post by zhanghui
hello lnj2050
Maybe there is a configuration in jms to decide whether removing the
message record. And in linux enviroment ,it have not been read. You can
try to find it!
======= 2007-04-16 10:34:33 您在来信中写道:=======
Post by lnj2050
on windows,I send message and receive messsage by openjms,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 delete
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?
Thank you very much!
--
http://www.nabble.com/A-problem-with-messages-in-database-on-linux-tf3582032.html#a10009303
Post by zhanghui
Post by lnj2050
Sent from the OpenJMS - Dev mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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/
_______________________________________________
openjms-developer mailing list
https://lists.sourceforge.net/lists/listinfo/openjms-developer
= = = = = = = = = = = = = = = = = = = =
        致
礼!
        zhanghui
          2007-04-16
-------------------------------------------------------------------------
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/
_______________________________________________
openjms-developer mailing list
https://lists.sourceforge.net/lists/listinfo/openjms-developer
--
View this message in context: http://www.nabble.com/A-problem-with-messages-in-database-on-linux-tf3582032.html#a10030864
Sent from the OpenJMS - Dev mailing list archive at Nabble.com.
Tim Anderson
2007-04-21 12:56:30 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#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="moz-txt-link-freetext" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1217952&group_id=54559&atid=474136">http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1217952&amp;group_id=54559&amp;atid=474136</a><br>
for more details.<br>
<br>
-Tim<br>
<br>
<br>
lnj2050 wrote:
<blockquote cite="***@talk.nabble.com" type="cite">
<pre wrap="">Hello,张慧,Thank you for answer my qusetion,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 machine
or the setTimeToLive is not set,the problem I have tell will become.

张慧 wrote:
</pre>
<blockquote type="cite">
<pre wrap="">hello lnj2050
Maybe there is a configuration in jms to decide whether removing the
message record. And in linux enviroment ,it have not been read. You can
try to find it!


======= 2007-04-16 10:34:33 您在来信中写道:=======

</pre>
<blockquote type="cite">
<pre wrap="">on windows,I send message and receive messsage by openjms,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 delete
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?

Thank you very much!
--
View this message in context:
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!----></pre>
</blockquote>
</body>
</html>
Loading...