Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Apache Derby store its files when used with Apache Qpid?

Tags:

amqp

derby

qpid

I'm using Derby DB as storage for my Qpid broker. Trying to figure out where Derby store the data files when running as embedded db.

Anyone has a clue where the files are located or how to set the directory to use?

like image 481
Carl Avatar asked Nov 21 '12 15:11

Carl


2 Answers

This is determined by the derby.system.home property.

Specifies the Derby system directory, which is the directory that contains subdirectories holding databases that you create and the text file derby.properties.

Each database has a corresponding directory named after the database. The file structure under this directory is documented here.

like image 107
Brian Agnew Avatar answered Oct 22 '22 01:10

Brian Agnew


You should set the following variables:

QPID_HOME - specifies where your install of Qpid exists, used for broker lookups of files etc

QPID_WORK - defines location of all working files created by the broker including log and db (i.e. BDB if used). Note that the QPID_WORK variable defaults to the current user's home directory if not set.

like image 1
Carl Avatar answered Oct 22 '22 02:10

Carl