Page History
...
For more information about the 2.2 3 updates, see the caNanoLab 2.2 3 Release Notes.
...
Extract the GitHub location to a location on your local system, for example, C:\caNanoLab_2.23
(This location is referred as <CANANOLAB_SOURCE> throughout the document). Verify that the following five folders exist in the directory <CANANOLAB_SOURCE>:
...
Installation and Deployment
Step 1. DB changes to be deployed to migrate to caNanoLab 2.
...
3 from caNanoLab 2.1
a Execute the following scripts in the order specified below:
Step 2. caNanoLab installation instructions to upgrade to 2.
...
3
a Follow these steps to deploy the caNanoLab application.
# | Action | |||||
---|---|---|---|---|---|---|
1 | Set up an environment variable JBOSS_HOME to point to the Wildfly installation directory.
| |||||
2 | Execute the Ant build script build.xml located at <CANANOLAB_SOURCE>/software/cananolab-webapp/build.xml with the target dist. Example: Issue the following commands to execute the Ant script:
Successful execution of the Ant script generates the following artifacts that include two deployable web archive war files, configuration files and libraries for running the web application in the Wildfly environment, and also places these artifacts in the appropriate directories under <JBOSS_HOME>. Artifacts generated are also available in the following folder under <CANANOLAB_SOURCE>:
| |||||
3 | We recommend increasing the JBoss JVM heap size to 2G bytes and permanent generation (permgen) memory space to 256M bytes by updating the file <JBOSS_HOME>/bin/standalone.conf with the following JAVA_OPTS:
This configuration file is read when Wildfly server starts. For a standalone server, pass in the JVM settings either as command line arguments when executing the | |||||
4 | Create a new directory structure
Create a new directory structure
| |||||
5 | Start JBoss application server in Standalone mode. From
The cli scripts assumes the CLI port is running at 19990. If it is different, update the port number at the second line in the script. For Windows environment:
For Linux environment:
Run the remaining After successful completion, you should see following output in the window.
|
...