2 Replies Latest reply on Mar 7, 2017 5:33 AM by Alessio Soldano

    What's the RestEasy version of Wildfly-10.1.0.Final

    Bruno Frascino Newbie

      Hello everyone,

       

      How can I check the version of RestEasy Wildfly is using?

      How can I upgrade it as the latest RestEasy release is 3.1.1.Final?

       

      I have a Maven project, should I just include the RestEasy dependency and not set it as 'provided'? Like:

       

      <dependency>
        <groupId>org.jboss.resteasy</groupId>
        <artifactId>resteasy-jaxrs</artifactId>
        <version>3.1.1.Final</version>
      </dependency>
      

       

       

      So the WAR file will be loaded with RestEasy package, would that be enough for deploying in Wildfly, which could eventually have an older version of RestEasy?

       

      Thanks

        • 1. Re: What's the RestEasy version of Wildfly-10.1.0.Final
          Bruno Frascino Newbie

          Ok, after some digging in the Wildfly installation folders I found RestEasy jars at:

           

          wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/resteasy/resteasy-jaxrs/main

           

          And the version is, as in the jar file:  resteasy-jaxrs-3.0.19.Final.jar

           

          I wanted to upgrade to 3.1.1.Final version, so I did:

           

          - downloaded the zip file of the latest version of RestEasy from: http://resteasy.jboss.org/downloads

          - unpacked the file in a temporary directory

          - it has within two other zip files: resteasy-jboss-modules-3.1.1.Final-mavenized.zip and resteasy-jboss-modules-3.1.1.Final.zip which are the Wildfly modules so next step...

          - upacked both .zip files at: wildfly-10.1.0.Final/modules/system/layers/base

           

          I didn't have to delete anything and my pom.xml has:

           

          1. <dependency> 
          2.   <groupId>org.jboss.resteasy</groupId> 
          3.   <artifactId>resteasy-jaxrs</artifactId> 
          4.   <version>3.1.1.Final</version>
          5.   <scope>provided</scope>
          6. </dependency>

           

          • 2. Re: What's the RestEasy version of Wildfly-10.1.0.Final
            Alessio Soldano Master

            That's all right.

            As for the version of RESTEasy included in WildFly, knowing that will be easier starting from WildFly 11, as the version will be printed in a log message during the boot.