This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| unraid:dockers:tomcat [2021/11/27 09:39] – created dirk | unraid:dockers:tomcat [2023/08/20 20:14] (current) – [Add football season] dirk | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| ===== App Settings ===== | ===== App Settings ===== | ||
| * Use similar steps used in VM setup to complete mysql linking etc. | * Use similar steps used in VM setup to complete mysql linking etc. | ||
| - | * Install Java / Mysql connector< | + | * Install Java / Mysql connector< |
| * Note: This was not supported in 20.04 at the time and must be installed manually. | * Note: This was not supported in 20.04 at the time and must be installed manually. | ||
| * Download JDBC Driver for Mysql (Connector/ | * Download JDBC Driver for Mysql (Connector/ | ||
| - | * Install the debfile:< | + | |
| - | * Create symlink for connector< | + | * Use "cat / |
| - | * If webinf files need to be compiled:< | + | |
| + | * Create symlink for connector< | ||
| + | * In reality, all you need are the .jar files and keep them in the appdata somewhere mapped... then just symlink those into the / | ||
| + | ln -sf / | ||
| + | etc</ | ||
| + | * If webinf files need to be compiled:< | ||
| + | * Note: this step is different from Tomcat v9 in VM because paths are different. | ||
| + | * Note2: MUST CHANGE import javax.servlet.* to import jakarta.servlet.* in all the .java files under the WEB-INF folder before compiling with above. | ||
| * Restart | * Restart | ||
| + | |||
| + | ==== Add football season ==== | ||
| + | < | ||
| + | < | ||
| + | use DB; | ||
| + | LOAD DATA LOCAL INFILE " | ||
| + | UPDATE games_nfl SET vscore = NULL where year = 2023; | ||
| + | UPDATE games_nfl SET hscore = NULL where year = 2023;</ | ||
| + | |||