Announcement Announcement Module
Collapse
No announcement yet.
Last known compatible versions of Erlang and RabbitMQ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Last known compatible versions of Erlang and RabbitMQ?

    What are the last known working versions of RabbitMQ and Erlang that are compatible with Spring AMQP?

    I'm having issues after recently upgrading Erlang and RabbitMQ. I'd like to eliminate the upgrades as a possible cause.

  • #2
    We are specifying 2.1.0 for the Java client in Spring AMQP poms. I am testing with 2.1.0 of the server and erts 5.7.4, which is what is bundled with the server on Windows. What are you using?

    Code:
    $ rabbitmqctl status
    Status of node rabbit@ibex ...
    [{running_applications,[{rabbit,"RabbitMQ","2.1.0"},
                            {os_mon,"CPO  CXC 138 46","2.2.4"},
                            {sasl,"SASL  CXC 138 11","2.1.8"},
                            {mnesia,"MNESIA  CXC 138 12","4.4.12"},
                            {stdlib,"ERTS  CXC 138 10","1.16.4"},
                            {kernel,"ERTS  CXC 138 10","2.13.4"}]},
     {nodes,[{disc,[rabbit@ibex]}]},
     {running_nodes,[rabbit@ibex]}]
    Last edited by Dave Syer; Nov 4th, 2010, 11:53 AM. Reason: added rabbitctl output

    Comment


    • #3
      Dave,

      Thanks for the quick reply. I've reverted to the versions you mention but the problem persists so it's back to the drawing board. I was using Erlang 5.8.1.1 and RabbitMQ 2.1.1.

      Shane

      Comment


      • #4
        I am using Erlang 5.8.1.1 and RabbitMQ 2.1.1.

        I don't know if it was down to those reasons but I had to modify the pom.xml files for the examples hello-world and rabbit-stocks.

        HTML Code:
        <?xml version="1.0" encoding="UTF-8"?>
        <project xmlns="http://maven.apache.org/POM/4.0.0"
        	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
        	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        	<modelVersion>4.0.0</modelVersion>
        	<groupId>org.springframework.samples.spring</groupId>
        	<artifactId>spring-rabbit-stocks</artifactId>
        	<version>1.0.0.M1</version>
        	<packaging>jar</packaging>
        	<name>Spring Rabbit Stocks</name>
        	<url>http://www.springframework.org</url>
        	<description>
        		<![CDATA[
              This project shows the usage of Spring Rabbit integration classes.
            ]]>
        	</description>
        	<properties>
        		<maven.test.failure.ignore>true</maven.test.failure.ignore>
        		<rabbitmq.version>1.8.1</rabbitmq.version>
        		<spring.framework.version>3.0.3.RELEASE</spring.framework.version>
        		<spring.amqp.version>1.0.0.M1</spring.amqp.version>
        	</properties>
        	<profiles>
        		<profile>
        			<id>strict</id>
        			<properties>
        				<maven.test.failure.ignore>false</maven.test.failure.ignore>
        			</properties>
        		</profile>
        	</profiles>
        
        	<dependencies>
        	    		<dependency>
          			<groupId>com.rabbitmq</groupId>
          			<artifactId>amqp-client</artifactId>
          			<version>${rabbitmq.version}</version>
        		</dependency>
                <dependency>
          			<groupId>org.springframework.amqp</groupId>
          			<artifactId>spring-amqp</artifactId>
          			<version>${spring.amqp.version}</version>
        		</dependency>
        		<dependency>
          			<groupId>org.springframework.amqp</groupId>
          			<artifactId>spring-rabbit</artifactId>
          			<version>${spring.amqp.version}</version>
        		</dependency>
        		<dependency>
          			<groupId>org.springframework.amqp</groupId>
          			<artifactId>spring-rabbit-admin</artifactId>
          			<version>${spring.amqp.version}</version>
        		</dependency>
        		<dependency>
        			<groupId>org.springframework</groupId>
        			<artifactId>spring-test</artifactId>
        			<version>${spring.framework.version}</version>
        		</dependency>
                <dependency>
        			<groupId>org.springframework</groupId>
        			<artifactId>spring-beans</artifactId>
        			<version>${spring.framework.version}</version>
        		</dependency>
                <dependency>
        			<groupId>org.springframework</groupId>
        			<artifactId>spring-core</artifactId>
        			<version>${spring.framework.version}</version>
        		</dependency>
                 <dependency>
        			<groupId>org.springframework</groupId>
        			<artifactId>spring-asm</artifactId>
        			<version>${spring.framework.version}</version>
        		</dependency>
        		<dependency>
        			<groupId>org.springframework</groupId>
        			<artifactId>spring-context-support</artifactId>
        			<version>${spring.framework.version}</version>
        		</dependency>
                	<dependency>
        			<groupId>org.springframework</groupId>
        			<artifactId>spring-oxm</artifactId>
        			<version>${spring.framework.version}</version>
        		</dependency>
        		<dependency>
        			<groupId>org.springframework</groupId>
        			<artifactId>spring-aop</artifactId>
        			<version>${spring.framework.version}</version>
                    <exclusions>
                        <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-asm</artifactId>
                        </exclusion>
                        <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-beans</artifactId>
                        </exclusion>
                        <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-core</artifactId>
                        </exclusion>
                    </exclusions>
        		</dependency>        
        		<dependency>
        			<groupId>cglib</groupId>
        			<artifactId>cglib-nodep</artifactId>
        			<version>2.2</version>
                    <exclusions>
                        <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-asm</artifactId>
                        </exclusion>
                        <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-beans</artifactId>
                        </exclusion>
                        <exclusion>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-core</artifactId>
                        </exclusion>
                    </exclusions>
        		</dependency>
        		<dependency>
        			<groupId>aspectj</groupId>
        			<artifactId>aspectjrt</artifactId>
        			<version>1.5.4</version>
        		</dependency>
        		<dependency>
        			<groupId>aspectj</groupId>
        			<artifactId>aspectjweaver</artifactId>
        			<version>1.5.4</version>
        		</dependency>
        		<dependency>
        			<groupId>junit</groupId>
        			<artifactId>junit</artifactId>
        			<version>4.7</version>
        			<scope>test</scope>
        		</dependency>
        		<dependency>
        			<groupId>log4j</groupId>
        			<artifactId>log4j</artifactId>
        			<version>1.2.14</version>
        			<scope>runtime</scope>
        		</dependency>
        		<dependency>
        		  <groupId>com.jgoodies</groupId>
        		  <artifactId>forms</artifactId>
        		  <version>1.2.1</version>
        		</dependency>
        	</dependencies>
        	<build>
        		<pluginManagement>
        			<plugins>
        				<!--<plugin>-->
        					<!--<groupId>com.springsource.bundlor</groupId>-->
        					<!--<artifactId>com.springsource.bundlor.maven</artifactId>-->
        					<!--<version>1.0.0.M1B</version>-->
        				<!--</plugin>-->
        				<plugin>
        					<artifactId>maven-assembly-plugin</artifactId>
        					<inherited>false</inherited>
        					<configuration>
        						<descriptorRefs>
        							<descriptorRef>project</descriptorRef>
        						</descriptorRefs>
        					</configuration>
        				</plugin>
        			</plugins>
        		</pluginManagement>
        		<plugins>
        			<plugin>
        				<groupId>org.apache.maven.plugins</groupId>
        				<artifactId>maven-compiler-plugin</artifactId>
        				<configuration>
        					<source>1.5</source>
        					<target>1.5</target>
        				</configuration>
        			</plugin>
        			<plugin>
        				<groupId>org.apache.maven.plugins</groupId>
        				<artifactId>maven-surefire-plugin</artifactId>
        				<configuration>
        					<!--forkMode>pertest</forkMode-->
        					<includes>
        						<include>**/*Tests.java</include>
        					</includes>
        					<excludes>
        						<exclude>**/Abstract*.java</exclude>
        					</excludes>
        				</configuration>
        			</plugin>
        		</plugins>
        	</build>
        
        	<pluginRepositories>
        		<pluginRepository>
        			<id>Codehaus</id>
        			<url>http://repository.codehaus.org/</url>
        			<snapshots>
        				<enabled>false</enabled>
        			</snapshots>
        		</pluginRepository>
        	</pluginRepositories>
        	<distributionManagement>
        		<downloadUrl>http://www.springframework.org/download</downloadUrl>
        		<site>
        			<id>staging</id>
        			<url>file:///${user.dir}/target/staging/org.springframework.batch.archetype/${pom.artifactId}</url>
        		</site>
        		<repository>
        			<id>spring-release</id>
        			<name>Spring Release Repository</name>
        			<url>file:///${user.dir}/target/staging/release</url>
        		</repository>
        		<snapshotRepository>
        			<id>spring-snapshot</id>
        			<name>Spring Snapshot Repository</name>
        			<url>file:///${user.dir}/target/staging/snapshot</url>
        		</snapshotRepository>
        	</distributionManagement>
        	<repositories>
        		<repository>
        			<id>repository.springframework.maven.milestone</id>
        			<name>Spring Framework Maven Milestone Repository</name>
        			<url>http://maven.springframework.org/milestone</url>
        		</repository>
        	</repositories>
        </project>

        Comment

        Working...
        X