Prior to build:
[0] Set the VIRTUAL_TOMCAT_HOME environment variable
to point at your virtulization server's home. For example, on
Windows my VIRTUAL_TOMCAT_HOME is c:/alfresco/virtual-tomcat
(and my TOMCAT_HOME is c:/alfrseco/tomcat).
The build places sevderal important files in VIRTUAL_TOMCAT_HOME,
including things that configure AVMRemote/RMI & permissions.
The VIRTUAL_TOMCAT_HOME must be a valid tomcat installation,
and it must not be the same as your TOMCAT_HOME.
[1] Stop tomcat.
[2] rm $VIRTUAL_TOMCAT_HOME/conf/alfresco-*
[3] Get rid of old logfiles & 'work' dirs to avoid confusion.
[4] Get rid of any previously expanded alfresco.war file:
rm -rf $TOMCAT_HOME/webapps/alfresco
Now build and run the tomcat that hosts Alfresco's webapp again.
If all is well, you're set.
If this does not work for you, be aware that the backing store has
changed over time, so you might want to try stopping everything,
deleting your backing store, doing a drop/create on the alfresco
database, then walking through steps 1-4 again.