james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fondermann <bf_...@brainlounge.de>
Subject Re: Problems using Derby for stores
Date Sun, 13 Nov 2005 12:10:14 GMT
Noel J. Bergman wrote:

>>By default the page cache is 1000 pages, and the default page size is 4k.
>>However I would guess with James that the default page size is 32k, as
>>it increases for tables with BLOBs/CLOBs or long rows. Thus the page
>>cache is much bigger when using BLOBs etc.
>>You can try bumping the page cache size down,
> So just -D it when launching JAMES?

-D properties are indeed recognized at least for opening a socket for derby:

Added -Dderby.drda.startNetworkServer=true to the phoenix.sh command 
line plus put derby[net|tools|client].jar into the lib directory 
containing derby.jar.

now the embedded db could be connected using the derby command line 

ij> connect 'jdbc:derby://localhost/../apps/james/var/derbydb'

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message