Problem trying to create scaled app using jbossas-7 and mysql
You can still read and search them, but for help, please post a question on Stack Overflow.
I have a JBoss app that uses a mysql database.
I managed to get this running on Openshift using a single gear. Now I want to deploy my app as a scaled app with separate gears for JBoss and MySQL.
I deleted the existing app and then did...
rhc app create -s -a statsapi -t jbossas-7 -g medium
and then created the mysql gear with...
rhc cartridge add mysql-5.1 --app statsapi
No if I do...
rhc app show statsapi --state
then I see...
Cartridge jbossas-7, haproxy-1.4 is started Cartridge mysql-5.1 is started
Does this mean my haproxy cartridge and the jbossas-7 cartridge are running on the same gear?
I tried to check which gears are running as explained in...
but ~/haproxy-1.4/conf/gear-registry.db is empty
Have I created the app the right way?