[
https://issues.apache.org/activemq/browse/AMQ-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuriy reopened AMQ-1382:
------------------------
This issue is reproduced in activemq 5.1.0
The directory structure "activemq-data\localhost\tmp_storage" is created within
current directory after starting of ActiveMQ.
Persistent mode is used. Location of created directories is not controlled by
"directory" attribute of amqPersistenceAdapter:
directory structure is always created in current directory and "tmp_storage"
folder remains empty.
XML Configuration file:
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost"
persistent="true">
...
<persistenceAdapter>
<amqPersistenceAdapter syncOnWrite="false"
directory="${MYROOTl}/jmsserver/data" maxFileLength="100 mb"/>
</persistenceAdapter>
...
> Unnecessary creation of /activemq-data/localhost/tmp_storage directory with
> AMQ 5.x
> -----------------------------------------------------------------------------------
>
> Key: AMQ-1382
> URL: https://issues.apache.org/activemq/browse/AMQ-1382
> Project: ActiveMQ
> Issue Type: Bug
> Environment: NA
> Reporter: Dave Stanley
> Assignee: Hiram Chirino
> Fix For: 5.0.0
>
>
> With AMQ 5.0 everytime AMQ runs the following directory structure is created:
> /activemq-data/localhost/tmp_storage.
> This didn't happen in AMQ 4.1.0.X and looks to be a side effect of the new
> temporary spooling feature in 5.x.
> Since the broker is configured to be non-persistent, ActiveMQ should not be
> creating this directory.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.