This section describes how to use the FEWS Web Services if it has been installed as a Windows service and using using the tomcat manager application to deploy the webservice. For the latest information on installations instructions for a specific Tomcat version, please refer to the Tomcat documentation itself and see Delft-FEWS Installation - Install Apache Tomcat on how to install tomcat for production.
Warning |
---|
Using the manager application is not reccomended recommended for production and should only be used for local testing. |
...
Code Block |
---|
<role rolename="manager-gui"/> <user username="admindummy_username" password="passdummy_password" roles="manager-gui"/> |
Warning |
---|
Please note that storing plain text passwords is not advised. Use password hashes to avoid this using the Tomcat digest capabilities. As an example take a look at the FEWS Web Services Tomcat Security page for more information. |
Start the webservice on Windows via Windows Task Manager > Services > Apache tomcat >(right click)> Start.
Navigate in a webbrowser to web browser to http://localhost:8080, select the Manager App and log in with user you created during the Tomcat installation (see above).
Within the listed Applications, you'll find /FewsWebServices, which should already be running. The manager application can be used to stop the FewsWebServices, undeploy it, or deploy a new version.