Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2606

Duplicate resource during restart of server with dynamically generated REST WAR file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.5
    • 8.1
    • None
    • None

    Description

      I have VDB that is designed to generate the REST WAR file, after the deployment of the VDB, if server is restarted the below error is thrown

      15:07:26,514 ERROR [org.jboss.as.controller.management-operation] (teiid-async-threads - 4)  JBAS014613: Operation ("add") failed - address: ([("deployment" => "sakila_1.war")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"sakila_1.war\")]"
      15:07:26,519 WARN  [org.teiid.RUNTIME] (teiid-async-threads - 4)  Failed to deploy sakila_1.war: org.teiid.adminapi.AdminProcessingException: TEIID70006 {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014803: Duplicate resource [(\"deployment\" => \"sakila_1.war\")]"}}
      	at org.teiid.adminapi.AdminFactory$AdminImpl.execute(AdminFactory.java:484) [teiid-admin-8.4.1.jar:8.4.1]
      	at org.teiid.adminapi.AdminFactory$AdminImpl.deploy(AdminFactory.java:749) [teiid-admin-8.4.1.jar:8.4.1]
      	at org.teiid.jboss.rest.ResteasyEnabler$1.run(ResteasyEnabler.java:94) [teiid-jboss-integration-8.4.1.jar:8.4.1]
      	at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
      	at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:806)
      	at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
      	at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:847)
      	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rareddy Ramesh Reddy
              rhn-engineering-rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: