after moving BF DB from serverA to serverB, jobs all Waiting
After upgrading to 7.1.2.2 and making sure everything was running I now need to move the database from where it is on the same machine that is hosting the BF server to another Linux machine (same OS).
I shut down BF, dumping the DB, copying it to the new machine and importing it, resetting the conf file to point to the new DB and then restarted BF.
At this point everything looks good, projects, users and schedules all look fine, but when a project starts it shows up on the running jobs list in the Waiting state and never proceeds further.
Ideas, suggestions, comments?
thanks
I shut down BF, dumping the DB, copying it to the new machine and importing it, resetting the conf file to point to the new DB and then restarted BF.
At this point everything looks good, projects, users and schedules all look fine, but when a project starts it shows up on the running jobs list in the Waiting state and never proceeds further.
Ideas, suggestions, comments?
thanks
4 answers
Turns out that there are 2 buildforge.conf files that are identical and located in different places. Both need to be modified. I found and changed the first, but not the second. On our linux server they are located:
/opt/buildforge/Platform/buildforge.conf
/opt/buildforge/server/tomcat/webapps/rbf-services/WEB-INF/classes/buildforge.conf
/opt/buildforge/Platform/buildforge.conf
/opt/buildforge/server/tomcat/webapps/rbf-services/WEB-INF/classes/buildforge.conf
After upgrading to 7.1.2.2 and making sure everything was running I now need to move the database from where it is on the same machine that is hosting the BF server to another Linux machine (same OS).
I shut down BF, dumping the DB, copying it to the new machine and importing it, resetting the conf file to point to the new DB and then restarted BF.
At this point everything looks good, projects, users and schedules all look fine, but when a project starts it shows up on the running jobs list in the Waiting state and never proceeds further.
Ideas, suggestions, comments?
thanks
Thanks for the update.
How do you rebuild the rbf-services.war file?
How do you rebuild the rbf-services.war file?
you should also rebuild the rbf-services.war file as it also contains a copy of the buildforge.conf file.
If something ever happens to your webapps/rbf-services directory such that tomcat things it needs to re-deploy the war, then you'll get the "old" conf file.
It's really just a zip file containing what's in the rbf-services directory. During the install, it's expanded, the conf file is written, and the file is re-zipped. Tomcat then explodes it to use it. So all you need to do is go into the rbf-services dir in your webapps dir, and create a zipfile named rbf-services.war
On my linux box I'd do something similar to:
On my linux box I'd do something similar to:
cd $BFINSTALLROOT/server/tomcat/webapps
mv rbf-services.war rbf-services.old
cd rbf-services
zip -r ../rbf-services.war .