PerfectForms Forums » Integrating PerfectForms

Tomcat on 64-Bit only?

(4 posts)
  1. MABrown
    Member

    In section 6.3.3.2 "Pre-Installation Step: Installing Tomcat" of the PerfectForms User Guide, There are only directions for the 64-Bit version of Tomcat and JDK.

    Is it not possible to install the connection agent on a 32-bit version of Tomcat?

    Posted 2 years ago #
  2. ijobling
    Member

    it is only that their are special steps required to install Tomcat on 64bit server (in common with a number of other applications) that these are documented. installing tomcat on a 32Bit server is straightforward

    Posted 2 years ago #
  3. MABrown
    Member

    Another question on the topic of installing the Connection Agent. The Documentation calls for JDK, but the installation only works with the Java JRE. Is the documentation wrong?

    Posted 2 years ago #
  4. rgatson
    Member

    The documentation is correct, and you should use JDK. Please see the following instructions:

    Installing Tomcat on Windows

    Tomcat is a free web server software and can be installed the following Windows systems, among others:

    Windows Server 2003 32-bit
    Windows Server 2003 64-bit
    Windows Server 2008 32-bit
    Windows Server 2008 64-bit
    Windows Vista
    Windows XP
    Windows 2000

    This guide does not cover installation on other platforms such as Linux.

    1. Tomcat requires the Java JDK Version 1.6 (not less) to be present on the Windows system.

    You can check you current version by:

    - Start - Run…
    - Enter “command”
    - In the command window, type “java –version”
    - The java version number is be displayed on the next line

    If you don’t have Java at all or a lesser version than 1.6, download and install the “JDK 6 Update” from:

    java.sun.com/javase/downloads/index.jsp

    There are different installers based on platform (32bit, 64bit)

    2. Download and install Tomcat “Windows Service Installer” (Version 6 or later).

    tomcat.apache.org/download-60.cgi

    During the installation, ensure that you point to the correct folder where Java JDK 1.6 is located

    3. Download the ZIP file of same Tomcat version from the same link and replace all files from the installed tomcat folder with the files and folders from the extracted .ZIP. This is because in some cases the installer creates all the required entries for you but it doesn't provide all the necessary files.

    4. Define the JAVA_HOME environment variable. Go to Control Panel > System > Advance Settings > Advanced > Environment Variables. Under System Variable click New and type JAVA_HOME as the variable name and provide the JDK 1.6 path as a value.

    Note: You may need to restart your system to make the JAVA_HOME variable active in environment, but if you don't want to restart your computer temporarily just type Set JAVA_HOME={Path to JDK} in command prompt.

    5. On the same Environment Variables dialog, under System variables, locate the “Path” variable. Select it and press Edit.
    The Variable value contains a list of paths separated by “;”. This list should contain the path to the JDK\bin path. The \bin folder is just one level below the JDK root, for example:

    C:\jdk160\bin or C:\Program Files\Java\jre1.6.0_06\bin

    If the path is not in the value, add it at the end of the existing value.

    6. Check if the C:\Windows\System folder contains the msvcr71.dll file. If you do not see the file then you need to download and copy the file into this folder.
    This file is freely available online, search for it in Google, or go here:

    http://www.dll-files.com/dllindex/dll-files.shtml?msvcr71

    7. If you want Tomcat to run on a different port other than 8080, edit the server.xml file, found in the Tomcat installation subfolder /config. For example:

    C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml

    Look for the <Connector> tag and modify the port attribute. For example:

    <Connector port="80" protocol="HTTP/1.1"
    connectionTimeout="20000"
    redirectPort="8443" />

    8. For all Windows 64-bit versions (2003, Server 2008, Vista, XP):

    Download the 64-bit Tomcat service wrapper (same for Intel 64 and Amd 64 processors) from:

    https://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/amd64/

    After download, rename the file to “tomcat6.exe” and copy this file into the Tomcat installation folder, replacing the current file with the same name.

    9. Restart Windows (if possible)

    10. Start “Tomcat Monitor” from Start Menu > Apache Tomcat > Monitor Tomcat and/or double-clicking its icon in the system tray. A dialog similar to the following appears:

    If the Stop button is enabled, this means that Tomcat is now successfully running.

    If the Start button is enabled, press it to start Tomcat. If it doesn’t start check the log file Jakarta_service_todays-date.log in C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\logs for possible errors.

    Modify Startup type from “Manual” to “Automatic” to ensure that Tomcat starts after a reboot without the need of a manual start.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in or register to post.

Contact

1917 Palomar Oaks Way
Suite 160
Carlsbad, CA 92008
866.900.8588

  picture  picture  picture  picture