activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Paulsen (JIRA) <j...@apache.org>
Subject [jira] [Commented] (AMQ-6163) ActiveMQ creates a new empty KahaDB
Date Wed, 24 Feb 2016 20:32:18 GMT

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

Björn Paulsen commented on AMQ-6163:
------------------------------------

Yes, there are entries for 127.0.0.1 in /etc/hosts
But this is wrong, the folder name should be the broker name, or the folder which is configured:

<broker id="broker" brokerName="SOMENAME" dataDirectory="activemq-data">
this should create activemq-data/SOMENAME/KahaDB/

Or a persistenceAdapter say the directory
<persistenceAdapter>
	<kahaDB directory="activemq-data/SOMETHING/KahaDB" journalMaxFileLength="100mb" cleanupInterval="5000"/>
</persistenceAdapter>

In both cases it never should be activemq-data/127.0.0.1/KahaDB



> ActiveMQ creates a new empty KahaDB
> -----------------------------------
>
>                 Key: AMQ-6163
>                 URL: https://issues.apache.org/jira/browse/AMQ-6163
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: activemq-camel
>    Affects Versions: 5.13.0
>         Environment: Windows 10, Eclipse
>            Reporter: Björn Paulsen
>         Attachments: AllInOneBoilerBug.zip
>
>
> Hello Together,
> I want create a JVM with Camel and ActiveMQ inside.
> I create in Eclipse a new Spring configuration. It works, but when I open the ActiveMQ
Managment Website and look on the Queue Detail Page, where should list all Messages, ActiveMQ
creates a new empty KahaDB in the Directory activemq-data and read from there, so no Messages
are show. When I go back on Queue List i see the right count of messages.
> I ask on Nabble about the Problem, but there couldn't help me anybody. So I think this
is not a configuration error, this should be a bug.
> http://activemq.2283324.n4.nabble.com/ActiveMQ-KahaDB-Directory-td4706593.html
> I have a example Eclipse Project where you can see the error, but I couldn't upload this
here, so I do it on file-upload.net
> http://www.file-upload.net/download-11292082/AllInOneBoilerBug.zip.html
> I hope this could help.
> Thank you very much



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message