...
http://jdbc.postgresql.org/download.html
Configuration Tomcat
We have to do 5 8 steps :
1. When we downloads, we must extract Tomcat 7
2. Next point is copy the qcadoo directory with properties files from the binary distribution to Tomcats 7 distribution
3. We have to copy PostrgreeSQL JDBC Driver to lib folder in Tomcat, which we find in main folder Tomcat 7
4. Copy some QCADOO* environmental variables from qcadoo's bin/setenv.sh (or bat) from qcadoo's binary distribution to Tomcats 7 setenv.sh (or bat)bin.
5. Copy mes-application*.war and mes-aplication* folder (you can find it in qcadoo-src/mes/mes-application/target in a the build sources) to folder webapps in Tomcat.
6.Next we need open folder Tomcat, next open folder conf and open file server.xml
7. When we open this file, we find verse <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> ,
and we change this vers for <Host name="localhost" appBase="webapps" unpackWARs="false" autoDeploy="false">
8.
...
Next we need open webapps and we find folder ROOT, we open this folder and we delete all files and folder that are in ROOT folder, next we back in webapps in Tomcat,
we open mes-application-0.4.0 and we copy all files and folders which in this folder. After this we need open folder ROOT and we paste what we copied.
Start Tomcat and mes-application
1. We must open terminal in Unix and we go to folder bin in Tomcat, and next write ./startup.sh or we open Windows Command line in Windows and we go to folder bin in Tomcat and
Tomcat and we write startup.
2. Next we need open internet browser and open :
3. When we see image with cat and message: "If you're seeing this, you've successfully installed Tomcat. Congratulations!" , You just installed the Tomcat
Start mes-application
1.We must open internet browser and open :
http://localhost:8080/mes-application-0.4.0/mes-application we successfully deploy mes-application on Tomcat
Problems
Our foundation was, that when starting our application tomcat extract mes-application *. war but spring wants extract mes-application *. war,
before start application, what is described at this link:
So we instead give the mes-application *. war, we given already extract mes-application *. war