fixes #8328 - fixing order of db, cpdb, tomcat, cpinit