Hi,
JBoss version 3.2.3
We've a system with a session bean that publishes messages on a topic. Message driven
beans are subscribed to the topic. The system works fine if a approx 3 messages per
seconds are posted. When more messages are posted, messages appear to disappear. They
are sent to the topic but never 'reach' a message driven bean. The maximum amount of
MDBs is set to 1000, much more than necessary so that shouldn't be the problem.
If I look in the logfile, the message appears to disappear somewhere when sent to the
topic.
Directly below some loggings of a message that 'disappears'. Below that some loggings
of a correctly handled message are listed. The logging 'TOPIC.testTopic->addMessage'
never appears for messages that disappear. Any idea what might be the problem?
---- LOG
2004-04-01 12:26:22,578 TRACE [org.jboss.mq.server.TracingInterceptor] ARG :
org.jboss.mq.SpyObjectMessage {
Header {
jmsDestination : TOPIC.testTopic
jmsDeliveryMode : 2
jmsExpiration : 1080818792578
jmsPriority : 1
jmsMessageID : ID:258-108081878257864
jmsTimeStamp : 1080818782578
jmsCorrelationID: null
jmsReplyTo : null
jmsType : null
jmsRedelivered : false
jmsProperties : {provider=SIM}
jmsPropertiesReadWrite:true
msgReadOnly : false
producerClientId: ID:258
}
}
2004-04-01 12:26:22,578 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED :
addMessage
2004-04-01 12:26:22,578 TRACE [org.jboss.mq.server.MessageReference] getMessage lock
aquire 6324 msg=1761 hard STORED PERSISTENT queue=QUEUE.testQueue priority=1
hashCode=2355778
2004-04-01 12:26:22,593 TRACE [org.jboss.mq.security.SecurityManager] Checking
authorize on subjectInfo: SubjectInfo {subject=Subject:
Principal: guest
Principal: Roles(members:guest)
;principal=null;roles=Roles(members:guest) for rolePrincipals [durpublisher,
publisher, guest]
2004-04-01 12:26:22,593 TRACE [org.jboss.mq.server.MessageCache]
messageReferenceUsedEvent lock aquire message 6324 msg=1761 hard STORED PERSISTENT
queue=QUEUE.testQueue priority=1 hashCode=2355778 wasHard=true
2004-04-01 12:26:22,578 TRACE [org.jboss.mq.server.MessageCache] add locks release6329
msg=2282 hard NOT_STORED PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648 priority=1
hashCode=17987846
2004-04-01 12:26:22,578 TRACE [org.jboss.mq.server.MessageCache] remove lock release
message 6299 msg=1755 hard soft STORED PERSISTENT queue=QUEUE.testQueue priority=4
hashCode=17704026 clear= false reset=false
...........
---- END LOG
If I compare it with loggings of a messages that don't have problems, I see text in
the logfile like 'TOPIC.testTopic->addMessage' which I miss for the messages that
'disappear'.
Correctly handled message:
---- LOG
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.TracingInterceptor] ARG :
org.jboss.mq.SpyObjectMessage {
Header {
jmsDestination : TOPIC.testTopic
jmsDeliveryMode : 2
jmsExpiration : 1080818247125
jmsPriority : 1
jmsMessageID : ID:15-108081823712512
jmsTimeStamp : 1080818237125
jmsCorrelationID: null
jmsReplyTo : null
jmsType : null
jmsRedelivered : false
jmsProperties : {provider=SIM}
jmsPropertiesReadWrite:true
msgReadOnly : false
producerClientId: ID:15
}
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.security.SecurityManager] Checking
authorize on subjectInfo: SubjectInfo {subject=Subject:
Principal: guest
Principal: Roles(members:guest)
;principal=null;roles=Roles(members:guest) for rolePrincipals [durpublisher,
publisher, guest]
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] add lock aquire
message 105 msg=37 hard NOT_STORED PERSISTENT queue=TOPIC.testTopic.ID:4.-2147483648
priority=1 hashCode=8469194
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] add lock aquire
lruCache 105 msg=37 hard NOT_STORED PERSISTENT queue=TOPIC.testTopic.ID:4.-2147483648
priority=1 hashCode=8469194
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] add locks release105
msg=37 hard NOT_STORED PERSISTENT queue=TOPIC.testTopic.ID:4.-2147483648 priority=1
hashCode=8469194
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] run lock aquire,
validateSoftReferenceDepth
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] Memory usage
serverity=1.0
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] Need to soften 2
messages
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] run lock release,
validateSoftReferenceDepth
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageCache] soften lock acquire
104 msg=36 hard NOT_STORED PERSISTENT queue=TOPIC.testTopic.ID:1.-2147483648
priority=1 hashCode=16579856
2004-04-01 12:17:17,125 TRACE [org.jboss.mq.server.MessageReference] makeSoft lock
aquire 104 msg=36 hard NOT_STORED PERSISTENT
....
2004-04-01 12:17:17,140 TRACE [org.jboss.mq.SpyConnectionConsumer]
SpyConnectionConsumer:TOPIC.testTopic->addMessage(mes=org.jboss.mq.SpyObjectMessage {
Header {
jmsDestination : TOPIC.testTopic
jmsDeliveryMode : 2
jmsExpiration : 1080818247125
jmsPriority : 1
jmsMessageID : ID:15-108081823712512
jmsTimeStamp : 1080818237125
jmsCorrelationID: null
jmsReplyTo : null
jmsType : null
jmsRedelivered : false
jmsProperties : {provider=SIM}
jmsPropertiesReadWrite:false
msgReadOnly : true
producerClientId: ID:15
}
---- END LOG
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828547#3828547
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828547
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user