[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-1139) Problem with DownCache storage at JBM startup
Abel Munoz Alcaraz (JIRA)
jira-events at lists.jboss.org
Wed Nov 7 06:25:45 EST 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-1139?page=all ]
Abel Munoz Alcaraz updated JBMESSAGING-1139:
--------------------------------------------
Attachment: PagingChannelSupport-BugFIX-JBMESSAGING-1139.patch
Hi Tim,
this patch is a possible bug fix.
At queue startup stage (load), it restores the downCache as it was when the AS was stopped or killed.
At queue shutdown stage (unload), it flushes the downCache.
I hope it will be useful.
-Abel
> Problem with DownCache storage at JBM startup
> ---------------------------------------------
>
> Key: JBMESSAGING-1139
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1139
> Project: JBoss Messaging
> Issue Type: Bug
> Components: Messaging Core
> Affects Versions: 1.4.0.SP1
> Environment: OS: Windows XP SP2 / Linux RedHat
> JDK: Sun 1.5.0 Update 12 / 13
> JBAS: 4.2.1.GA (Non-Clustered)
> JBM: 1.4.0.SP1 (Non-Clustered)
> DBMS: PostgreSQL 8.2.4 / 8.2.5
> Reporter: Abel Munoz Alcaraz
> Assigned To: Tim Fox
> Fix For: 2.0.0 Alpha, Stable branch
>
> Attachments: PagingChannelSupport-BugFIX-JBMESSAGING-1139.patch
>
>
> PRECONDITIONS:
> A non-clustered fresh installation of JBM 1.4.0.SP1 in a JBAS 4.2.1.GA with PostgreSQL 8.2.4.
> WORKFLOW:
> 1.- Install JBAS 4.2.1 with PostgresSQL in a Non-Clustered environment
> 2.- Inslall JBM 1.4.0.SP1
> 3.- Startup JBAS with JBM.
> 4.- Send 200100 messages (1K each one) to '/queue/testQueue'.
> 5.- Stop the AS
> 6.- Startup the AS.
> POSTCONDITIONS:
> There are 200100 message references in jbm_msg_ref with page_ord = null (100 belongs to unflushed downCache).
> When you try to boot AS it says: "Cannot load channel x since the fullSize parameter is too small to
> load all the required references, fullSize needs to be at least 200100 it is currently 200000".
> This is done (it seems) becouse when I shutdown the server the downCache is not flushed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list