Hello,

I experience some troubles to add Artemis REST Interface into Wildfly 11 Beta1.
I followed the documentation here 
(https://activemq.apache.org/artemis/docs/1.5.5/rest.html) Section « Installing 
Within Pre-configured Environment » for web.xml file.

But the WAR deployment failed with this error :

WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => 
"artemis-rest.war")]) - failure description: {"WFLYCTL0080: Failed services" => 
{"jboss.undertow.deployment.default-server.default-host./artemis-rest" => 
"java.lang.RuntimeException: java.lang.RuntimeException: You must install 
RESTEasy as a Bootstrap Listener and it must be listed before this class

Can someone help me to pinpoint what I'm missing ?

Here is the pom.xml I use :

<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
        <modelVersion>4.0.0</modelVersion>
        <groupId>my.group</groupId>
        <artifactId>artemis-rest</artifactId>
        <version>1.0.0</version>
        <packaging>war</packaging>

        <properties>
                
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <maven.compiler.target>1.8</maven.compiler.target>
                <maven.compiler.source>1.8</maven.compiler.source>
        </properties>

        <dependencies>
                <dependency>
                        <groupId>org.apache.activemq.rest</groupId>
                        <artifactId>artemis-rest</artifactId>
                        <version>1.5.5.jbossorg-006</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>*</groupId>
                                        <artifactId>*</artifactId>
                                </exclusion>
                        </exclusions>
                </dependency>
        </dependencies>

        <build>
                <finalName>${project.artifactId}</finalName>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                                <version3.1.0</version>
                                <configuration>
                                        <archive>
                                                <manifestEntries>
                                                        
<Dependencies>org.apache.activemq.artemis export</Dependencies>
                                                </manifestEntries>
                                        </archive>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
</project>




Sourin Vincent - Systems Engineer
Bridgestone Aircraft Tire (Europe)
Route de Bavay - B7080 Frameries (Belgium)
Tel: +32 65 61 11 53 - Fax: +32 65 61 11 09
GSM : +32 492 97 44 99


Reply via email to