• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

application up but Messages not processed

 
Ranch Hand
Posts: 63
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi fellow ranchers,
My java application reads messages from a input queue 'A' and sends it to output Queue 'B'.We run our application using autosys job.
At some point in time,the process shows that application is in RU(running) status,however it does not really process the messages.,Messages get piled up in the input Queue A.The log file does not get updated.environment is solaris environment.

Can some one please shed some light on this.I have tried debugging this in my development IDE,but messages get processed properly.

appreciate your help

cheers
vinnym
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How does your java Application reads (Consumes) the Messages? Is it through MDB? Also How are you sending messages to Queue B? And who consumes the Messages from Queue B?

I am asking these questions because we had a similar problem in our application once. The Queue B didn't had a reciever and it was so full that the MDB which was trying to send the Message to Queue B was stuck and all the MDBs and Threads listening to Queue A where exhausted.
 
Vinny Menon
Ranch Hand
Posts: 63
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amit,
Thanks for the prompt reply.

We read from the input Q using MessageConsumer class using the method ;

We send the messages using the MessageProducer class using the send method ;

i tried sending 500 messages in my eclipse IDE,none of the messages were stuck,all of them just processed smoothly.

regards
vinny m
[ July 05, 2007: Message edited by: Vinny Menon ]
 
Amit M Tank
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If this receive is done within a transaction, the consumer retains the message until the transaction commits. Also when you use the recieve method it blocks the queue. Why don't you try to use Asyn Consumption? Did you try to take a Thread Dump of the JVM and check what processing is being done?

Some Tips here
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic