[jboss-user] [JBoss Messaging] - Messaging doesn`t startup becouse MaxSize has been exceeded

amalcaraz do-not-reply at jboss.com
Tue Oct 23 11:49:59 EDT 2007


Hi all,
	We have a serious problem with Pageable Channel support in JBoss Messaging 1.4.0.GA.

If you send, without consumers, MaxSize+n messages to a queue and you stop the application server it never start again.

	When you try to start it, it throws this exception:

java.lang.IllegalStateException: Cannot load channel 2 since the fullSize parameter is too small to load  all the required references, fullSize needs to be at least 200 it is currently 101

	I think (I have studied your source code)  it is because Messaging gets DownSizeCache messages in memory (to improve persistence), and when you stop the AS the number of messages in memory is MaxSize + DownCacheSize.

	The test environment is:

	JBoss Application Server 4.2.1
	JBoss Messaging 1.4.0.GA
	JDK 1.5.0 update 12
	Windows XP / Linux RedHat
	PostgreSQL 8.2.4

Could you help me to solve this issue?

Thanks in advance,
-Abel

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097961#4097961

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097961



More information about the jboss-user mailing list