AstRecipes » Creating XC-AST databaseYou need to have a recent version of MySQL installed.
find the file log_code_web.sql that is contained within WEB-INF/README in the XC-AST distribution
create a database to upload it, the following instructions will usually do:
Upload test data
create database test_xcast;
grant all privileges on test_xcast.* to 'myuser'@'localhost' identified by 'mypassword';
Update web.xml to set your database configuration
mysql --user=myuser --password=mypassword test_xcast < log_code_web.sql
Edit the file WEB-INF/web.xml and edit the JDBC_URL in the following way:
Restart (or start) your servlet container After following these instructions I received Error message: The reference to entity "password" must end with the ';' delimiter. This error is caused by a rogue '&' in web.xml. This xml tag... <param-value>jdbc:mysql://localhost/test_xcast?user=myuser&password=mypassword</param-value> should actually read... user=myusername&password=mypassword This is because the sax xml parsing libraries used by jwnl are generic xml libraries and therefore expect an escaped charcter sequence.