Search code examples
derbyamqpqpid

Where does Apache Derby store its files when used with Apache 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?


Solution

  • 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.