Skip to main content

how to increase limit on data transferred in JDBC connection pool?

1 reply [Last post]
929 Guest
Offline
Joined: 2012-02-13

Hi,

Using web admin console in Glassfish v3.1.2 on Linux CentOS server, how can I increase the default limit for message size for my JDBC connection pool used by my Java application?

I'm using BlazeDS from Adobe to transfer binary data between Java and a Flex application using AMF protocol, and when the size of the data becomes sufficiently large, I encounter an error at the client: "RangeError: Error #2006: The supplied index is out of bounds." I'm hoping this will fix it.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
929 Guest
Offline
Joined: 2012-02-13

I seemed to fix it by increasing "Send Buffer Size" to 2MB, located in:
Configurations / server-config / Network Config / Network Listeners / jk-connector / HTTP tab.

I did the same with the "Buffer Size", located in:
… / Network Config / Transports / tcp (tree item)

Should I set the tcp Buffer Size greater than the HTTP Send Buffer Size, or is equal sizes fine?

Also, in the jk-connector section above, I noticed the File Cache tab setting for Max Cache Size is 10MB, and I wondered if I should also be increasing that.

----- Original Message -----
From: modjklist@comcast.net
To: users@glassfish.java.net
Sent: Tuesday, September 18, 2012 11:43:02 AM
Subject: how to increase limit on data transferred in JDBC connection pool?

Hi,

Using web admin console in Glassfish v3.1.2 on Linux CentOS server, how can I increase the default limit for message size for my JDBC connection pool used by my Java application?

I'm using BlazeDS from Adobe to transfer binary data between Java and a Flex application using AMF protocol, and when the size of the data becomes sufficiently large, I encounter an error at the client: "RangeError: Error #2006: The supplied index is out of bounds." I'm hoping this will fix it.