Änderungen von Dokument 03 Projekt Setupguide ONYX
Zuletzt geändert von Carina Enke am 19.02.2024
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -97,6 +97,61 @@ 97 97 {{/code}} 98 98 99 99 (% style="line-height: 1.4285715;" %)**Maven will build all projects automatically**(%%) (you can do this manually on console, anyhow this is not tested in development environment and may disturb Eclipse Maven integration) 100 + 101 +(% style="line-height: 1.4285715;" %)**Setup database for ONYX WebEditor** 102 + 103 +* Locate setupdatabase.postgre.sql 104 +* Log on to Postgres 105 +* Create user owe with password owe 106 +* Create database owe and assign to user owe 107 +* Import setupdatabase.postgre.sql to this database 108 + 109 + 110 + 111 +Hint: you may use other user/database names, change configuration in 112 + 113 +{{code}} 114 +applicationContext.xml (see below) 115 +{{/code}} 116 + 117 +== Changes on ONYX QTI core == 118 + 119 +Since all ONYX components are managed by Maven, the ONYX QTI core from BPS Maven artifactory is used by default. If you want to change some code you are required to create a JAR from project onyx on your own and either adopt the pom.xml references in preWebOnyx and preWebEditor to your own artifactory or put the JAR in classpath. 120 + 121 +== Configuration == 122 + 123 +**preWebOnyx** 124 + 125 +* Locate onyxplugin.default.config.xml, copy it to a classpath folder and rename to //onyxplugin.config.xml// 126 +* Configure as needed 127 +* Service provider named “preview” is required if used as preview instance for ONYX WebEditor 128 + 129 +**preWebEditor** 130 + 131 +* applicationContext.xml: general configurations (database, mail configuration, preview ONYX (you can change this to your local installation), ...) 132 +* metadataConfigurationContext.xml: normally no changes needed as long as no further metadata are required 133 +* moduleConfigurationContext.xml: repository configuration 134 +* pageModelContext.xml: normally no changes required, defines the main tabs in shown application 135 +* webServiceContext.xml: reporter statistics connection, can be changed to your local ONYX installation 136 + 137 +== Deployment == 138 + 139 +* Deploy preWebOnyx and preWebEditor to Tomcat in Eclipse (it is recommended to use two Tomcat servers in Eclipse to be able to restart both independently) 140 +* Configure Tomcat deployment to use different ports 141 +* Check path the applications are mounted to 142 +* Start Tomcat(s) 143 +* Call http:~/~/localhost:<port>/<path> in browser 144 + 145 +== Important notes == 146 + 147 +**Before running any ONYX application** in Eclipse/Tomcat, always **clean Tomcat Work Directory** first. This is also required in server environment after each update. Since ONYX creates large amounts of temporary files in server environment it is also strictly recommended to clean servers and tomcat temp directory before each application starts. 148 + 149 +When run from Eclipse/Tomcat ONYX applications may not shut down properly. In this case just “kill” them using the red “Terminate” button in console view. 150 + 151 +In server environment ONYX applications uses memory strongly dependent from load and users activities. BPS runs them with **4GB each**. 152 + 153 +** 154 +** 100 100 {{/layout-cell}} 101 101 {{/layout-section}} 102 102
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -334278 11 +3342783 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/334278 1/ONYX project setup guide1 +https://www.bps-system.de/help/display/SOV/wiki/spaces/ONYX/pages/3342783/ONYX project setup guide