V2 /
EventJVhostV2.EventJVhost HistoryHide minor edits - Show changes to output Changed lines 22-31 from:
database.user= to:
database.user=blah * Load the current schema into the instance: cd ~/lb/ mysql -uroot -p -h eventjdatastore.ck6kx2auo1hd.us-east-1.rds.amazonaws.com blah < congov2.schemaonly.dump mysql -uroot -p -h eventjdatastore.ck6kx2auo1hd.us-east-1.rds.amazonaws.com blah < congov2.DATABASECHANGELOG mysql -uroot -p -h eventjdatastore.ck6kx2auo1hd.us-east-1.rds.amazonaws.com blah < congov2.DATABASECHANGELOGLOCK * Create the admin user mysql -uroot -p -h eventjdatastore.ck6kx2auo1hd.us-east-1.rds.amazonaws.com blah < congov2.regmaster.sql Changed line 16 from:
** Copy in a properties file and set these parameters: to:
** Copy in a congo.properties file and set these parameters: Changed lines 6-9 from:
<Parameter name="congo.home" value="/var/congo/blah.eventj.com/" override="false" /> <Parameter name="log4j.xml.url" value="file:/var/congo/blah.eventj.com/log4j.xml" override="false" /> to:
<Context docBase="/var/congo/wars/congo-2.1.0.7-SNAPSHOT.war"> <Parameter name="congo.home" value="/var/congo/blah.eventj.com/" override="false" /> <Parameter name="log4j.xml.url" value="file:/var/congo/blah.eventj.com/log4j.xml" override="false" /> </Context> Added lines 10-14:
* in /etc/tomcat6/server.xml, make a new Host entry for the vhost: <Host name="blah.eventj.com" appBase="blah.eventj.com" unpackWARs="false" autoDeploy="true"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="blah_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> </Host> Changed line 22 from:
database.user=blah to:
database.user=blah Changed lines 13-15 from:
database.host= database database to:
database.host=eventjdatastore.ck6kx2auo1hd.us-east-1.rds.amazonaws.com database.name=blah database.password=blah Changed lines 17-18 from:
database.user= ** Copy in a log4j.xml file (not required) to:
database.user=blah Changed line 11 from:
** Copy in a properties file and set these parameters: to:
** Copy in a properties file and set these parameters: Changed lines 11-18 from:
* Copy in a properties file and set these parameters: to:
** Copy in a properties file and set these parameters:\\ database.autoupgrade=true database.host=localhost database.name=congov2 database.password=congov2 database.type=mysql database.user=congov2 ** Copy in a log4j.xml file (not required) Added lines 1-11:
!!Steps to deploy a new customer * Nothing needs to be done on the web front end (ec2-web01) * in /etc/tomcat6/Catalina create a new subdir for the full hostname (blah.eventj.com) * In the subdir, create a ROOT.xml file: <Context docBase="/var/congo/wars/congo-2.1.0.7-SNAPSHOT.war"> <Parameter name="congo.home" value="/var/congo/blah.eventj.com/" override="false" /> <Parameter name="log4j.xml.url" value="file:/var/congo/blah.eventj.com/log4j.xml" override="false" /> </Context> * Create the working home dir /var/congo/blah.eventj.com * Copy in a properties file and set these parameters: |