[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problems starting JBossmq with DB2

2005-11-28 Thread oaadland
For those of you out there unfortunately enough to run DB2 I have the solution 
to this problem.

The solution to the problem as suggested in 
http://jira.jboss.com/jira/browse/JBAS-1891 (and parent) do not work with DB2. 
Setting fetch direction, concurrent read mode or fetch size will not let you 
load the JBoss messaging service with a large number of messages in a single 
queue. 

The proposed solution 
http://jboss.org/index.html?module=bb&op=viewtopic&t=46186 wouldn't work either 
since you still try to load all messages in a destination in a single sql.

In DB2 memory for LOB records are freed only when the statement handle is 
dropped. This meens that you have to split the fetch sequence into several sqls 
where each sql only return a smaller amount of messages (In my case less than 
1600 messages).

However it is an obscure workaround for this problem. Setting the patch2=50 in 
your db2cli.ini solves these issues. By setting this you tell DB2 to free 
memory after each fetch. This file really is an ODBC config file. Go figure.

Se 
http://publib.boulder.ibm.com/infocenter/db2help/index.jsp?topic=/com.ibm.db2.udb.doc/ad/c0007882.htm
 for further explanation on this and other obscure settings. I hope no one else 
have to use as much time as me on this issue.

Oystein

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problems starting JBossmq with DB2

2005-11-21 Thread oaadland
Thanks Adrian

I obviously searched the wrong categories. I'll do a followup in the subtask in 
Jira.

Oystein

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

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


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Memory problems starting JBossmq with DB2

2005-11-18 Thread [EMAIL PROTECTED]
"oaadland" wrote : 
  | PS: I tried to search for similar posts in the forum and the bug database 
without finding anything. If I missed it I apologise for the inconvenience.
  | 

http://jira.jboss.com/jira/browse/JBAS-1891

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

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


---
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user