You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by SledgeHammer <gr...@firstam.com> on 2013/08/21 20:44:53 UTC

Where are the data files stored?

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.

Re: Where are the data files stored?

Posted by SledgeHammer <gr...@firstam.com>.
Yes, the data directory is restored correctly. Java.exe and Wrapper.exe are
gone from task manager. Old queues randomly appear when I restart. If I try
to delete them manually, I often get an exception in the web console and/or
the delete link does nothing.



--
View this message in context: http://activemq.2283324.n4.nabble.com/Where-are-the-data-files-stored-tp4670561p4670627.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Where are the data files stored?

Posted by Christian Posta <ch...@gmail.com>.
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 <gr...@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