4.1 Overview
4.2 Before You Start
4.3 Step One: Download JDK 6
4.4 Step Two: Download Apache Tomcat 6
4.5 Step Three: Verify Installation
4.6 Step Four: Install SSL (Optional)
4.7 Additional Considerations
The HTTP Tunneling Servlet is an add-on module that allows FileCatalyst Direct Clients to fall back to HTTP-based transfer when “auto” mode is used, or to always use HTTP in certain client scenarios.
Typically, FileCatalyst Direct Clients will fall back from Accelerated UDP to multi-stream FTP; the servlet adds one more layer, fallback to HTTP.
The benefit of HTTP-based transfer is that it is almost never blocked by corporate firewalls. As long as a user’s computer is able to connect to the internet, they should be able to transfer files over HTTP. Although HTTP-based transfers cannot be accelerated with the FileCatalyst Protocol, two two key benefits remain:
The servlet will also translate HTTP requests to FTP for non-FileCatalyst FTP servers. If you have a legacy FTP server still in production, you may use the Servlet in conjunction with our client software (with a special Client Connect Key) in order to allow them to communicate with the legacy FTP server using the HTTP tunnel as well.
Always keep in mind that the servlet is connecting to the Server on the user’s behalf. As far as the server knows, the Servlet is the “client”; therefore, consideration must be made to ensure direct communication without a Firewall or NAT getting in the way. After all, avoiding the Firewall and NAT are the primary reasons to use the Servlet in the first place.
To leverage the Servlet’s tunneling capabilities, it is usually deployed on the same network (or even the same physical machine) as the FileCatalyst or FTP server:
To install UnlimitedFTP Servlet, you will need:
(For more specific instructions, consult your server's documentation about deploying web applications, or read the TomcatInstall documentation)
When deployed, you should be able to access a pre-configured UnlimitedFTP applet at: http://yourserver:port/uftps
You should be able to access the FTP Servlet directly at: http://yourserver:port/uftps/ftpservlet
The FTPServlet will also work with a standard <input type=file> tag. Please see formupload.html in the webapps/uftps directory for an example.
The config file will be generated automatically the first time you run the servlet, and is found in the webapps/uftps directory. The following is a description of each of the configurable parameters.
LIVEMINS=1
LICENSEKEY=
SO_TIMEOUT=30000
SO_LINGER=30000
MAXWAIT=120000
MAXTX=0
MAXRX=0
FILESIZELIMIT=0
MULTISESSION=false
LOGLOCATION=ftpservletlog.txt
FTPSERVLETPERMISSIONSCLASS=
TRANSFERMODE=FTP
The following document provides instructions on how to perform a brand new install of Apache Tomcat on Windows, Linux or Solaris using Apache-Tomcat as the application server. The purpose of this document is to prepare a Tomcat servlet container for deployment of Unlimi-Tech and FileCatalyst Web applications, including FileCatalyst HTTP Tunneling Servlet.
Estimated installation time is about 30 minutes. Please have the following information ready before you begin installing:
The following link will take you to Sun’s website download section (size ~50MB): http://java.sun.com/javase/downloads/index.jsp
Make sure that you download the latest update for “JDK 6 ” for your respective platform. After the download is complete run the installer for Java SDK.
If you are installing 64-bit, be sure to download 64-bit installer
In Linux and Solaris, the JAVA_HOME variable with the following command:
export JAVA_HOME=/pathto/j6sdk
This can be set in the user .profile which runs Tomcat (root or other), or in the environment variable file used by Tomcat ($CATALINA_HOME/bin/setenv.sh). See Tomcat documentation for more details.
Once Java is installed, the environment variables need to be set up. This will ensure that if 32-bit Java is already installed, the Operating System will not continue to use 32-bit as the default:
The following link will take you to Sun’s website download section (size ~90MB): http://tomcat.apache.org/download-60.cgi
Locate the latest Tomcat 6 Stable on the download menu
Download the Windows Installer. For easier administration later it is strongly recommended that you install Tomcat in top-level directory of your root: example:
c:\tomcat
Note: The install directory for Tomcat is also referred to as the CATALINA_HOME.
During the install you can change the Tomcat HTTP port to 80 (default HTTP, as opposed to the Tomcat default of 8080).
You are also presented with a Tomcat administrator login. This is to administer Tomcat servlet container. Provide a suitable password for this.
64-bit Windows: Download the 64bit Tomcat Service Wrappers from http://filecatalyst.com/support/download/tomcat64bitWrappers.zip and copy them into the tomcat bin directory, overwriting the existing files.
Verify Service: Once Tomcat is installed, you can verify it as a service Start → Settings → Control Panel → Administrative Tools → Services
Download the tar.gz file and then use the following commands to expand the archive:
gunzip filename.tar.gz
tar -xvf filename.tar
It is recommended that the application be unzipped in a standard UNIX directory (/opt). The Tomcat installation directory (CATALINA_HOME) would therefore be “/opt/apache-tomcat-6.0.14/”.
Tomcat listener port number can be changed by modifying the configuration file, found at CATALINA_HOME/conf/server.xml
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="80"
enableLookups="true" redirectPort="8443"
acceptCount="100" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" /$gt;
To manually start Tomcat on Unix, execute CATALINA_HOME/bin/startup.sh
To have Tomcat automatically startup when the UNIX server boots up, it is recommended that the operating system be configured appropriately to include Tomcat startup as part of the boot process. This may vary based on operating system environment:
To verify if Tomcat is started, open up a browser on the server and go to the main Tomcat page:
http://localhost or http://<serverIP>:<serverPort>
The following splash page should be visible if Tomcat has been installed and started:
At this point your installation of Tomcat is complete, you will now be able to deploy any web applications in WAR format by just placing them in {tomcat_home}/webapps.
You can find our Tomcat SSL tutorial at the following link:
http://www.utechsoft.com/support/resources/tomcat-ssl-csr.html
Here are some other considerations with respect to your Tomcat installation:
Tomcat ships with several default web applications, found in the {tomcat_home}/webapps directory. These defaults depend on the version of Tomcat and which installer you use.
Our support web site is available 24/7 is a great place to get answers: http://support.filecatalyst.com Be sure to search the knowledge base as well as visit the forums (one of the buttons in the header).