mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-5105 - problem starting broker with leveldb store
This commit is contained in:
parent
4d4766e3a3
commit
4da588d4fc
|
@ -79,14 +79,16 @@
|
|||
<version>${hawtbuf-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
<artifactId>jackson-core-asl</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
<artifactId>jackson-mapper-asl</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.apache.activemq.store.MessageStore;
|
|||
import org.apache.activemq.store.PersistenceAdapter;
|
||||
import org.apache.activemq.store.TopicMessageStore;
|
||||
import org.apache.activemq.store.TransactionRecoveryListener;
|
||||
import org.codehaus.jackson.map.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.fusesource.hawtbuf.AsciiBuffer;
|
||||
import org.fusesource.hawtbuf.DataByteArrayOutputStream;
|
||||
import org.fusesource.hawtbuf.UTF8Buffer;
|
||||
|
|
|
@ -165,14 +165,16 @@
|
|||
<version>0.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
<artifactId>jackson-core-asl</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
<artifactId>jackson-mapper-asl</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.hadoop</groupId>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
package org.apache.activemq.leveldb.replicated.dto;
|
||||
|
||||
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.activemq.leveldb.replicated.dto;
|
||||
|
||||
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
package org.apache.activemq.leveldb.replicated.dto;
|
||||
|
||||
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
package org.apache.activemq.leveldb.replicated.dto;
|
||||
|
||||
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
package org.apache.activemq.leveldb.replicated.dto;
|
||||
|
||||
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
package org.apache.activemq.leveldb.replicated
|
||||
|
||||
import org.apache.activemq.leveldb.replicated.groups._
|
||||
import org.codehaus.jackson.annotate.JsonProperty
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import org.apache.activemq.leveldb.util.{Log, JsonCodec}
|
||||
import java.io.IOException
|
||||
|
||||
|
|
|
@ -20,12 +20,12 @@ package org.apache.activemq.leveldb.replicated.groups
|
|||
import collection.mutable.{ListBuffer, HashMap}
|
||||
|
||||
import java.io._
|
||||
import org.codehaus.jackson.map.ObjectMapper
|
||||
import com.fasterxml.jackson.databind.ObjectMapper
|
||||
import collection.JavaConversions._
|
||||
import java.util.LinkedHashMap
|
||||
import java.lang.{IllegalStateException, String}
|
||||
import beans.BeanProperty
|
||||
import org.codehaus.jackson.annotate.JsonProperty
|
||||
import com.fasterxml.jackson.annotation.JsonProperty
|
||||
import org.apache.zookeeper.KeeperException.NoNodeException
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.activemq.leveldb.util
|
||||
|
||||
import org.codehaus.jackson.map.ObjectMapper
|
||||
import com.fasterxml.jackson.databind.ObjectMapper
|
||||
import org.fusesource.hawtbuf.{ByteArrayOutputStream, Buffer}
|
||||
import java.io.InputStream
|
||||
|
||||
|
|
|
@ -67,14 +67,16 @@
|
|||
|
||||
<!-- For Optional Snappy Compression -->
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
<artifactId>jackson-core-asl</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.jackson</groupId>
|
||||
<artifactId>jackson-mapper-asl</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Testing Dependencies -->
|
||||
|
|
|
@ -16,12 +16,16 @@
|
|||
*/
|
||||
package org.apache.activemq.partition.dto;
|
||||
|
||||
import org.codehaus.jackson.annotate.JsonProperty;
|
||||
import org.codehaus.jackson.map.DeserializationConfig;
|
||||
import org.codehaus.jackson.map.ObjectMapper;
|
||||
import org.codehaus.jackson.map.SerializationConfig;
|
||||
import org.codehaus.jackson.map.annotate.JsonDeserialize;
|
||||
import org.codehaus.jackson.map.annotate.JsonSerialize;
|
||||
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.fasterxml.jackson.databind.DeserializationConfig;
|
||||
import com.fasterxml.jackson.databind.SerializationFeature;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
|
@ -33,14 +37,14 @@ public class Partitioning {
|
|||
|
||||
static final public ObjectMapper MAPPER = new ObjectMapper();
|
||||
static {
|
||||
MAPPER.setSerializationInclusion(JsonSerialize.Inclusion.NON_NULL);
|
||||
MAPPER.disable(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES);
|
||||
MAPPER.setSerializationInclusion(JsonInclude.Include.NON_NULL);
|
||||
MAPPER.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
|
||||
}
|
||||
|
||||
static final public ObjectMapper TO_STRING_MAPPER = new ObjectMapper();
|
||||
static {
|
||||
TO_STRING_MAPPER.disable(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES);
|
||||
TO_STRING_MAPPER.enable(SerializationConfig.Feature.INDENT_OUTPUT);
|
||||
TO_STRING_MAPPER.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
|
||||
TO_STRING_MAPPER.enable(SerializationFeature.INDENT_OUTPUT);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
package org.apache.activemq.partition.dto;
|
||||
|
||||
import org.codehaus.jackson.annotate.JsonProperty;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Collection;
|
||||
|
|
|
@ -410,12 +410,12 @@
|
|||
<version>${json-simple-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.fusesource.insight</groupId>
|
||||
<groupId>io.fabric8.insight</groupId>
|
||||
<artifactId>insight-log-core</artifactId>
|
||||
<version>${insight-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.fusesource.insight</groupId>
|
||||
<groupId>io.fabric8.insight</groupId>
|
||||
<artifactId>insight-log4j</artifactId>
|
||||
<version>${insight-version}</version>
|
||||
</dependency>
|
||||
|
@ -429,6 +429,18 @@
|
|||
<artifactId>proton-j</artifactId>
|
||||
<version>${qpid-proton-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
|
|
@ -138,13 +138,8 @@
|
|||
<include>org.apache.geronimo.specs:geronimo-j2ee-management_1.1_spec</include>
|
||||
<include>org.apache.geronimo.specs:geronimo-jms_1.1_spec</include>
|
||||
<include>org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec</include>
|
||||
<include>org.ops4j.pax.url:pax-url-aether</include>
|
||||
<include>${pom.groupId}:activemq-web</include>
|
||||
<include>org.fusesource.hawtbuf:hawtbuf</include>
|
||||
<include>org.fusesource.insight:insight-log-core</include>
|
||||
<!-- TODO: we use a patched insight-log4j AR from assembly/src/release/lib until a new release is out
|
||||
<include>org.fusesource.insight:insight-log4j</include>
|
||||
-->
|
||||
</includes>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
|
@ -220,15 +215,19 @@
|
|||
<include>org.fusesource.hawtjni:hawtjni-runtime</include>
|
||||
<include>org.xerial.snappy:*</include>
|
||||
<include>org.iq80.snappy:*</include>
|
||||
<include>org.codehaus.jackson:*</include>
|
||||
<include>org.linkedin:org.linkedin.zookeeper-impl</include>
|
||||
<include>org.linkedin:org.linkedin.util-core</include>
|
||||
<include>org.apache.zookeeper:zookeeper</include>
|
||||
<include>com.fasterxml.jackson.core:*</include>
|
||||
|
||||
<!-- Apache Shiro dependencies: -->
|
||||
<include>org.apache.shiro:shiro-core</include>
|
||||
<include>org.apache.shiro:shiro-spring</include>
|
||||
|
||||
<!-- insight log -->
|
||||
<include>io.fabric8.insight:insight-log-core</include>
|
||||
<include>io.fabric8.insight:insight-log4j</include>
|
||||
|
||||
</includes>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
|
|
Binary file not shown.
|
@ -29,7 +29,7 @@
|
|||
</bean>
|
||||
|
||||
<!-- Allows accessing the server log -->
|
||||
<bean id="logQuery" class="org.fusesource.insight.log.log4j.Log4jLogQuery"
|
||||
<bean id="logQuery" class="io.fabric8.insight.log.log4j.Log4jLogQuery"
|
||||
lazy-init="false" scope="singleton"
|
||||
init-method="start" destroy-method="stop">
|
||||
</bean>
|
||||
|
|
20
pom.xml
20
pom.xml
|
@ -69,8 +69,8 @@
|
|||
<hsqldb-version>1.8.0.12</hsqldb-version>
|
||||
<httpclient-version>4.2.5</httpclient-version>
|
||||
<httpcore-version>4.2.4</httpcore-version>
|
||||
<insight-version>7.2.0.redhat-024</insight-version>
|
||||
<jackson-version>1.9.12</jackson-version>
|
||||
<insight-version>1.1.0.CR3</insight-version>
|
||||
<jackson-version>2.4.1</jackson-version>
|
||||
<jasypt-version>1.9.2</jasypt-version>
|
||||
<jaxb-bundle-version>2.2.1.1_2</jaxb-bundle-version>
|
||||
<jdom-version>1.0</jdom-version>
|
||||
|
@ -647,6 +647,22 @@
|
|||
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-core</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-annotations</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson-version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Used to configure the activemq logs -->
|
||||
<dependency>
|
||||
<groupId>log4j</groupId>
|
||||
|
|
Loading…
Reference in New Issue