[JBoss JIRA] Created: (TEIIDDES-711) SyncFailedException: Deployment content already exists
by Pavol Srna (JIRA)
SyncFailedException: Deployment content already exists
------------------------------------------------------
Key: TEIIDDES-711
URL: https://jira.jboss.org/browse/TEIIDDES-711
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 7.1
Environment: JBDS 4.0.0.Beta1, SOA-5.1.0.ER3, Teiid 7.1, linux 32bit
Reporter: Pavol Srna
When trying to re-deploy VDB to the server, following error occurs:
Message:
-----------------
Problem deploying VDB: MyFirstVDB.vdb to server: mm://localhost:31443
Exception stack trace:
--------------------------------
[AdminComponentException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
1 [AdminComponentException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
2 [AdminProcessingException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
3 [RuntimeException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
4 [SyncFailedException]Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
at org.teiid.client.util.ExceptionUtil.convertException(ExceptionUtil.java:72)
at org.teiid.net.socket.SocketServerInstanceImpl$RemoteInvocationHandler.invoke(SocketServerInstanceImpl.java:365)
at org.teiid.net.socket.SocketServerConnection$1.invoke(SocketServerConnection.java:216)
at $Proxy16.deployVDB(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.teiid.adminapi.AdminFactory$AdminProxy.invoke(AdminFactory.java:80)
at $Proxy16.deployVDB(Unknown Source)
at org.teiid.designer.runtime.ExecutionAdmin.deployVdb(ExecutionAdmin.java:121)
at org.teiid.designer.runtime.ui.DeployVdbAction$1.run(DeployVdbAction.java:115)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.teiid.designer.runtime.ui.DeployVdbAction.deployVdb(DeployVdbAction.java:108)
at org.teiid.designer.runtime.ui.DeployVdbAction.run(DeployVdbAction.java:82)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Caused by: [AdminComponentException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
1 [AdminProcessingException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
2 [RuntimeException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
3 [SyncFailedException]Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
at org.teiid.client.util.ExceptionUtil.convertException(ExceptionUtil.java:72)
at org.teiid.jboss.deployers.RuntimeEngineDeployer$1.invoke(RuntimeEngineDeployer.java:252)
at $Proxy359.deployVDB(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:81)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:188)
at org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:161)
at org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:150)
at org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:210)
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:214)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:540)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:340)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:272)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:192)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: [AdminProcessingException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
1 [RuntimeException]java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
2 [SyncFailedException]Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
at org.teiid.adminapi.jboss.ManagedUtil.execute(ManagedUtil.java:295)
at org.teiid.adminapi.jboss.ManagedUtil.deployArchive(ManagedUtil.java:235)
at org.teiid.adminapi.jboss.ManagedUtil.deployArchive(ManagedUtil.java:222)
at org.teiid.adminapi.jboss.Admin.deployVDB(Admin.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.teiid.logging.LogManager$LoggingProxy.invoke(LogManager.java:121)
at org.teiid.jboss.deployers.RuntimeEngineDeployer$1.invoke(RuntimeEngineDeployer.java:246)
... 33 more
Caused by: java.lang.RuntimeException: java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.transferDeployment(StreamingDeploymentTarget.java:286)
at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.distribute(StreamingDeploymentTarget.java:106)
at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.distribute(DeploymentProgressImpl.java:178)
at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:83)
at org.teiid.adminapi.jboss.ManagedUtil.execute(ManagedUtil.java:290)
... 42 more
Caused by: java.io.SyncFailedException: Deployment content already exists: /home/psrna/data/jboss/soa-5.1.0.ER3-modeshape-2.3-teiid-7.1/jboss-as/server/default/deploy/MyFirstVDB.vdb
at org.jboss.system.server.profileservice.repository.BasicDeploymentRepository.addDeploymentContent(BasicDeploymentRepository.java:177)
at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.handleStream(AbstractDeployHandler.java:288)
at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.handleStream(AbstractDeployHandler.java:63)
at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1841)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:917)
at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:2034)
at org.jboss.remoting.Client.invoke(Client.java:877)
at org.jboss.remoting.Client.invoke(Client.java:1756)
at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.transferDeployment(StreamingDeploymentTarget.java:277)
... 46 more
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Created: (TEIIDDES-709) Problems with Operations Editor Input Variables Section behavior
by Barry LaFond (JIRA)
Problems with Operations Editor Input Variables Section behavior
----------------------------------------------------------------
Key: TEIIDDES-709
URL: https://jira.jboss.org/browse/TEIIDDES-709
Project: Teiid Designer
Issue Type: Bug
Components: Editors
Affects Versions: 7.1.1
Reporter: Barry LaFond
Assignee: Ted Jones
Fix For: 7.1.1
Found a couple of behavior issues with Input Variables Section.
1) Selecting different Operations in tree on left, does not clear out input variables from previous selection.
- If you select an interface, then re-select an operation the input variables seem to be correct.
2) Re-selecting an Operation after removing (de-selecting) input variables and SAVING re-adds the Input variables and dirties the model.
- This should probably not auto-edit an operation's SQL and input variables just on selection.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Updated: (TEIIDDES-329) Operations Editor does not correctly wrap user-entered SQL with CREATE... and END
by Barry LaFond (JIRA)
[ https://jira.jboss.org/browse/TEIIDDES-329?page=com.atlassian.jira.plugin... ]
Barry LaFond updated TEIIDDES-329:
----------------------------------
Assignee: Ted Jones
Fix Version/s: 7.2
Affects Version/s: 7.1.1
> Operations Editor does not correctly wrap user-entered SQL with CREATE... and END
> ---------------------------------------------------------------------------------
>
> Key: TEIIDDES-329
> URL: https://jira.jboss.org/browse/TEIIDDES-329
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 7.1.1
> Environment: fedora 10, Designer build 3257
> Reporter: Paul Nittel
> Assignee: Ted Jones
> Fix For: 7.2
>
>
> I ran across this while running the E2E Updateable Web Service Test Script.
> After creating the Web Service interface and initial steps of creating the InsertProduct operation, I pasted in the SQL. When I validated the SQL, the Designer wrapped it, beginning with the CREATE, and ending with END. Unfortunately, the terminating END is placed immedately after the END in the pasted in text. The validation then fails when it reaches the new word, "ENDEND". (the user needs to separate the "ENDEND" into "END END" and it will parse correctly.
> The error message is:
> The query is not parsable.
> Parsing error: Encountered "<EOF>" at line 1, column 464.
> Was expecting:
> "=" ...
> The SQL winds up being:
> CREATE VIRTUAL PROCEDURE BEGIN DECLARE string VARIABLES.IN_ID = xpathvalue(ProductsWebSvc.ProdInterface.DeleteProduct.ProductIdIn, '/*:InstrIdInput/*:ID'); DECLARE integer VARIABLES.delete_count = 0; VARIABLES.DELETE_COUNT = DELETE FROM Updates.UpdateProduct WHERE Updates.UpdateProduct.INSTR_ID = VARIABLES.IN_ID; IF(VARIABLES.DELETE_COUNT = 1) BEGIN SELECT * FROM ProductDoc.goodResultsDocument; END ELSE BEGIN SELECT * FROM ProductDoc.badResultsDocument; ENDEND
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months