Although such integration is valuable for a deployment scenario (see my goal here is to show how to use Tomcat as a development server on your desktop.
Using Tomcat as a deployment server or integrating Tomcat as a plugin within the regular Apache server or a commercial Web server is more complicated than what is described in this tutorial.
Tomcat runs as a deamon under Linux or application/service on Windows.
Depending on your setup and operating setup please find the instructions to set the memory for Tomcat.
to find out the proper values for your platform you will need to issue the command "java -X" in the terminal.-Xms set java thread stack size Once you know your parameters you should allocate about 60% of your available Ram to Tomcat.
To set the memory you should have a file called "setenv.sh" in your /tomcat/bin directory. Within the file set the parameters like; Then restart Tomcat to apply the new settings.
Inside the bin folder there is a file named keytool.
This guy is responsible for generating the keystore file for us.
Sometime we just need to change the Tomcat port number.
From an overview of how the protocol actually works, to clear, simple configuration instructions, this guide will help you get SSL running on your server in no time. Create the correct configuration a single time, save it to a server profile, and apply it to other instances (or groups of instances) with a single click. Before we start configuring Tomcat to use SSL, it will help to understand why the SSL protocol was created, and how it works.
If you already know all this stuff and are just looking to get SSL working with Apache Tomcat, click here to jump to a step-by-step configuration guide.
To set the memory you should have a file called "setenv.bat" in your /tomcat/bin directory. Within the file set the parameters like; Then restart Tomcat to apply the new settings.
If you are running Tomcat on a Windows server, then Tomcat should be installed as a service. Simply change to the "bin" directory of Tomcat and issue the following command: This will install Tomcat as a service.