I have a problem with JMS when the number of Messages is high.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Juan_Ruiz
Posted On:   Tuesday, May 28, 2002 09:03 AM


Hello, I'm working with JMS and When I pass about 4000 messages between the Queues the operation is corret, but When I pass 10000 messages or more the WebLogic writes in the console the next error message.



<28-may-02 17:23:38 CEST>


I don't know what's the meaning of this Error Message. Please, could you explain me the meaning and what is the solution for this problem.



Thank you, in advanced.

Re: I have a problem with JMS when the number of Messages is high.

Posted By:   Man_Raj  
Posted On:   Wednesday, June 12, 2002 10:53 PM

Hi Juan,


Try setting all the parameters like - Message Maximum, Bytes pending etc for QueueConnectionFactory and Queues to their maximum value.


Increase the memory for your java virtual machine.


You can do this by modifying the startWebLogic.cmd file (this is applicable for Weblogic 6.1 app server).


You have to modify the "java " command in this file which will be something like this -



"%JAVA_HOME%injava" -hotspot -ms64m classpath "%CLASSPATH%" ...


to
"%JAVA_HOME%injava" -hotspot -ms64m -mx512m -classpath "%CLASSPATH%" ...



Here we allow the JVM to use the maximum memory of our machine.


You must modify startWebLogic.cmd file inside the domain folder for which you are running your server(mostly it might be "mydomain").


Regards,

-ManRaj.
About | Sitemap | Contact