On 30 May 2012 15:30, Mark Lummus <[email protected]> wrote:
> Can anybody provide guidance on how to force a reload of the > initial_data.sql file without rebooting the Windows server that runs Rave? > Have tried several things to no avail… > > thanks! > Mark > Hi Mark, if you have some tool to access the database you can execute the statements from this file. In the demo setup you can access the database from your browser on http://localhost:11111 (see also [1]) The initial_data.sql is triggered when the application container loads the web application. There's also a check whether a predefined query returns results or not. If the query returns a result, then the initial_data.sql is not executed to prevent duplicate inserts. Usually touching the war file in webapp directory reloads the application context in Tomcat. [1] http://rave.apache.org/documentation/configure-database.html Jasha
