We have been running jboss 3.0.x for quite some time without any problems.  Switching 
to 3.2.3 we have a JMS problem.  I don't know if there is a configuration file change 
or if our application is doing something wrong.

The problem is that in {SERVER_HOME}/data/hypersonic, the localDB.data file 
continuously grows.  It never seems to shrink.  We send a LOT of Messages to an MDB 
and the messages are persisted temporarily until handled.  That seems to work just 
fine but the localDB.data keeps growing even when the messages are finished being 
handled.  The file eventually reaches about 2.0 gigs.  At that point, JBoss starts 
throwing lots of exceptions.. example:

Could not store message: 11175 msg=11166 hard NOT_STORED
PERSISTENT queue=QUEUE.EmailQueue priority=4 hashCode=20379376; - nested throwable: 
(java.sql.SQLException: S1000 General error java.lang.NullPointerException in 
statement [INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) 
VALUES(11166,
.... .... ...

The only solution has been to kill the jboss processes, delete the hypersonic 
directory, and then start again, letting hypersonic create a new empty database.

Is there any way to automatically shrink the database?

We are using the default configuration without any customization other than deploying 
our application.  I can connect to the hypersonic db and verify that there are no 
records in the JMS_MESSAGES table but the file is still ever growing.
OS: Linux 2.4.19 kernel
JDK: Blackdown jdk 1.4.1
JBoss: 3.2.3

Thanks for any input.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to