[
https://issues.jboss.org/browse/JBIDE-21981?page=com.atlassian.jira.plugi...
]
Xavier Coulon commented on JBIDE-21981:
---------------------------------------
The steps I found to reproduce the issue:
- start the server (adapter) for the OpenShift service
- from CLI, {{rm -rf
<workspace>/.metadata/.plugins/org.jboss.ide.eclipse.as.core/<project>@<service>/deploy}}
to remove all previous deployments
- back in the IDE, select the server adapter and call the {{Publish}} command
- after a few seconds, get the error message below:
{code}
Error renaming
<workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmp6503077788092990412.MF
to
<workspace>/runtime-Eclipse-mars.2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample(a)eap-app/deploy/ROOT.war/META-INF/MANIFEST.MF.
This may be caused by incorrect file permissions, or your server's temporary deploy
directory may be on a different filesystem than the final destination.
You may adjust these settings in the server editor.
{code}
Error during rsync
------------------
Key: JBIDE-21981
URL:
https://issues.jboss.org/browse/JBIDE-21981
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Xavier Coulon
Assignee: Rob Stryker
Priority: Blocker
Fix For: 4.3.1.CR1
While testing the debugging support on the server adapter, I got the following error:
{code}
Could not sync all pods to folder
/Users/xcoulon/workspaces/runtime-Eclipse-mars.2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample@eap-app/deploy
OpenShiftBinaryCapability process exited: rsync: delete_file: rmdir
"/Users/xcoulon/workspaces/runtime-Eclipse-mars.2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample(a)eap-app/deploy/ROOT.war"
failed: Directory not empty (66)
rsync error: some files could not be transferred (code 23) at
/SourceCache/rsync/rsync-45/rsync/main.c(1400) [generator=2.6.9]
error: exit status 23
{code}
The content of the {{.../deploy}} directory was:
{code}
drwxr-xr-x 9 xcoulon staff 306 Mar 25 12:19 ./
drwxr-xr-x 4 xcoulon staff 136 Mar 25 11:55 ../
-rw-r--r-- 1 xcoulon staff 9041 Mar 27 2015 README.txt
drwxr-xr-x 7 xcoulon staff 238 Mar 25 11:59 ROOT.war/
-rw-r--r-- 1 xcoulon staff 8 Mar 23 17:59 ROOT.war.deployed
-rw-r--r-- 1 xcoulon staff 8 Mar 25 12:18 ROOT.war.isdeploying
-rw-r--r-- 1 xcoulon staff 8415373 Aug 11 2015 activemq-rar.rar
-rw-r--r-- 1 xcoulon staff 16 Aug 11 2015 activemq-rar.rar.deployed
-rw-r--r-- 1 xcoulon staff 16 Mar 25 12:18 activemq-rar.rar.isdeploying
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)