Description of problem: Make changes to an old existing scalable/non-scalable jbossas-7 application, and git push. Changes are not deployed when accessing url. Version-Release number of selected component (if applicable): On devenv-stage_226 How reproducible: always Steps to Reproduce: 1.Lauch an old instance currently devenv-stage_226 2.Prepare account and test data, create jbossas-7 and jbosseap-6.0 apps including scalable and non-scalable type 3.Upgrage server to latest and run rhc-admin-migrate 4.Make some changes to app's repo, eg. edit index.html so the changes are visible when accessing app's url 5.git push changes to remote repo 6.Access app's url Actual results: git push was successful, the changes are not deployed when accessing app's url Expected results: git push was successful, and changes are deployed when accessing app's url Additional info: ssh into application, check the remote repo, and changes are made, which mean git push was successful, but the changes are not deployed. I manually restarted this application but the problem was still there Create new jbossas-7 applications, change, git push and access app's url, very thing working fine, changes are deployed.
expect to have a fix today
Fixed perms for JAVA_HOME
Tested it on devenv_1931, after git push, changes are still not deployed Steps: 1.Lauch an older instance, devenv-stage_226 2.upgrade and migrate 3.go to app's repo, make some change, eg modifying the index.html so the changes are visible via website. Then git push 4.Open app's website, and no changes are deployed. 5.shh into application, check changes under app-root/repo, chanages are consistent with my local repo. But the app's website did not show any changes. Restart and reload app, problem is still there. This problem exists only with an existing jbossas application after upgrading an old instance.
Do you have an existing devenv I can log into to see what's going on?
What exactly are you running to perform the upgrade/migration?
Been able to recreate. Changes are not in ./8762244262ae4f2dae1f377bfb54845f/jbossas-7/jbossas-7/standalone/tmp/vfs/temp6c59feb90932982f/ROOT.war-d0552488d82b1905
In new apps /jbossas-7/jbossas-7/standalone/deployments is a link to app-root/repo/deployments but in old apps it's a copy. Builds update the latter but deployments happen from the former. So we always deploy the original ROOT.war. Look like we need to update the migration script to switch from copy to link.
Updated rhc-admin-migrate and migrate.rb
Verified on devenv_1933 Steps: 1.Lauch an older instance, devenv-stage_226 2.upgrade and migrate 3.go to app's repo, make some change, eg modifying the index.html so the changes are visible via website. Then git push 4.Open app's website, changes are deployed. Fixed