You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2015/10/09 14:14:26 UTC
[jira] [Commented] (ARTEMIS-251) Messaging data created by HornetQ
2.4.7.Final cannot be read by ActiveMQ Artemis
[ https://issues.apache.org/jira/browse/ARTEMIS-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950294#comment-14950294 ]
clebert suconic commented on ARTEMIS-251:
-----------------------------------------
Use the following to export:
java -jar hornetq-tools-2.4.x-SNAPSHOT-jar-with-dependencies.jar export
Use: java -jar hornetq-tools-2.4.x-SNAPSHOT-jar-with-dependencies.jar export <bindings-directory> <journal-directory> <paging-directory> <large-messages-directory>
and after you create the server on artemis:
NAME
artemis data imp - Import all message-data using an XML that could be
interpreted by any system.
SYNOPSIS
artemis data imp [--host <host>] --input <input> [--password <password>]
[--port <port>] [--transaction] [--user <user>] [--verbose]
OPTIONS
--host <host>
The host used to import the data (default localhost)
--input <input>
The input file name (default=exp.dmp)
--password <password>
User name used to import the data. (default null)
--port <port>
The port used to import the data (default 61616)
--transaction
If this is set to true you will need a whole transaction to commit
at the end. (default false)
--user <user>
User name used to import the data. (default null)
--verbose
Adds more information on the execution
> Messaging data created by HornetQ 2.4.7.Final cannot be read by ActiveMQ Artemis
> --------------------------------------------------------------------------------
>
> Key: ARTEMIS-251
> URL: https://issues.apache.org/jira/browse/ARTEMIS-251
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: jdk1.8.0_60 (64bit)
> Windows 7 enterprise SP 1 (64bit)
> Reporter: Nathalie Keymeulen
> Priority: Critical
>
> JMS messages created on WildFly 8.2.0.Final (Hornetq 2.4.7.Final)
> cannot be read by WildFly Full 10.0.0.CR2 (WildFly Core 2.0.0.CR5) (artemis 1.1.0)
> Messages are copied from WildFly 8.2.0.Final To WildFly Full 10.0.0.CR2
> messagingbindings/ -> activemq/bindings/
> messagingjournal/ -> activemq/journal/
> messaginglargemessages/ -> activemq/largemessages/
> messagingpaging/ -> activemq/paging/
> When starting the WildFly Full 10.0.0.CR2 the following ERROR occurs
> ERROR [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 66) AMQ224000: Failure in initialisation: java.lang.IndexOutOfBoundsException: readerIndex(73) + length(1) exceeds writerIndex(73): UnpooledHeapByteBuf(ridx: 73, widx: 73, cap: 73/73)
> at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1166)
> at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:570)
> at io.netty.buffer.WrappedByteBuf.readByte(WrappedByteBuf.java:423)
> at org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readNullableSimpleString(ChannelBufferWrapper.java:64)
> at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager$PersistentQueueBindingEncoding.decode(JournalStorageManager.java:2540)
> at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.newBindingEncoding(JournalStorageManager.java:3211)
> at org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager.loadBindingJournal(JournalStorageManager.java:1759)
> at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:1625)
> at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1535)
> at org.apache.activemq.artemis.core.server.impl.LiveOnlyActivation.run(LiveOnlyActivation.java:60)
> at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:393)
> at org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:381)
> at org.wildfly.extension.messaging.activemq.jms.JMSService.doStart(JMSService.java:173)
> at org.wildfly.extension.messaging.activemq.jms.JMSService.access$000(JMSService.java:60)
> at org.wildfly.extension.messaging.activemq.jms.JMSService$1.run(JMSService.java:94)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> at org.jboss.threads.JBossThread.run(JBossThread.java:320)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)