https://github.com/pwm-project/pwm/blob/master/src/main/webapp/WEB-INF/web.xml#L35-L36
How are you building the WAR? Or are you downloading the snapshots? If you start to build the WAR yourself you can setup an overlay so that your changes such as the mysql jar are automatically injected.
JASON
1. STOP Tomcat and Apache
2. Backup the entire pwm folder and pwm.war in Tomcats webapps directory. 3 & 4 is redundant but better to be safe.
3. Copy the /WEB-INF/LocalDB folder to another location outside of Tomcat
4. Copy the /WEB-INF/PwmConfiguration.xml to another location outside of Tomcat
5. Copy any other modifications/additions you made, for MySQL Driver, you could just put that into Tomcats global directory, for Ubuntu, it is /usr/share/tomcat(6/7)/lib this way any web application can make use of it.
6. Delete the pwm.war and pwm folder from the webapps directory.
7. Deploy new pwm.war and start tomcat. After it starts up just STOP tomcat. Copy back your LocalDB and PwmConfiguration.xml back to the applications directory.
I dont think I missed anything,
JASON
I would assume it would be in the /work directory but I am not sure. What OS are you using? If you still cannot find it, just drop into tomcats lib directory. Nothing needs to be changed in pwm, it all stays the same and pwm would not know the difference in any case.
https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.40.zip
export PWM_APPLICATIONPATH=/opt/pwmdata
Jason can correct me if I am wrong, if you rename the war/application to something else like 'mypwm' , it should be
export MYPWM_APPLICATIONPATH=/opt/pwmdata
Jason,
I used your Linux instructions as a basis for attempting Windows and there are a couple of items that may need noting that likely apply to both platforms depending on what the situation is:
1) I had to update my JDK
2) The application path needs to be set
3) Additional DB access rights may be needed (e.g. create table) if it was locked down tightly as it is in my case
I need to revisit this at a later date since this exercise determined that fitting the upgrade in before Fall classes start (I work at a university) is unlikely. Thanks for the wiki doc though!
-Robert
There really should be a new section written up for configuring PWM with a 3rd party db such as sql server, mysql, or postgresql.
JASON