| 36 | The main idea is to run the server module through the !TrueServerMAin launcher. If it starts, the jsps are shown and the database is running also, the task is ready. These are the steps to follow: |
| 37 | * Fix the Main class in the launcher module - the appended parts to the path to the bundles are not correct right now. |
| 38 | * Add the org.sophie2.core bundle to the server.bundles.config file. It is needed for starting the server. |
| 39 | * Correct the creation of the database - it must be created in src/main/resources/db folder. Just set the path to be the DB_NAME field. |
| 40 | * Think out a way to compile the JSPs and add them to the jar so that the server knows where to search them. Use maven-jetty-jspc-plugin. You should create a separate profile for compilation of the jsps. See http://docs.codehaus.org/display/JETTY/Maven+Jetty+Jspc+Plugin. |
| 41 | * Create s2s user in the server machine and copy the needed resources for starting the server (launcher module with the config file listing the needed bundles). Use the result of [wiki:APP_PLUGIN_STARTUP_R0] |
| 42 | * Create bash script with start, stop and restart options. |