activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6637) ActiveMQ creating duplicated directories
Date Tue, 18 Apr 2017 11:01:41 GMT

    [ https://issues.apache.org/jira/browse/AMQ-6637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972502#comment-15972502
] 

Gary Tully commented on AMQ-6637:
---------------------------------

that looks like a bug, however it may make sense to have a single absolute file name directory
as a (system) property and reference that in the sub elements. like in the default configuration
via the use of ${activemq-data}:
https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=blob_plain;f=assembly/src/release/conf/activemq.xml;hb=HEAD


> ActiveMQ creating duplicated directories
> ----------------------------------------
>
>                 Key: AMQ-6637
>                 URL: https://issues.apache.org/jira/browse/AMQ-6637
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: KahaDB
>    Affects Versions: 5.10.2
>            Reporter: Fábio Wagner
>
> Hello,
> I'm using ActiveMQ with KahaDB in a Application with these configurations:
> {code}
> <amq:broker advisorySupport="false" brokerName="localhost" dataDirectory="../../Conf/Integrator/data/amq"
name="broker" useJmx="true">
> 				<amq:persistenceAdapter>
> 					<amq:kahaDB directory="../../Conf/Integrator/data/amq" enableJournalDiskSyncs="false"
indexWriteBatchSize="10000" indexCacheSize="1000"/>
> 				</amq:persistenceAdapter>
> {code}
> When some error occurs at my application, AMQ is generating a "activemq-data\localhost\KahaDB"
directory at "../" with the exactly same files that already exists at Conf\Integrator\data\amq,
and sometimes locking the application.
> Why is this happening?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message