Changes between Initial Version and Version 1 of CaTissue HowTo Build & Deploying CaTissue from the source code?


Ignore:
Timestamp:
11/23/11 17:42:05 (12 years ago)
Author:
somaraja.surampudi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CaTissue HowTo Build & Deploying CaTissue from the source code?

    v1 v1  
     11) Download caTissue suite from caTissue site (https://gforge.nci.nih.gov/frs/?group_id=689) named with caTissue v1.2 installable
     22) Once you have downloaded the caTISSUE_SUITE_v12_Installable_Pack.zip, extract the contents of the file to any directory.
     3This folder contains two additional compressed files; caTissue_Suite_v1.2_Installable and caTissue_Suite_API_Client_v1.2_Installable
     43) Unzip the caTissue_Suite_v1.2_Installable.zip, extract the contents of the file to any directory.
     54) Unzip the caTissue_Suite_API_Client_v1.2_Installable.zip, extract the contents of the file to any directory.
     65) 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
     76) 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.
     87) In the installation folder SQL folder containing SQL scripts required for deployment
     98) In the installation folder modules folder containing various caTissue modules
     109) JBoss version should be 4.2.3 GA and Mysql version should be 5.0.45
     1110) 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.
     1211) Once above step is done shutdown the mysql server and restart it.
     1312) Before starting deployment make sure that jboss shouldn't be running.
     1413) Create the database first (eg: catissuecore) in mysql before starting of the building the application, as shown below,
     15
     16Drop DATABASE if exists catissuecore;
     17
     18CREATE DATABASE catissuecore;
     19
     20GRANT ALL PRIVILEGES ON catissuecore.* TO 'root'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION;
     21
     22GRANT ALL PRIVILEGES ON catissuecore.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
     23
     24USE mysql;
     25
     26UPDATE  User SET File_priv = 'Y' where User='root';
     27
     28FLUSH PRIVILEGES;
     29
     3014) 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.
     3115) 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.
     3216) Once build is successful war file will be automatically deployed into your jboss, start the jboss server.
     3317) 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:
     34http://machine_name:port_number/catissuecore.
     3518) 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
     36first.admin.emailAddress and first.admin.password of caTissueInstall.properties before deployment.
     37
     38
     39
     40
     41Following 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 "/".
     46jboss.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.
     51jboss.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
     56jboss.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
     60jboss.server.host=localhost
     61
     62#Enter yes/no to specify Secure HTTP connection
     63jboss.container.secure=
     64
     65#database type permissible values: oracle or mysql
     66database.type=mysql
     67
     68#Hostname or IP address of the machine on which the database server is running.
     69database.host=localhost
     70
     71#Port number to connect with the database server
     72#Default port for MySQL : 3306
     73#Default Port for Oracle: 1521
     74database.port=3306
     75
     76#Oracle TNS name, applicable only when database.type=oracle
     77oracle.tns.name=
     78
     79database.name=catissuecore
     80database.username=root
     81database.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"
     85deploy.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
     90cas.jboss.server.host=
     91cas.jboss.port=
     92#Enter yes/no to specify Secure HTTP connection for CAS
     93cas.jboss.container.secure=
     94#CAS is deployed on HTTPS server then Specify the .keystore file path of CAS server.
     95cas.server.keystore.path=
     96
     97email.administrative.emailAddress=
     98email.sendEmailFrom.emailAddress=
     99email.mailServer=
     100
     101# Option to use the common package's email handler on server exception. Values = [true|false]
     102# Default = [false]
     103use.email.commonpackage.config=false
     104# Send the exception email to e-addresses. Can have comma seperated values.
     105email.sendEmailTo.emailAddress=
     106# Admin Email address. This would be included in case above entry is empty or invalid.
     107email.admin.support.emailAddress=
     108# Email-From Name.
     109email.sendEmailFrom.name=
     110# The subject line of the email.
     111email.exception.subject=System Exception Occured.
     112
     113#Application login timeout interval in minutes.
     114#Default value is 30 minutes
     115session.timeout=30
     116#sets the addition info on home page
     117app.additional.info=
     118
     119#Information related to first administrator account
     120first.admin.department=d
     121first.admin.institution=i
     122first.admin.cancerresearchgroup=c
     123first.admin.emailAddress=admin@admin.com
     124first.admin.password=Login123
     125
     126#Enter path for the MMTx home directory
     127caties.mmtx.home=
     128
     129#Values for DE API
     130caCORE.jBoss.home.dir=
     131caCORE.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
     136show.hide.forms.based.on.CPs=false
     137
     138#URL needed for category creation.
     139Application.url=
     140
     141#Set the location where caCore is generated
     142cacore.deployable.location=./cacore_deployable
     143
     144#Comma separated Entity Groups which are to be excluded.
     145exclude.entitygroup=
     146
     147#Comma separated Entity Groups which are only to be included.
     148include.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.
     152saved.query.owner=
     153
     154#CSM DATABASE CREDENTIALS
     155csm.database.type=
     156csm.database.host=
     157csm.database.port=
     158csm.database.name=
     159csm.database.username=
     160csm.database.password=