At the moment you could use PostgreSQL on OpenShift.
You'll need to follow the instructions here http://www.jboss.org/jdf/examp... . Specifically run "mvn clean package -Ppostgresql-openshift" and then deploy on an EAP 6 OpenShift cartridge that also has the PostgreSQL cartridge added. Running the Maven package goal with the "postgresql-openshift" profile will ensure that a persistence.xml file tailored for OpenShift w/PostgreSQL is packaged into the TicketMonster WAR.
You could also use the "postgresql" profile, like "mvn clean package -Ppostgresql" for a standalone deployment, but we haven't covered installation of the JDBC driver onto a local JBoss instance in this tutorial.
Vineet Reynolds
Hi franleplant,
At the moment you could use PostgreSQL on OpenShift.
You'll need to follow the instructions here http://www.jboss.org/jdf/examp... . Specifically run "mvn clean package -Ppostgresql-openshift" and then deploy on an EAP 6 OpenShift cartridge that also has the PostgreSQL cartridge added. Running the Maven package goal with the "postgresql-openshift" profile will ensure that a persistence.xml file tailored for OpenShift w/PostgreSQL is packaged into the TicketMonster WAR.
You could also use the "postgresql" profile, like "mvn clean package -Ppostgresql" for a standalone deployment, but we haven't covered installation of the JDBC driver onto a local JBoss instance in this tutorial.
Hope this helps.
10:38 p.m., Monday Nov. 18
Moderate this comment by email
Email address: vineet.reynolds@gmail.com | IP address: 122.167.214.166
Reply to this email with “Delete”, “Approve”, or “Spam”, or moderate from the Disqus moderation panel.