activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: Where are the data files stored?
Date Wed, 21 Aug 2013 20:43:13 GMT
When you delete the data dir, does activemq correctly restore it?

you can check your scripts also. some people specify ACTIVEMQ_DATA env
variable, which gets set to system property named "activemq.data"... here's
the code that resolves the data dir:

    public File getActiveMQDataDir() {
        File activeMQDataDir = null;

        if (System.getProperty("activemq.data") != null) {
            activeMQDataDir = new File(System.getProperty("activemq.data"));
        } else {
            activeMQDataDir = new File(getActiveMQBase() + "/data");
        }
        return activeMQDataDir;
    }





On Wed, Aug 21, 2013 at 11:44 AM, SledgeHammer <grosin@firstam.com> wrote:

> Man, my install seems corrupt. I stop & start the service (Windows 64) and
> old queues randomly pop up. I've deleted the data directory completely.
> Java.exe and wrapper.exe are completely gone. Where the heck are you guys
> pulling these from???
>
> If I try to delete the queues and topics, the web console randomly crashes
> all the time.
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Where-are-the-data-files-stored-tp4670561.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message