[
https://issues.jboss.org/browse/JBIDE-21981?page=com.atlassian.jira.plugi...
]
Fred Bricon updated JBIDE-21981:
--------------------------------
Steps to Reproduce:
- create an openshift server adapter for an EAP app
- start the server
- it'll rsync files to the server
- stop the server
- right click on the matching service in openshift explorer, do Deploy Latest
- wait for the pod to redeploy
- start the server
=> publishing will fail, as remote ROOT.war binary can't be copied over local
exploded ROOT.war folder
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: Fred Bricon
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)