[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8449) Remove project from server fails if server adapter is set to deploy as archive

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu Feb 17 12:28:13 EST 2011


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

Andre Dietisheim updated JBIDE-8449:
------------------------------------

    Steps to Reproduce: 
1) make sure you have a WTP web app to deploy to a server adapter
2) make sure you have a server adapter that adapts a remote server and is set to deploy in archive mode (see screenshot)
3) have the adapter started
4) add the webapp to the server adapter and wait until publishing is finished
5) remove the webapp from the server adapter

Result: 
Adapter seems to do something (a dialog with progress pops up and disappears very quickly. A message in the status bar shows up a bit long) and the webapp is removed from the server adapter. In the console you can spot the following stacktrace:

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:85)
	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)

If you verify the deploy-folder on the server, you'll see that the war is still present. Accessing it shows you that the war is still running. The admin-console confirms that the webapp is still deployed and UP.

ps. this does not happen when publishing in "exploded" mode

  was:
1) make sure you have a WTP web app to deploy to a server adapter
2) make sure you have a server adapter that adapts a remote server and is set to deploy in archive mode (see screenshot)
3) have the adapter started
4) add the webapp to the server adapter and wait until publishing is finished
5) remove the webapp from the server adapter

Result: 
Adapter seems to do something (a dialog with progress pops up and disappears very quickly. A message in the status bar shows up a bit long) and the webapp is removed from the server adapter. In the console you can spot the following stacktrace:

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:85)
	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)

If you verify the deploy-folder on the server, you'll see that the war is still present. Accessing it shows you that the war is still running. The admin-console confirms that the webapp is still deployed and UP.



> Remove project from server fails if server adapter is set to deploy as archive
> ------------------------------------------------------------------------------
>
>                 Key: JBIDE-8449
>                 URL: https://issues.jboss.org/browse/JBIDE-8449
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.2.0.CR2 (tentative)
>            Reporter: Andre Dietisheim
>            Assignee: Rob Stryker
>         Attachments: Screenshot-4.png
>
>


--
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