Aidan Skinner wrote:
On Thu, Jul 9, 2009 at 9:03 AM, Gordon Sim<[email protected]> wrote:
Rafael Schloming wrote:
I don't know about this change, but it does seem like the configuration of
persistent resources for the java broker needs some thinking through.
Probably the cpp broker as well, last I checked it automatically creates a
data-dir in your home directory if you don't specify one, and IMHO that's
not particularly good form.
Do you think there should be a different default location (e.g. current
dir)? or that the user should be forced to specify a data-dir (or specify
--no-data-dir)?
/var/spool or maybe /var/lib would seem sensible choices on *nix to
me. I have no idea where you'd put that sort of thing on Windows. I
think defaulting to $HOME or cwd is a bit weird. Something to allow as
an option at build time?
There is an init script (cpp/etc/qpidd) that sets data-dir to
/var/lib/qpidd and that would be the common practice for an installed
service. The defaulting to home or cwd is mainly for use by users
without write permission to those directories.
I don't think having /var/lib/... as a built in default is in general
the right thing. It could always be a build option, but I'm not at all
convinced anyone would use that rather than the runtime option.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]