[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1139) Problem with DownCache storage at JBM startup
Peter Schuebl (JIRA)
jira-events at lists.jboss.org
Tue Nov 6 13:03:44 EST 2007
[ http://jira.jboss.com/jira/browse/JBMESSAGING-1139?page=comments#action_12386242 ]
Peter Schuebl commented on JBMESSAGING-1139:
--------------------------------------------
I have a similar issue.
JBAS 4.2.1 with MySQL - non clustered
JBM 1.4.0.SP1
Queue setup:
<mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=testQueue" xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
<attribute name="FullSize">20</attribute>
<attribute name="PageSize">5</attribute>
<attribute name="DownCacheSize">5</attribute>
</mbean>
The queue is consumed by a bridge (installed on the local server) which forwards to a remote server.
After sending about 50 (of 200) messages I disconnect the remote server from the network.
All the messages get sent to the local queue.
I shut down JBAS and start it again.
I than get an Exception:
Reason: java.lang.IllegalStateException: Cannot load channel 3 since the fullSize parameter is too small to load all the required references, fullSize needs to be at least 151 it is currently 20
I tried the same with a second queue (identical setup, name is testQueue1) without a consumer
=> everything works fine there.
- I changed the FullSize of testQueue to 200 and restarted
=> startup worked fine and all messages delivered to the remote queue
- I changed the value back to 20 and restarted
- disconnected the remote server from the network
- sent all 200 messages with the remote server unavailable
- shut down the local JBAS
- start it up again
=> all the queues start up correctly
- connect the remote server
- all messages are delivered
I don't know if it's the same issue.
The messages are MapMessages containing a byte[] with about 370kB
Is there any other information needed?
> 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 Muoz Alcaraz
> Assigned To: Tim Fox
> Fix For: 2.0.0 Alpha, Stable branch
>
>
> 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