...
Value | Description | Note | ||
---|---|---|---|---|
system_id | Unique identifier of the SSP instance | |||
db_username | Values for connecting to the SSP database | |||
db_password | Values for connecting to the SSP database | |||
db_admin_username | Values for connecting to the SSP database | |||
db_admin_password | Values for connecting to the SSP database | |||
db_username_liquibase | Value to allow for MS SQL Server domain accounts | ${db_username_liquibase} and ${db_username} should be set the same value unless you're on SqlServer, using the JTDS driver, and SSP connects to the database as domain users. If that applies to you, keep ${db_username} set to the unqualified account name, but change ${db_username_liquibase} to the fully-qualified domain account name as shown here. Include the brackets and double back-slashes. db_username_liquibase=[DOMAIN\\username] default is ${db_username} | ||
db_schema | Db schema for the SSP database | Examples: Postgres: public SQLServer: dbo | ||
db_name | Value for the SSP database | |||
db_url | jdbc connection syntax | For Microsoft SQL Server, either specify a port (the default is 1433) or ensure that the SQL Server Browser service is running because the SQL Server JDBC driver defaults to port 1434 which is the SQL Server Server Browser service default port. Depending on the server configuration, either may work, or you may want to explicitly specify the port and instance name, if applicable. SQL Server db_url w DOMAIN USER AUTHN may look like this; substitute machine name, instance and domain names w/o <>'s db_url=jdbc:jtds:sqlserver://<machine_name>:1433/${db_name};instance=<instance_name>;domain=<domain_name> | ||
db_driver_class | jdbc database connectivity syntax | |||
db_dialect | Hibernate dialect | Use of one of the org.jasig.ssp.util.hibernate.ExtendedSQLServer*Dialects is strongly encouraged if running against SQLSever. The default ssp-config.properties has an example.) | ||
db_conns_max_active | Values for the database connection pool | The default value will need to be increased for test and production | ||
db_conns_max_idle | Values for the database connection pool | The default value will need to be increased for test and production | ||
db_conns_max_wait | Values for the database connection pool | |||
db_conns_validation_query | Values for the database connection pool | |||
db_liquibase_enabled | Enables the liquibase script for database table management | |||
db_liquibase_changelog | Location for the liquibase change log | |||
db_liquibase_set_mssql_snapshot_isolation | Parameter for configuring a MSSQL database | IMPORTANT The default value is 'true'. Set this value to 'false for MSSQL. The liquibase changeset 000014.xml will be ignored. The sql above configures the database correctly. | ||
db_liquibase_strip_journal_comment_markup | Parameter to enable a script to convert HTML Journal Entries to plain text | |||
db_liquibase_strip_tuition_paid_is_y | True value will delete the existing values forced into the database in v1.2.0, False will leave the existing values alone | This only applies to implementers who installed v1.2.0 or earlier AND populated the external_registration_status_by_term.tuition_paid field with external data | ||
db_liquibase_ convertmanage_external_database_term by_timestamps default | True value in external_term.start_date and external_term.end_date will be interpreted in ${db_time_zone_legacy} and re-written in ${db_time_zone_legacy}. True usually makes sense for both upgrades and fresh installs. Would only set to false if for some reason these fields have already been converted to will allow SSP to manage the tables and views | If you want to take total control of SSP's external views and tables, change that property to false in your SSP_CONFIGDIR/ssp-config.properties before first startup. And once you've started up, there's really no point in ever changing that value afterwards. (If you turn it off, then decide you want SSP to manage external views and tables after all, you'll need to update config set value = 'true' where name = 'manage_integration_database' and then restart.) | ||
db_liquibase_convert_external_term_timestamps | The True value in external_term.start_date and external_term.end_date will be interpreted in ${db_time_zone) via some external process. | db_batchsize | _legacy} and re-written in ${db_time_zone_legacy}. | True usually makes sense for both upgrades and fresh installs. Would only set to false if for some reason these fields have already been converted to ${db_time_zone) via some external process. |
db_batchsize | The number of records to process for database transactions. | The default value is 300. Use of the parameter can increase performance of queries writing large sums of data into the database. This is primarily used in the Caseload Re-assignment tool. | ||
student_documents_base_dir | Base Directory for student documents | It is important to not end in path separator like / or \ | ||
student_documents_volumes | Comma seperated list of subdirectories under student documents | The first file loaded after server start goes into vol1, second into vol2, etc. This facilitates the 'file sharding' effort to distribute files among multiple volumes to decrease any sort of maintenance of these files. It is important to not end in path separator like / or \ | ||
student_documents_file_types | Comma separated list of allowable file types that will be used to validate student document files | The initial types are pdf,gif,jpg,jpeg,doc,docx,xls,png. It is important to not include the period/dot in the definition. Only the type abbreviation is required. | ||
student_documents_max_size | Maximum size of an individual file, in bytes | The default value is 5000000 | ||
cacheLifeSpanInMillis | This property will dictate how long lived a cache will be only external courses uses a cache | default is 86400000 = 1 day | ||
db_time_zone_legacy | Parameter to set the timezone for data migration | Used for migrating persistent timestamps. Prior to work on SSP-1002, SSP-1035, and SSP-1076, timestamps were stored in the JVM default timezone. After that the application assumes they are stored in ${db_time_zone}. In order to correctly migrate existing data, though, the app needs to know the original timezone. This is almost always going to be the current JVM default timezone, hence the default value here, which is a special value instructing the app to lookup and inject that timezone into this config property. In the rare event you need to change that value, you can do so here. This would likely only be necessary if, for whatever reason you change the JVM default *after* the migrations run, which would result in a Liquibase checksum error. To avoid that, just set the relevant timezone here when and if you make that change. Default is CURRENT_JVM_DEFAULT | ||
db_time_zone | Timezone ID for the JVM | JVM-recognized TimeZone ID for the zone in which persistent date/time values should be interpreted. Should rarely if ever need to be overridden. If overridden, should always be set to a TimeZone that does not observe Daylight Savings Time unless trying to cope with legacy data that was stored in a DST-aware TimeZone. Once set, should never be changed else date/time values in the database will be interpreted incorrectly. (SSP does not store timezone data on persistent date/time values and implements no logic for detecting and/or handling changes to this configuration option.) Default is UTC | ||
highly_trusted_ips | The list of IP addresses that are allowed to access the APIs | This is used in conjunction with high_trusted_ips_enabled in the System Configuration | ||
smtp_username | Value for email relay | |||
smtp_password | Value for email relay | |||
smtp_host | Value for email relay | |||
smtp_port | Value for email relay | |||
smtp_protocol | Protocol for email | Default is smtp |
...
- logback.xml
- The logback.xml controls the log location and level
- File Location: src/main/config/external to /usr/local/etc/ssp or C:\ssp (depending on the environment
Action: copy the logback.xml file to the local configuration directory (ie: C:\ssp\ssp-local)
- Configuration Values: property file
Code Block title logback.xml <property file="C:/ssp/ssp-local/ssp-config.properties"
- Additional configuration options
- Adjust the log levels for each log appender as necessary
- Enable the smtpAppender (disabled by default)
- Further details regarding managing the logback.xml are included in XML comments within the file
...
Code Block | ||
---|---|---|
| ||
server.home=D:/apps/tomcat6 |
- pom.xml (For ONLY for non-JTDS jdbc driver installations on Microsoft SQL Server with jTDS JDBC driver only. SSP-Platform now supports JTDS driver in the package)
JDBC driver for SSP-Platform if not using PostgreSQL
Warning The pom.xml should only be changed with extreme care. The jTDS This is only required for Microsoft SQL Server jdbc driver needs to be identified in the buildinstallations not using the default JTDS jdbc driver packages with SSP-Platform. The parameter defines the location of the driver in the local repository.
- File Location: (uPortal-ssp-1-0-0)
Configuration Values: parameters
Action: modify the exist parameters defined for PostgreSQL
Code Block title JDBC driver identified in the pom.xml <!-- The JDBC Driver used by SSP --> <jdbc.groupId>net.sourceforge.jtds<groupId> </jdbc.groupId> <jdbc.artifactId>jtds<artifactId> </jdbc.artifactId> <jdbc.version>1.2.4<version> </jdbc.version>
- localssp-platform-config.properties
- The localThe ssp-platform-config.properties file must be modifed for database connectivity and email settings
- Original File Location:
- ./uportal-war/src/main/resources/properties/ssp-platform-config.default.properties
- Edit the file and save in the SSP_CONFIGDIR
- Run-Time File Location: <SSP_CONFIGDIR>/ssp-platform-config.properties
Configuration Values:
Value Description environment.build.hibernate.connection.driver_class jdbc driver file environment.build.hibernate.connection.url jdbc connection syntax environment.build.hibernate.connection.username jdbc connection database username environment.build.hibernate.connection.password jdbc connection database password environment.build.hibernate.dialect jdbc connection dialect - The localThe ssp-platform-config.properties file must be modifed for database connectivity and email settings
3. Build SSP-Platform
Use the following command to build, deploy, and initialize the SSP-Platform project:
...
.hibernate.dialect jdbc connection dialect
3. Build SSP-Platform
Use the following command to build, deploy, and initialize the SSP-Platform project:
Code Block |
---|
*** When running a database initialization ant target (initportal, initdb), you need to specify SSP_CONFIGDIR if it isn't already specified as an env var. E.g on *nix.... $> SSP_CONFIGDIR=/opt/ssp/sspconfig ant -Dmaven.test.skip=true clean initdb deploy-ear: Build entire uPortal (incl. all wars), deploy entire uPortal to Tomcat.***
Build the full site and database by running ant initportal
Other deployment options:
testdb: Tests the database settings and connectivity
initdb: Drop uPortal tables in the db & recreate them with configured seed data (src/main/data, not including the "quickstart" folder).
deploy-war: Build & deploy _just the uPortal war_ (i.e. not portlets, etc.).
deployPortletApp: Deploy one (already-built) portlet war file to Tomcat (example ant deploPortletApp -DportletApp=..\SSP-Open-Source-Project/target/ssp.war)
Build the full site and database: C:\ssp\uPortal-ssp-1-0-0>ant initportal
Other deployment options:
testdb: Tests the database settings and connectivity
initdb: Drop uPortal tables in the db & recreate them with configured seed data (src/main/data, not including the "quickstart" folder).
deploy-ear: Build entire uPortal (incl. all wars), deploy entire uPortal to Tomcat.
deploy-war: Build & deploy _just the uPortal war_ (i.e. not portlets, etc.).
deployPortletApp: Deploy one (already-built) portlet war file to Tomcat (example ant deployPortletApp -DportletApp=..\SSP-Open-Source-Project/target/ssp.war) |
...