-
Book Overview & Buying
-
Table Of Contents
Oracle Coherence 3.5
By :
In order to deploy the Java application, you need to perform several steps:
Open a command prompt and navigate to the CoherentBank\java directory.
Edit build.properties file to reflect your environment.
Start the H2 database:
> ant start-db-server
If everything goes well, the H2 console should open in the browser. You can log in by changing the JDBC URL to jdbc:h2:tcp://localhost/db/coherent-bank-db, setting the username to sa, and clicking the Connect button.

There will be no tables there at first, which will be corrected shortly.
Start the web application:
> ant web-app
This should run the SQL script to create necessary tables, build the application, start the embedded Jetty web server, and open up the web browser showing the login screen.

If the web server fails to start make sure that you don't have anything else running on port 8080 and retry (or alternatively, change the jetty.port property within the build.xml file).
If the browser does not open automatically...
Change the font size
Change margin width
Change background colour