[
https://issues.jboss.org/browse/TEIIDDES-1939?page=com.atlassian.jira.plu...
]
Mark Drilling commented on TEIIDDES-1939:
-----------------------------------------
I tried several scenarios to try to get this to fail, but could not reproduce. Recommend
we close as 'Not reproducible' unless you can come up with steps to reproduce.
Preview VDB operation should validate first if there is existing Data
Source
----------------------------------------------------------------------------
Key: TEIIDDES-1939
URL:
https://issues.jboss.org/browse/TEIIDDES-1939
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview, VDB & Execution
Affects Versions: 8.3
Reporter: Ramesh Reddy
Assignee: Mark Drilling
Fix For: 8.3
I am trying to create a file based source model using the "Flat File Importer".
In the step one, I created a file connection factory and tried to create a source and view
model based on TEXTTABLE creation wizard. This failed (this will be another defect once I
figure out why). I tried to redo the wizard steps all over once I deleted empty source
model it created in the last step. Every thing went OK, but after generating the source
and view models I see a dialog pop-up with following exception
{code}
An error synchronizing and saving the Preview VDB for model
"/RecursiveXMLTest/EmployeeData.xmi" occurred.
TEIID70006 JBAS014749: Operation handler failed: Service
jboss.resourceadapters.ra.file.PREVIEW_052e68a6-b711-4e7d-903f-1957fd7e9ff1_RecursiveXMLTest_EmployeeData
is already registered
{code}
and Exception from Server log
{code}
10:55:05,063 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 23) JBAS014612: Operation ("add") failed - address:
([
("subsystem" => "resource-adapters"),
("resource-adapter" => "file"),
("connection-definitions" =>
"PREVIEW_052e68a6-b711-4e7d-903f-1957fd7e9ff1_RecursiveXMLTest_EmployeeData")
]): org.jboss.msc.service.DuplicateServiceException: Service
jboss.resourceadapters.ra.file.PREVIEW_052e68a6-b711-4e7d-903f-1957fd7e9ff1_RecursiveXMLTest_EmployeeData
is already registered
at
org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:227)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:561)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2228)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307)
[jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at
org.jboss.as.controller.OperationContextImpl$ContextServiceBuilder.install(OperationContextImpl.java:989)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.connector.subsystems.resourceadapters.ConnectionDefinitionAdd.performRuntime(ConnectionDefinitionAdd.java:84)
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:194)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:115)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:139)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:108)
[jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:296)
[jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:518)
[jboss-as-protocol-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_35]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
{code}
Looks like we are trying to create the data source again, or did not cleanup the data
source from before.
--
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