Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17172

Deployment to WildFly 8 shows errors when using management api

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.2.0.Beta2
    • 4.2.0.Beta1
    • server
    • None
    • Hide

      1. Start Eclipse with a clean workspace
      2. Set up a WildFly 8 server using management api profile (8.0 or 8.1)
      3. Create a dynamic web project
      4. Start your server
      5. In Server view, right-click the server and select Add or remove projects
      6. Select your dynamic web project, add it and hit OK/Finish
      -> project is deployed, but there are errors in error view and workspace log

      Show
      1. Start Eclipse with a clean workspace 2. Set up a WildFly 8 server using management api profile (8.0 or 8.1) 3. Create a dynamic web project 4. Start your server 5. In Server view, right-click the server and select Add or remove projects 6. Select your dynamic web project, add it and hit OK/Finish -> project is deployed, but there are errors in error view and workspace log

      When you try to deploy to a WildFly 8.0 or 8.1 server using the management api profile, you get errors:

      !ENTRY org.jboss.ide.eclipse.as.core 4 1644298251 2014-04-22 15:55:00.287
      !MESSAGE Deployment of module dynproj has failed
      !SUBENTRY 1 org.jboss.ide.eclipse.as.management.wildfly8 4 0 2014-04-22 15:55:00.287
      !MESSAGE The operation REMOVE was not executed on unit dynproj.war
      !SUBENTRY 1 unknown 0 0 2014-04-22 15:55:00.287
      !MESSAGE OK
      

      Note that the project actually gets deployed, but the server view will show [Republish] next to the module.

      As a consequence of this, the module will actually stay deployed even if you remove it in the server view.

        1. error-view.png
          error-view.png
          45 kB
        2. server-view.png
          server-view.png
          24 kB

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: