I am trying to write an application to process huge amounts of data. I try to
process around 1,000, 000 messages [java objects] using a single queue and 8 MDB.
The strange thing is that in the end there are always 10 messages stuck in the
pending message category.
I can also observe that a weblogic thread is stuck. [can see it in the console]
The stuck thread current description is something like "Connectio27.Session28".
I have tried to use the QueueConnectionFactory from a EJB using resource reference
instead of fetching it directly. Even this has not helped. I guess the problem
is that while loading the messages onto the queues, one of the threads gets stuck
somewhere.
I am sing MDB's for processing. There doesnot seem to be any problems on the MDB
side.
If I reboot the server the 10 messages get processed successfully.
Any ideas will be highly appreciated.
-Sharma
This is 81sp02.
-Sharma
Default-transaction=required
Transaction-typr=container
When I was getting the problem, I had nothing for these settings. I do not know
what is the default, probably Not-supported ???
Let me try my testing a few times and than confirm to you guys.
Tom Barnes <pleasereplyinnewsgroup.webl...@newsgroups.bea.com>
wrote:
Looks like having required transaction attribute somehow removes this problem.
But still I do not understand why messages were getting stuck with not-supported
attribute. Tom is it possible to understand this. The phenomenon/Reason behind
this may show up somewhere else :)
-Sharma
Tom Barnes <pleasereplyinnewsgroup.webl...@newsgroups.bea.com>
wrote:
You are right. If the transaction attribute is not specified it is defaulted to
Not-Supported.
This message on startup of server proves it.
<25-Jun-2004 10:03:10 o'clock BST> <Warning> <EJB> <BEA-010212> <The EJB 'AQJMSMDBBean(Application:
AQMDB, EJBComponent: AQMDB)' contains at least one method without an explicit
transaction attribute setting. The default transaction attribute of NotSupported
will be used for the following methods: onMessage(javax.jms.Message)>
Dips
/
sree
"Ghanshyam Sharma" <ghanshya...@fanniemae.com> wrote in message
news:40e2ce39$1@mktnews1...
>
> Hi Tom.
>
> I am attaching a thread dump of the server on windows, when I have 20
messages
> stuck as pending with MDB's having not-supported transaction attribute.
>
> I hope this helps in debugging the problem. Please let me know if
something is
> needed.
>
> Thanks everyone.
Let me check the oracle stuff.
Thanks a Lot.
-Sharma
/
sree
"Ghanshyam Sharma" <ghanshya...@fanniemae.com> wrote in message
news:40e2d9d6$1@mktnews1...