Running Cascade Server on Linux
Configuring the Application with the Database
- Navigate to {%Cascade Server%}/cascade/server/default/deploy and edit the data source configuration file that corresponds to the database which will be used. (eg, if using MySQL, edit the file mysql-ds.xml)
Locate the <jndi-name> element and set the value to SystemDS:
<jndi-name>SystemDS</jndi-name>
Set the <connection-url> element such that it points to the database server (leave as 'localhost' if database is located on the same machine)
Set the <user-name> and <password> elements using the login credentials to the database.
- Edit the remaining two -ds.xml files and set <jndi-name> to SystemDS# (where # is any digit 1-9). For example:
<jndi-name>SystemDS3</jndi-name>
Starting the Application
Please change directories into the Cascade Server bin folder "%Cascade Server%/cascade/bin". Once in the /bin folder, please execute the run.sh shell script. If the script isn't executable, or you aren't able to run it, please do the following:
sudo chmod u+x ./run.sh
sudo ./run.sh &
Please make sure to add the ampersand '&' to run in the background, if necessary.
To run Cascade Server, first start the script which will cause information to appear on the console. Next, open your web browser and go to the url "http://MACHINE_IP_ADDRESS:8080". This will take you to the login page. The default username and password to login:
username: admin
password: admin