[
https://issues.jboss.org/browse/TEIID-2606?page=com.atlassian.jira.plugin...
]
Ramesh Reddy updated TEIID-2606:
--------------------------------
Assignee: Ramesh Reddy (was: Steven Hawkins)
Duplicate resource during restart of server with dynamically
generated REST WAR file
------------------------------------------------------------------------------------
Key: TEIID-2606
URL:
https://issues.jboss.org/browse/TEIID-2606
Project: Teiid
Issue Type: Bug
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
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
{code}
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)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira