1 Reply Latest reply on Jul 15, 2014 4:42 AM by wdfink

    Multiple Applications with same runtime-name

    ahmadyousaf

      Hello,

       

      I have 2 versions of an app: app_V1.war and app_V2.war. These are RESTful API's and differ in some functionality. I want to have a single runtime name for these different versions so that my RESTful URL looks like this:

      http://mydomain.com/app/v1/.../resource

      http://mydomain.com/app/v2/.../resource

       

      When I deploy these 2 apps using the management console, the apps are deployed but only one works at a time. The other is shown as deployed but is not accessible.

      If I try to deploy using CLI, it deploys the 1st app but gives the following error for the 2nd one:

       

      {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS018785: There is already a deployment called app_V1.war with the same runtime name app.war"}}

       

      I've tried AS7, wildfly8.0 and wildfly8.1 but same behavior with all versions.

       

      Please help