Apache Tomcat is an implementation of the Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed under the Java Community Process. Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
Installation
IMPORTANT: Apache-Tomcat requires the JRE QPKG [1] to be up and running.
Download, Install and Enable the JRE QPKG first
Download, Install and Enable the Apache-Tomcat QPKG.
[1] JRE QPKG is available only for the x86 QNAP Platform. Please refer to the SUN Java website about the release conditions for other processors.
Apache-Tomcat Administration
In your browser enter the following address [2]:
http://<your_nas_ip>:7080/
[2] Forward the port to access the Apache-Tomcat server from external network
Apache-tomcat admin.jpg
To change the Apache-Tomcat port, edit the section below in the conf/server.xml file:
If the page here above is displayed, it means that Apache-Tomcat is running. Nevertheless don't be surprised if you cannot access the Status or the Tomcat Manager. You must first setup the Admin account. Open the usr/local/tomcat/conf/tomcat-users.xml file using an SFTP client like Transmit(OS X) or WinSCP(Windows), and using a text editor insert the content below between the tags (change with secret):