-
1. Re: Jboss-4.2.3 takes lot of time to load
gaohoward Jan 31, 2009 10:27 PM (in response to sentcs)Once the pending messages have been consumed, the issue is gone. If the pending messages is no longer of any use to you, you can clear them from the DB before starting jboss server.
-
2. Re: Jboss-4.2.3 takes lot of time to load
sentcs Feb 11, 2009 4:01 AM (in response to sentcs)Thanks for your response.
Once the pending messages have been consumed, the issue is gone.
I agree above points. But in ours prodution environment, they are pubishing very huge amount of messages at a time. So receivers takes lot of time to receive those messages.If the pendingmessages is no longer of any use to you, you can clear them from the DB before starting jboss server.
But in ours scenario, there is no possiblities to deleted unwated messages from JBoss DB since all messages are valid for receiver end.
Can any one please give some other solutions.
Thanks in advance. -
3. Re: Jboss-4.2.3 takes lot of time to load
lanceliao1 Mar 11, 2009 8:05 AM (in response to sentcs)I faced the same problem.
Our db tables JBM_MSG and JBM_MSG_REF have millions records,And taked long time while rebooting.
Any other solutions ?
How to configure the jms message timeout(eg 1hours)
TopicPublisher.publish(objMsg, DeliveryMode.PERSISTENT, PRIORITY,60*60*1000);
The timeout is decided by GMT(we can not ensure all client have the same GMT).
It is possible to configure timout by relative time(eg sender's time plus one hour) -
4. Re: Jboss-4.2.3 takes lot of time to load
ataylor Mar 11, 2009 9:00 AM (in response to sentcs)setting the timeout will have no effect since this only occurs when the messages are consumed.
I'm afraid if you are going to produce lots of messages that aren't being received and you can't delete then you have to wait for the start up. once the messages are consumed this is no longer an issue. -
5. Re: Jboss-4.2.3 takes lot of time to load
lanceliao1 Mar 11, 2009 9:18 PM (in response to sentcs)Thanks for reply.
The JBossMQTimeToLiveNotWorkingProperl doc offer a method to solve message send by out-of-syc GMT.
Is there any solution for jboss messaging.
http://www.jboss.org/community/docs/DOC-10539
And you meant the message timout only occur when JBM redelivery message to consumers.Can it decide by JBM when a producer sending message to JBMServer. -
6. Re: Jboss-4.2.3 takes lot of time to load
ataylor Mar 12, 2009 6:33 AM (in response to sentcs)And you meant the message timout only occur when JBM redelivery message to consumers.Can it decide by JBM when a producer sending message to JBMServer.
yes, when the message is delivered to the consumer. It wouldn't make sense to check when the producer sends, if you want to do this you could add a line of code before you sent the message.