Changes between Version 12 and Version 13 of tap


Ignore:
Timestamp:
Mar 9, 2015 6:35:56 PM (7 years ago)
Author:
vegasm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tap

    v12 v13  
    4949
    5050Tomcat gets users and roles from conf/tomcat-users.xml by default. We are going to change this in order to get users and roles from a given database.
    51 First of all, include both derbyclient.jar and derbynet.jar in $CATALINA_HOME/lib. After doing that, we need to add a new resource called “jdbc/admin” in ''GlobalNamingResurces'':
     51First of all, include both derbyclient.jar and derbynet.jar in $CATALINA_HOME/lib. After doing that, we need to add a new resource called “jdbc/admin” in ''GlobalNamingResources'':
    5252
    5353
     
    8181We strongly recomend you before run Tomcat, set JAVA_OPTS="-Xms256m -Xmx4096m -XX:+DisableExplicitGC -Dcom.sun.management.jmxremote -XX:PermSize=256m -XX:MaxPermSize=512m -XX:-UseGCOverheadLimit"
    8282
     83Run Tomcat
     84{{{
     85/bin/startup.sh
     86}}}
     87
     88Check the Initialization
     89{{{
     90tail -f /deployment_test/apache-tomcat-7.0.59/logs/catalina.out
     91}}}
     92
    8393== Initial TAP setup ==
    8494
    85 Before deploying TAP you need to configure some files in order to adapt it for your needs.
    86 
    87 WEB_INF/classes/global_variables.properties
     95You need to configure some files in order to adapt it for your needs. Shutdown Tomcat and go to /deployment_test/apache-tomcat-7.0.59/webapps/tap
     96
     97Configure WEB_INF/classes/global_variables.properties
    8898
    8999{{{
     
    99109You need to create a recaptcha https://www.google.com/recaptcha/admin#list and set both private and public keys in the previous file. You also need to set your base url like localhost:8080/tap or yourhost/tap, the managers emails which allow people to keep in touch of the group events (when user wants to join a group, etc)
    100110
    101 WEB-INF/classes/mail.properties
     111Configure WEB-INF/classes/mail.properties
    102112{{{
    103113mail.port = port_number
     
    112122=== Thredds and TAP deployment ===
    113123
    114 The last part of this tutorial is manage to start both applications successfully. Move both thredds.war and tap.war to $CATALINA_HOME/webapps. Start the Tomcat instance and the Derby network instance.
    115 If Thredds is not able to start due to a directory error, please create a folder called “thredds” in $CATALINA_HOME/content to solve that issue.
     124Start the Tomcat instance and the Derby network instance. If Thredds is not able to start due to a directory error, please create a folder called “thredds” in $CATALINA_HOME/content to solve that issue.
    116125
    117126== First steps in TAP ==