| | 1 | 1) Download caTissue suite from caTissue site (https://gforge.nci.nih.gov/frs/?group_id=689) named with caTissue v1.2 installable |
| | 2 | 2) Once you have downloaded the caTISSUE_SUITE_v12_Installable_Pack.zip, extract the contents of the file to any directory. |
| | 3 | This folder contains two additional compressed files; caTissue_Suite_v1.2_Installable and caTissue_Suite_API_Client_v1.2_Installable |
| | 4 | 3) Unzip the caTissue_Suite_v1.2_Installable.zip, extract the contents of the file to any directory. |
| | 5 | 4) Unzip the caTissue_Suite_API_Client_v1.2_Installable.zip, extract the contents of the file to any directory. |
| | 6 | 5) In the installation folder caTissueInstall.properties is the Property file in which all the application configuration parameters are listed, we need to change it according to our local environment |
| | 7 | 6) In the installation folder build.xml is ANT script used to deploy the application on a JBoss server. This also creates the database schema for Oracle or MySQL. |
| | 8 | 7) In the installation folder SQL folder containing SQL scripts required for deployment |
| | 9 | 8) In the installation folder modules folder containing various caTissue modules |
| | 10 | 9) JBoss version should be 4.2.3 GA and Mysql version should be 5.0.45 |
| | 11 | 10) In order to prevent lower case problem in ubuntu mysql you have to set set lower_case_table_names=1 in your /etc/mysql/my.cnf file. |
| | 12 | 11) Once above step is done shutdown the mysql server and restart it. |
| | 13 | 12) Before starting deployment make sure that jboss shouldn't be running. |
| | 14 | 13) Create the database first (eg: catissuecore) in mysql before starting of the building the application, as shown below, |
| | 15 | |
| | 16 | Drop DATABASE if exists catissuecore; |
| | 17 | |
| | 18 | CREATE DATABASE catissuecore; |
| | 19 | |
| | 20 | GRANT ALL PRIVILEGES ON catissuecore.* TO 'root'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION; |
| | 21 | |
| | 22 | GRANT ALL PRIVILEGES ON catissuecore.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; |
| | 23 | |
| | 24 | USE mysql; |
| | 25 | |
| | 26 | UPDATE User SET File_priv = 'Y' where User='root'; |
| | 27 | |
| | 28 | FLUSH PRIVILEGES; |
| | 29 | |
| | 30 | 14) Start deploying the catissue application using build.xml with the argument deploy_all, if you see any error while in deployment because of upgrade_metadata_cnstrProp.sql then uncomment ALTER TABLE DYEXTN_COLUMN_PROPERTIES TYPE = INNODB; and ALTER TABLE DYEXTN_CONSTRAINTKEY_PROP TYPE = INNODB; in the same file. Start redeploying the application. |
| | 31 | 15) If you see any errors in building the application, once you resolved the issues freshly build the application with the arguments clean_server and delete_files (delete the previously created dependencies). Once this is done then you build the application with deploy_all. |
| | 32 | 16) Once build is successful war file will be automatically deployed into your jboss, start the jboss server. |
| | 33 | 17) Once the JBoss server is started, you can access the application using a web browser. The following is the URL pattern used for the application: |
| | 34 | http://machine_name:port_number/catissuecore. |
| | 35 | 18) When the browser displays the home page of caTissue Suite, you can log on to the application by specifying the values which were configured in |
| | 36 | first.admin.emailAddress and first.admin.password of caTissueInstall.properties before deployment. |
| | 37 | |
| | 38 | |
| | 39 | |
| | 40 | |
| | 41 | Following is the sample caTissueInstall.properties file |
| | 42 | ------------------------------------------------------- |
| | 43 | |
| | 44 | #Enter absolute path of the installed directory of JBoss server {JBOSS_HOME}. |
| | 45 | #Please note that the path must be separated by Unix style path separator "/". |
| | 46 | jboss.home.dir=/home/localadmin1/jboss-4.2.3.GA |
| | 47 | |
| | 48 | #Please specify the server configuration name of jboss where you want to deploy. |
| | 49 | #By default it is set to 'default' configuration. This is useful if someone wants |
| | 50 | #to run multiple instances of suite application on same jboss. |
| | 51 | jboss.server.name=default |
| | 52 | |
| | 53 | #Enter server port on which JBoss is listing the client request |
| | 54 | # Please do not specify the port number in case of an Apache Front ended server |
| | 55 | #Default port is 8080 |
| | 56 | jboss.server.port=8080 |
| | 57 | |
| | 58 | #Hostname or IP address of the machine on which the JBoss server is running. |
| | 59 | #CAUTION: This parameter should not be set to localhost. Set the actual hostname or IP address |
| | 60 | jboss.server.host=localhost |
| | 61 | |
| | 62 | #Enter yes/no to specify Secure HTTP connection |
| | 63 | jboss.container.secure= |
| | 64 | |
| | 65 | #database type permissible values: oracle or mysql |
| | 66 | database.type=mysql |
| | 67 | |
| | 68 | #Hostname or IP address of the machine on which the database server is running. |
| | 69 | database.host=localhost |
| | 70 | |
| | 71 | #Port number to connect with the database server |
| | 72 | #Default port for MySQL : 3306 |
| | 73 | #Default Port for Oracle: 1521 |
| | 74 | database.port=3306 |
| | 75 | |
| | 76 | #Oracle TNS name, applicable only when database.type=oracle |
| | 77 | oracle.tns.name= |
| | 78 | |
| | 79 | database.name=catissuecore |
| | 80 | database.username=root |
| | 81 | database.password=root |
| | 82 | |
| | 83 | #If CAS authentication server needs to be deployed on the |
| | 84 | #same server as caTissue (specified by jboss.home.dir), then set this property to "true" |
| | 85 | deploy.cas.on.catissue.jboss=true |
| | 86 | |
| | 87 | #If cas.deploy is "false", then fill the following CAS related properties: |
| | 88 | #Hostname or IP address of the machine on which the CAS server is running. |
| | 89 | #CAUTION: This parameter should not be set to localhost. Set the actual hostname or IP address |
| | 90 | cas.jboss.server.host= |
| | 91 | cas.jboss.port= |
| | 92 | #Enter yes/no to specify Secure HTTP connection for CAS |
| | 93 | cas.jboss.container.secure= |
| | 94 | #CAS is deployed on HTTPS server then Specify the .keystore file path of CAS server. |
| | 95 | cas.server.keystore.path= |
| | 96 | |
| | 97 | email.administrative.emailAddress= |
| | 98 | email.sendEmailFrom.emailAddress= |
| | 99 | email.mailServer= |
| | 100 | |
| | 101 | # Option to use the common package's email handler on server exception. Values = [true|false] |
| | 102 | # Default = [false] |
| | 103 | use.email.commonpackage.config=false |
| | 104 | # Send the exception email to e-addresses. Can have comma seperated values. |
| | 105 | email.sendEmailTo.emailAddress= |
| | 106 | # Admin Email address. This would be included in case above entry is empty or invalid. |
| | 107 | email.admin.support.emailAddress= |
| | 108 | # Email-From Name. |
| | 109 | email.sendEmailFrom.name= |
| | 110 | # The subject line of the email. |
| | 111 | email.exception.subject=System Exception Occured. |
| | 112 | |
| | 113 | #Application login timeout interval in minutes. |
| | 114 | #Default value is 30 minutes |
| | 115 | session.timeout=30 |
| | 116 | #sets the addition info on home page |
| | 117 | app.additional.info= |
| | 118 | |
| | 119 | #Information related to first administrator account |
| | 120 | first.admin.department=d |
| | 121 | first.admin.institution=i |
| | 122 | first.admin.cancerresearchgroup=c |
| | 123 | first.admin.emailAddress=admin@admin.com |
| | 124 | first.admin.password=Login123 |
| | 125 | |
| | 126 | #Enter path for the MMTx home directory |
| | 127 | caties.mmtx.home= |
| | 128 | |
| | 129 | #Values for DE API |
| | 130 | caCORE.jBoss.home.dir= |
| | 131 | caCORE.project.name= |
| | 132 | |
| | 133 | #Choose below option to associate dynamic extensions default clinical and pathology forms to the Collection Protocols. |
| | 134 | #Choose false to show all clinical and pathology default annotations for data entry |
| | 135 | #Choose true and edit the Show_Hide_Forms.xml present in the installable folder to associate selective forms to Collection Protocol for data entry |
| | 136 | show.hide.forms.based.on.CPs=false |
| | 137 | |
| | 138 | #URL needed for category creation. |
| | 139 | Application.url= |
| | 140 | |
| | 141 | #Set the location where caCore is generated |
| | 142 | cacore.deployable.location=./cacore_deployable |
| | 143 | |
| | 144 | #Comma separated Entity Groups which are to be excluded. |
| | 145 | exclude.entitygroup= |
| | 146 | |
| | 147 | #Comma separated Entity Groups which are only to be included. |
| | 148 | include.entitygroup= |
| | 149 | |
| | 150 | #Set the owner for the old saved queries prior to v1.2. Enter the login name of the user whom |
| | 151 | #you want to make the owner. |
| | 152 | saved.query.owner= |
| | 153 | |
| | 154 | #CSM DATABASE CREDENTIALS |
| | 155 | csm.database.type= |
| | 156 | csm.database.host= |
| | 157 | csm.database.port= |
| | 158 | csm.database.name= |
| | 159 | csm.database.username= |
| | 160 | csm.database.password= |