Hi,
 
I have a MDB listening on a topic. It receives a message and does a lot of processing, essentialy holding the thread for a long time. I use a multi-threaded client to load it. When I run the client with lots of threads I get the following exception
 
2003-08-04 12:42:36,229 DEBUG [org.jboss.mq.il.oil.OILServerILService] IOException processing client connection
java.io.StreamCorruptedException: Caught EOFException while reading the stream header
 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:851)
 at java.io.ObjectInputStream.<init>(ObjectInputStream.java:174)
 at org.jboss.mq.il.oil.OILServerILService$Client.<init>(OILServerILService.java:181)
 at org.jboss.mq.il.oil.OILServerILService.run(OILServerILService.java:501)
 at java.lang.Thread.run(Thread.java:498)
I see the messages (in the directroy where the messages are stored) siting in the queue but are not picked up the MDB. Can anyone give me any clue on what is happening ? I am running JBoss 3.0.4 on linux.
 
Also, how do I do the following
 
a) change the number of threads in JBoss so that the system can take more load.  Basicaly the performance (number of requests served) I get from a multi-threaded client is not better than the single threaded client. What is wrong going on ?
 
b) change the parameters like time-to-live etc related to Queue
 
c) change the default mode of messages to non-persistent so that I avoid the overheads of IO and storage...
 
Thanks in advance
 
- Girish
 
 
 


Going on a holiday? Want to study abroad? Need a personal loan? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to