Details
-
Bug
-
Resolution: Done
-
Major
-
3.2.0.Final
-
None
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 (see screenshot1)
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 (see screenshot2).
Attachments
Issue Links
- relates to
-
JBIDE-8449 Remove project from server fails if server adapter is set to deploy as archive
- Closed