[
https://jira.jboss.org/browse/TEIIDDES-711?page=com.atlassian.jira.plugin...
]
Len DiMaggio commented on TEIIDDES-711:
---------------------------------------
Pavol,
Can you attach the server and/or eclipse logs?
Also - can you attach the vdb file?
I was unable to recreate the problem in adminshell:
groovy:000>
deployVDB("/jboss/local/redhat_svn/qa/tests/teiidadminshell/weather-vdb.xml")
===> null
groovy:000>
deployVDB("/jboss/local/redhat_svn/qa/tests/teiidadminshell/weather-vdb.xml")
===> null
2010-11-18 11:36:16,489 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
processing message:MessageHolder:
contents=org.teiid.net.socket.ServiceInvocationStruct@1593c8f
2010-11-18 11:36:16,489 DEBUG [org.teiid.SECURITY] (New I/O server worker #2-1) Ping
CXbKpHPqdCO6
2010-11-18 11:36:16,489 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) message:
MessageHolder: contents=null for request ID:6
2010-11-18 11:36:16,497 DEBUG [org.teiid.BUFFER_MGR] (New I/O server worker #2-1) Creating
FileStore: temp-stream
2010-11-18 11:36:16,498 DEBUG [org.teiid.BUFFER_MGR] (New I/O server worker #2-1) Created
temporary storage area file
/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/tmp/teiid/buffer/b_temp-stream_0_4700591788745421810.tmp
2010-11-18 11:36:16,498 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
processing message:MessageHolder:
contents=org.teiid.net.socket.ServiceInvocationStruct@a1bad3
2010-11-18 11:36:16,498 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) before
deployVDB:org.teiid.adminapi.jboss.Admin@fac898(weather-vdb.xml,org.teiid.netty.handler.codec.serialization.CompactObjectOutputStream$SerializableInputStream@1f0aa5c)
2010-11-18 11:36:16,518 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) Handle stream, deploymentTarget: names=[weather-vdb.xml], description=temp:#temp
2010-11-18 11:36:16,519 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) End handle stream, repositoryName:
vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml
2010-11-18 11:36:16,519 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) Begin start,
[vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]
2010-11-18 11:36:16,520 INFO [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
"weather.1[Weather[Weather/MessageWeather/java:WeatherDS]]" undeployed.
2010-11-18 11:36:16,574 DEBUG [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
weather-vdb.xml has been parsed.
2010-11-18 11:36:16,592 INFO
[org.jboss.system.server.profileservice.persistence.deployer.PersistenceModificationChecker]
(New I/O server worker #2-1)
/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml
1290098176000 // 1289937516187
2010-11-18 11:36:16,594 INFO [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
"weather-1" - "Weather" model metadata is currently being loaded.
Start Time: 11/18/10 11:36 AM
2010-11-18 11:36:16,594 INFO [org.teiid.PROCESSOR] (New I/O server worker #2-1) Clearing
prepared plan cache
2010-11-18 11:36:16,595 INFO [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
"weather.1[Weather[Weather/MessageWeather/java:WeatherDS]]" deployed in inactive
state.
2010-11-18 11:36:16,595 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) End start,
[vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]
2010-11-18 11:36:16,595 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) after
deployVDB : null
2010-11-18 11:36:16,595 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) message:
MessageHolder: contents=null for request ID:7
2010-11-18 11:36:16,599 INFO [org.teiid.RUNTIME] (JBoss System Threads(1)-9) weather.1
status has been changed to active
2010-11-18 11:36:27,892 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
processing message:MessageHolder:
contents=org.teiid.net.socket.ServiceInvocationStruct@f6a2ec
2010-11-18 11:36:27,892 DEBUG [org.teiid.SECURITY] (New I/O server worker #2-1) Ping
CXbKpHPqdCO6
2010-11-18 11:36:27,892 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) message:
MessageHolder: contents=null for request ID:8
2010-11-18 11:36:27,896 DEBUG [org.teiid.BUFFER_MGR] (New I/O server worker #2-1) Creating
FileStore: temp-stream
2010-11-18 11:36:27,896 DEBUG [org.teiid.BUFFER_MGR] (New I/O server worker #2-1) Created
temporary storage area file
/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/tmp/teiid/buffer/b_temp-stream_0_6383980768462167781.tmp
2010-11-18 11:36:27,896 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1)
processing message:MessageHolder:
contents=org.teiid.net.socket.ServiceInvocationStruct@185d09b
2010-11-18 11:36:27,896 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) before
deployVDB:org.teiid.adminapi.jboss.Admin@fac898(weather-vdb.xml,org.teiid.netty.handler.codec.serialization.CompactObjectOutputStream$SerializableInputStream@42ab5d)
2010-11-18 11:36:27,898 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) Handle stream, deploymentTarget: names=[weather-vdb.xml], description=temp:#temp
2010-11-18 11:36:27,899 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) End handle stream, repositoryName:
vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml
2010-11-18 11:36:27,900 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) Begin start,
[vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]
2010-11-18 11:36:27,900 INFO [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
"weather.1[Weather[Weather/MessageWeather/java:WeatherDS]]" undeployed.
2010-11-18 11:36:27,958 DEBUG [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
weather-vdb.xml has been parsed.
2010-11-18 11:36:27,976 INFO
[org.jboss.system.server.profileservice.persistence.deployer.PersistenceModificationChecker]
(New I/O server worker #2-1)
/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml
1290098187000 // 1289937516187
2010-11-18 11:36:27,979 INFO [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
"weather-1" - "Weather" model metadata is currently being loaded.
Start Time: 11/18/10 11:36 AM
2010-11-18 11:36:27,979 INFO [org.teiid.PROCESSOR] (New I/O server worker #2-1) Clearing
prepared plan cache
2010-11-18 11:36:27,979 INFO [org.teiid.RUNTIME] (New I/O server worker #2-1) VDB
"weather.1[Weather[Weather/MessageWeather/java:WeatherDS]]" deployed in inactive
state.
2010-11-18 11:36:27,980 INFO
[org.jboss.profileservice.management.upload.remoting.DeployHandler] (New I/O server worker
#2-1) End start,
[vfsfile:/jboss/local/51_ER4/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml]
2010-11-18 11:36:27,980 DEBUG [org.teiid.ADMIN_API] (New I/O server worker #2-1) after
deployVDB : null
2010-11-18 11:36:27,980 DEBUG [org.teiid.TRANSPORT] (New I/O server worker #2-1) message:
MessageHolder: contents=null for request ID:9
2010-11-18 11:36:27,983 INFO [org.teiid.RUNTIME] (JBoss System Threads(1)-10) weather.1
status has been changed to active
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