[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8398) Remote redeployment fails if you switch from exploded to archive

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu Feb 10 10:46:47 EST 2011


     [ https://issues.jboss.org/browse/JBIDE-8398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-8398:
------------------------------------

    Description: 
how to reproduce:

1) have a AS server adapter for a remote server
2) have a WTP project added to it
3) make sure the server adapter is set to deploy as exploded war (2nd tab of the server adapter editor "Deploymen": checkbox "Deploy projects as compressed archives" not set
4) (ev. start the adapter) publish your project
5) check the checkbox "Deploy projects as..."
6) Choose "Full publish" on your project or "Clean" on the adapter in the servers view

Result: 
Deployment fails, the console shows the following exception:

failed to delete /opt/jboss-as6/server/default/deploy/gwt-helloworld.war
org.eclipse.rse.services.files.RemoteFileIOException: Operation failed. File system input or output error
	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.makeSystemMessageException(SftpFileService.java:449)
	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.upload(SftpFileService.java:752)
	at org.jboss.ide.eclipse.as.rse.core.archives.RSEZippedJSTPublisher.publishModule(RSEZippedJSTPublisher.java:77)
	at org.jboss.ide.eclipse.as.core.publishers.AbstractPublishMethod.publishModule(AbstractPublishMethod.java:77)
	at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishModule(DeployableServerBehavior.java:67)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1025)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1115)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:948)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)
	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

The adapter stays "[Synchronized]" although the console shows that the deployment failed.

  was:
how to reproduce:

1) have a AS server adapter for a remote server
2) have a WTP project added to it
3) make sure the server adapter is set to deploy as exploded war (2nd tab of the server adapter editor "Deploymen": checkbox "Deploy projects as compressed archives" not set
4) (ev. start the adapter) publish your project
5) check the checkbox "Deploy projects as..."
6) Choose "Full publish" on your project or "Clean" on the adapter in the servers view

Result: 
Deployment fails, the console shows the following exception:
failed to delete /opt/jboss-as6/server/default/deploy/gwt-helloworld.war
org.eclipse.rse.services.files.RemoteFileIOException: Operation failed. File system input or output error
	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.makeSystemMessageException(SftpFileService.java:449)
	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.upload(SftpFileService.java:752)
	at org.jboss.ide.eclipse.as.rse.core.archives.RSEZippedJSTPublisher.publishModule(RSEZippedJSTPublisher.java:77)
	at org.jboss.ide.eclipse.as.core.publishers.AbstractPublishMethod.publishModule(AbstractPublishMethod.java:77)
	at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishModule(DeployableServerBehavior.java:67)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1025)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1115)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:948)
	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)
	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



> Remote redeployment fails if you switch from exploded to archive
> ----------------------------------------------------------------
>
>                 Key: JBIDE-8398
>                 URL: https://issues.jboss.org/browse/JBIDE-8398
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: deltacloud, JBossAS
>    Affects Versions: 3.2.0.CR2 (tentative)
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>         Attachments: change-deployment-mode.png
>
>
> how to reproduce:
> 1) have a AS server adapter for a remote server
> 2) have a WTP project added to it
> 3) make sure the server adapter is set to deploy as exploded war (2nd tab of the server adapter editor "Deploymen": checkbox "Deploy projects as compressed archives" not set
> 4) (ev. start the adapter) publish your project
> 5) check the checkbox "Deploy projects as..."
> 6) Choose "Full publish" on your project or "Clean" on the adapter in the servers view
> Result: 
> Deployment fails, the console shows the following exception:
> failed to delete /opt/jboss-as6/server/default/deploy/gwt-helloworld.war
> org.eclipse.rse.services.files.RemoteFileIOException: Operation failed. File system input or output error
> 	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.makeSystemMessageException(SftpFileService.java:449)
> 	at org.eclipse.rse.internal.services.ssh.files.SftpFileService.upload(SftpFileService.java:752)
> 	at org.jboss.ide.eclipse.as.rse.core.archives.RSEZippedJSTPublisher.publishModule(RSEZippedJSTPublisher.java:77)
> 	at org.jboss.ide.eclipse.as.core.publishers.AbstractPublishMethod.publishModule(AbstractPublishMethod.java:77)
> 	at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishModule(DeployableServerBehavior.java:67)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1025)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1115)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:948)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
> 	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)
> 	at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:337)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> The adapter stays "[Synchronized]" although the console shows that the deployment failed.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list