Start PillarOne.RiskAnalytics on a Webserver from within IDEA
For testing purposes a developer may need to run PillarOne.RiskAnalytics on a webserver.
Prerequisities
PillarOne.RiskAnalytics checked-out and available as IDEA project as described in the how-to Setup an IDEA project for a PillarOne application.
Step by step
- Execute the jar-client ant target available in the Ant Build panel (right side of IDEA).
- Click in the menu Run on Edit Configurations ...
- Right click on Grails Application in the left tree and select Grails Application
- Fill in a valid environment according to your setup. The screenshot shows the mysql example.
You may use any of the defined environments in if the corresponding database is available on your system. Environments have to be defined in DataSource.groovy and Config.groovy. - Select the new run configuration in the combobox of the symbol list and click on the green button.
- Once the application is started you will find the url in the log:
Server running. Browse to http://localhost:8080/RiskAnalytics
This website contains two links: one for the applet and one for the jnlp version.
Further information
Grails comes with a Jetty webserver. For a production environment you should look for another one.

