Re: HELP on server.xml PLEASE

2002-02-03 Thread Janet Kaufman

  
  
- Original Message -
From: Micael Padraig Og mac Grene
Sent: Saturday, February 02, 2002 2:06 AM
To: Tomcat Users List
Subject: Re: HELP on server.xml PLEASE
  
Thanks, Rick.  I guess I was not clear.  What I need is a way to set the
context for different urls rather than aliases for a single url. Micael

At 05:58 PM 2/1/02 -0500, you wrote:
Michael,

There should be a folder under the tomcat installation director called
webapps.  Under that folder you should create a new folder for your jsp
pages.  Lets call your new folder home for argument sake.  Under the
home folder you should have created a folder called WEB-INF.  Under
WEB-INF you should have created two additional folders called classes and
lib.  So, your directory structure should look like this:

Tomcat
 -home
 --WEB-INF
 ---classes
 ---lib

Place your jsp files under the home directory, the custom classes under
the WEB-INF\classes directory and your custom JAR files under the
WEB-INF\lib directory.

Now to access your files go to: http://server:port/home/something.jsp or
html.

Hope this helps!
- Original Message -
From: Micael Padraig Og mac Grene [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 4:13 PM
Subject: HELP on server.xml PLEASE


  My forte is Java and at the XML configuration of Tomcat I suck.  Could
  someone please help me with this?  It would be greatly appreciated.
 
  If I add the following to servlet.xml, then I get the startup.sh to create
  the proper directories under TOMCAT_HOME/work/.  But, then I cannot reach
  my site with the urls.  If I don't add these, then I can reach the site,
  but without the create of the appropriate subfolders.  What is up?
 
 
 
  Context path=/ourforge
  docBase=webapps/ourforge
  debug=0
  reloadable=true
  /Context
  Context path=/micael
  docBase=webapps/micael
  debug=0
  reloadable=true 
  /Context
  Context path=/db
  docBase=webapps/db
  debug=0
  reloadable=true 
  /Context
  Context path=/ctr
  docBase=webapps/ctr
  debug=0
  reloadable=true 
  /Context
 
  !-- Example Server Configuration File --
  !-- Note that component elements are nested corresponding to their
parent-child relationships with each other --
 
  !-- A Server is a singleton element that represents the entire JVM,
which may contain one or more Service instances.  The Server
listens for a shutdown command on the indicated port.
 
Note:  A Server is not itself a Container, so you may not
define subcomponents such as Valves or Loggers at this level.
--
 
  Server port=8005 shutdown=SHUTDOWN debug=0
 
 
 !-- A Service is a collection of one or more Connectors that share
  a single Container (and therefore the web applications visible
  within that Container).  Normally, that Container is an Engine,
  but this is not required.
 
  Note:  A Service is not itself a Container, so you may not
  define subcomponents such as Valves or Loggers at this level.
  --
 
 !-- Define the Tomcat Stand-Alone Service --
 Service name=Tomcat-Standalone
 
   !-- A Connector represents an endpoint by which requests are
received
and responses are returned.  Each Connector passes requests on
to the
associated Container (normally an Engine) for processing.
 
By default, a non-SSL HTTP/1.1 Connector is established on port
8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second
  Connector
entry.  SSL support requires the following steps (see the SSL
Config
HOWTO in the Tomcat 4.0 documentation bundle for more detailed
instructions):
* Download and install JSSE 1.0.2 or later, and put the JAR
files
  into $JAVA_HOME/jre/lib/ext.
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
  (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
(Unix)
  with a password value of changeit for both the certificate
and
  the keystore itself.
 
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost().  This can have an adverse impact on
performance, so you can disable it by setting the
enableLookups attribute to false.  When DNS lookups are
disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
   --
 
   !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
   Connector
className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
  acceptCount=10 debug=0 connectionTimeout=6/
   !-- Note : To disable connection

Re: HELP on server.xml PLEASE

2002-02-02 Thread Rich Hansen

 Okay.  try to change the following from:

 docBase=webapps/ourforge

 to:

 docBase=ourforge

 Here is an example I have:

 Context path=/search
 docBase=quest/portalsearch
 crossContext=false
 debug=0
 reloadable=true
 /Context

 Note: the quest folder resides under the webapps folder such as
 webapps\quest

 - Rich

 - Original Message -
 From: Micael Padraig Og mac Grene [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, February 02, 2002 1:52 AM
 Subject: Re: HELP on server.xml PLEASE


  Thanks, Rick.  I guess I was not clear.  What I need is a way to set the
  context for different urls rather than aliases for a single url. Micael
 
  At 05:58 PM 2/1/02 -0500, you wrote:
  Michael,
  
  There should be a folder under the tomcat installation director called
  webapps.  Under that folder you should create a new folder for your
jsp
  pages.  Lets call your new folder home for argument sake.  Under the
  home folder you should have created a folder called WEB-INF.  Under
  WEB-INF you should have created two additional folders called classes
 and
  lib.  So, your directory structure should look like this:
  
  Tomcat
   -home
   --WEB-INF
   ---classes
   ---lib
  
  Place your jsp files under the home directory, the custom classes
under
  the WEB-INF\classes directory and your custom JAR files under the
  WEB-INF\lib directory.
  
  Now to access your files go to:
http://server:port/home/something.jsp
 or
  html.
  
  Hope this helps!
  - Original Message -
  From: Micael Padraig Og mac Grene [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, February 01, 2002 4:13 PM
  Subject: HELP on server.xml PLEASE
  
  
My forte is Java and at the XML configuration of Tomcat I suck.
Could
someone please help me with this?  It would be greatly appreciated.
   
If I add the following to servlet.xml, then I get the startup.sh to
 create
the proper directories under TOMCAT_HOME/work/.  But, then I cannot
 reach
my site with the urls.  If I don't add these, then I can reach the
 site,
but without the create of the appropriate subfolders.  What is up?
   
   
   
Context path=/ourforge
docBase=webapps/ourforge
debug=0
reloadable=true
/Context
Context path=/micael
docBase=webapps/micael
debug=0
reloadable=true 
/Context
Context path=/db
docBase=webapps/db
debug=0
reloadable=true 
/Context
Context path=/ctr
docBase=webapps/ctr
debug=0
reloadable=true 
/Context
   
!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
  parent-child relationships with each other --
   
!-- A Server is a singleton element that represents the entire
JVM,
  which may contain one or more Service instances.  The Server
  listens for a shutdown command on the indicated port.
   
  Note:  A Server is not itself a Container, so you may not
  define subcomponents such as Valves or Loggers at this
 level.
  --
   
Server port=8005 shutdown=SHUTDOWN debug=0
   
   
   !-- A Service is a collection of one or more Connectors that
 share
a single Container (and therefore the web applications
 visible
within that Container).  Normally, that Container is an
 Engine,
but this is not required.
   
Note:  A Service is not itself a Container, so you may
not
define subcomponents such as Valves or Loggers at this
 level.
--
   
   !-- Define the Tomcat Stand-Alone Service --
   Service name=Tomcat-Standalone
   
 !-- A Connector represents an endpoint by which requests are
  received
  and responses are returned.  Each Connector passes
requests
 on
  to the
  associated Container (normally an Engine) for
processing.
   
  By default, a non-SSL HTTP/1.1 Connector is established on
 port
  8080.
  You can also enable an SSL HTTP/1.1 Connector on port 8443
 by
  following the instructions below and uncommenting the
second
Connector
  entry.  SSL support requires the following steps (see the
 SSL
  Config
  HOWTO in the Tomcat 4.0 documentation bundle for more
 detailed
  instructions):
  * Download and install JSSE 1.0.2 or later, and put the
JAR
  files
into $JAVA_HOME/jre/lib/ext.
  * Execute:
  %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg
 RSA
(Windows)
  $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg
RSA
  (Unix)
with a password value of changeit for both the
 certificate
  and
the keystore itself.
   
  By default, DNS lookups are enabled when a web application
 calls
  request.getRemoteHost().  This can have

HELP on server.xml PLEASE

2002-02-01 Thread Micael Padraig Og mac Grene

My forte is Java and at the XML configuration of Tomcat I suck.  Could 
someone please help me with this?  It would be greatly appreciated.

If I add the following to servlet.xml, then I get the startup.sh to create 
the proper directories under TOMCAT_HOME/work/.  But, then I cannot reach 
my site with the urls.  If I don't add these, then I can reach the site, 
but without the create of the appropriate subfolders.  What is up?



Context path=/ourforge
docBase=webapps/ourforge
debug=0
reloadable=true
/Context
Context path=/micael
docBase=webapps/micael
debug=0
reloadable=true 
/Context
Context path=/db
docBase=webapps/db
debug=0
reloadable=true 
/Context
Context path=/ctr
docBase=webapps/ctr
debug=0
reloadable=true 
/Context

!-- Example Server Configuration File --
!-- Note that component elements are nested corresponding to their
  parent-child relationships with each other --

!-- A Server is a singleton element that represents the entire JVM,
  which may contain one or more Service instances.  The Server
  listens for a shutdown command on the indicated port.

  Note:  A Server is not itself a Container, so you may not
  define subcomponents such as Valves or Loggers at this level.
  --

Server port=8005 shutdown=SHUTDOWN debug=0


   !-- A Service is a collection of one or more Connectors that share
a single Container (and therefore the web applications visible
within that Container).  Normally, that Container is an Engine,
but this is not required.

Note:  A Service is not itself a Container, so you may not
define subcomponents such as Valves or Loggers at this level.
--

   !-- Define the Tomcat Stand-Alone Service --
   Service name=Tomcat-Standalone

 !-- A Connector represents an endpoint by which requests are received
  and responses are returned.  Each Connector passes requests on to the
  associated Container (normally an Engine) for processing.

  By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
  You can also enable an SSL HTTP/1.1 Connector on port 8443 by
  following the instructions below and uncommenting the second 
Connector
  entry.  SSL support requires the following steps (see the SSL Config
  HOWTO in the Tomcat 4.0 documentation bundle for more detailed
  instructions):
  * Download and install JSSE 1.0.2 or later, and put the JAR files
into $JAVA_HOME/jre/lib/ext.
  * Execute:
  %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA 
(Windows)
  $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA  (Unix)
with a password value of changeit for both the certificate and
the keystore itself.

  By default, DNS lookups are enabled when a web application calls
  request.getRemoteHost().  This can have an adverse impact on
  performance, so you can disable it by setting the
  enableLookups attribute to false.  When DNS lookups are disabled,
  request.getRemoteHost() will return the String version of the
  IP address of the remote client.
 --

 !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
 Connector className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
acceptCount=10 debug=0 connectionTimeout=6/
 !-- Note : To disable connection timeouts, set connectionTimeout value
  to -1 --

 !-- Define an SSL HTTP/1.1 Connector on port 8443 --
 !--
 Connector className=org.apache.catalina.connector.http.HttpConnector
port=8443 minProcessors=5 maxProcessors=75
enableLookups=true
   acceptCount=10 debug=0 scheme=https secure=true
   Factory className=org.apache.catalina.net.SSLServerSocketFactory
clientAuth=false protocol=TLS/
 /Connector
 --

 !-- Define an AJP 1.3 Connector on port 8009 --
 !--
 Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75
acceptCount=10 debug=0/
 --

 !-- Define a Proxied HTTP/1.1 Connector on port 8081 --
 !-- See proxy documentation for more information about using this. --
 !--
 Connector className=org.apache.catalina.connector.http.HttpConnector
port=8081 minProcessors=5 maxProcessors=75
enableLookups=true
acceptCount=10 debug=0 connectionTimeout=6
proxyPort=80/
 --

 !-- Define a non-SSL HTTP/1.0 Test Connector 

Re: HELP on server.xml PLEASE

2002-02-01 Thread August Detlefsen

I am pretty sure that you need to add the contexts within your virtual
hosts. If the same context needs to be accessed from multiple virtual
hosts, you have to define it for each one. 

Does anyone know of a way to deploy a context across multiple virtual
hosts? 




--- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote:
 My forte is Java and at the XML configuration of Tomcat I suck. 
 Could 
 someone please help me with this?  It would be greatly appreciated.
 
 If I add the following to servlet.xml, then I get the startup.sh to
 create 
 the proper directories under TOMCAT_HOME/work/.  But, then I cannot
 reach 
 my site with the urls.  If I don't add these, then I can reach the
 site, 
 but without the create of the appropriate subfolders.  What is up?
 
 
 
   Context path=/ourforge
   docBase=webapps/ourforge
   debug=0
   reloadable=true
   /Context
   Context path=/micael
   docBase=webapps/micael
   debug=0
   reloadable=true 
   /Context
   Context path=/db
   docBase=webapps/db
   debug=0
   reloadable=true 
   /Context
   Context path=/ctr
   docBase=webapps/ctr
   debug=0
   reloadable=true 
   /Context
 
 !-- Example Server Configuration File --
 !-- Note that component elements are nested corresponding to their
   parent-child relationships with each other --
 
 !-- A Server is a singleton element that represents the entire
 JVM,
   which may contain one or more Service instances.  The Server
   listens for a shutdown command on the indicated port.
 
   Note:  A Server is not itself a Container, so you may not
   define subcomponents such as Valves or Loggers at this
 level.
   --
 
 Server port=8005 shutdown=SHUTDOWN debug=0
 
 
!-- A Service is a collection of one or more Connectors that
 share
 a single Container (and therefore the web applications
 visible
 within that Container).  Normally, that Container is an
 Engine,
 but this is not required.
 
 Note:  A Service is not itself a Container, so you may
 not
 define subcomponents such as Valves or Loggers at this
 level.
 --
 
!-- Define the Tomcat Stand-Alone Service --
Service name=Tomcat-Standalone
 
  !-- A Connector represents an endpoint by which requests are
 received
   and responses are returned.  Each Connector passes requests
 on to the
   associated Container (normally an Engine) for processing.
 
   By default, a non-SSL HTTP/1.1 Connector is established on
 port 8080.
   You can also enable an SSL HTTP/1.1 Connector on port 8443
 by
   following the instructions below and uncommenting the
 second 
 Connector
   entry.  SSL support requires the following steps (see the
 SSL Config
   HOWTO in the Tomcat 4.0 documentation bundle for more
 detailed
   instructions):
   * Download and install JSSE 1.0.2 or later, and put the JAR
 files
 into $JAVA_HOME/jre/lib/ext.
   * Execute:
   %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg
 RSA 
 (Windows)
   $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg
 RSA  (Unix)
 with a password value of changeit for both the
 certificate and
 the keystore itself.
 
   By default, DNS lookups are enabled when a web application
 calls
   request.getRemoteHost().  This can have an adverse impact
 on
   performance, so you can disable it by setting the
   enableLookups attribute to false.  When DNS lookups are
 disabled,
   request.getRemoteHost() will return the String version of
 the
   IP address of the remote client.
  --
 
  !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
  Connector
 className=org.apache.catalina.connector.http.HttpConnector
   port=8080 minProcessors=5 maxProcessors=75
  enableLookups=true redirectPort=8443
 acceptCount=10 debug=0
 connectionTimeout=6/
  !-- Note : To disable connection timeouts, set
 connectionTimeout value
   to -1 --
 
  !-- Define an SSL HTTP/1.1 Connector on port 8443 --
  !--
  Connector
 className=org.apache.catalina.connector.http.HttpConnector
 port=8443 minProcessors=5 maxProcessors=75
 enableLookups=true
  acceptCount=10 debug=0 scheme=https secure=true
Factory
 className=org.apache.catalina.net.SSLServerSocketFactory
 clientAuth=false protocol=TLS/
  /Connector
  --
 
  !-- Define an AJP 1.3 Connector on port 8009 --
  !--
  Connector className=org.apache.ajp.tomcat4.Ajp13Connector
 port=8009 minProcessors=5 maxProcessors=75
 acceptCount=10 debug=0/
  --
 
  !-- Define a Proxied HTTP/1.1 

Re: HELP on server.xml PLEASE

2002-02-01 Thread Rich Hansen

Michael,

There should be a folder under the tomcat installation director called
webapps.  Under that folder you should create a new folder for your jsp
pages.  Lets call your new folder home for argument sake.  Under the
home folder you should have created a folder called WEB-INF.  Under
WEB-INF you should have created two additional folders called classes and
lib.  So, your directory structure should look like this:

Tomcat
-home
--WEB-INF
---classes
---lib

Place your jsp files under the home directory, the custom classes under
the WEB-INF\classes directory and your custom JAR files under the
WEB-INF\lib directory.

Now to access your files go to: http://server:port/home/something.jsp or
html.

Hope this helps!
- Original Message -
From: Micael Padraig Og mac Grene [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 4:13 PM
Subject: HELP on server.xml PLEASE


 My forte is Java and at the XML configuration of Tomcat I suck.  Could
 someone please help me with this?  It would be greatly appreciated.

 If I add the following to servlet.xml, then I get the startup.sh to create
 the proper directories under TOMCAT_HOME/work/.  But, then I cannot reach
 my site with the urls.  If I don't add these, then I can reach the site,
 but without the create of the appropriate subfolders.  What is up?



 Context path=/ourforge
 docBase=webapps/ourforge
 debug=0
 reloadable=true
 /Context
 Context path=/micael
 docBase=webapps/micael
 debug=0
 reloadable=true 
 /Context
 Context path=/db
 docBase=webapps/db
 debug=0
 reloadable=true 
 /Context
 Context path=/ctr
 docBase=webapps/ctr
 debug=0
 reloadable=true 
 /Context

 !-- Example Server Configuration File --
 !-- Note that component elements are nested corresponding to their
   parent-child relationships with each other --

 !-- A Server is a singleton element that represents the entire JVM,
   which may contain one or more Service instances.  The Server
   listens for a shutdown command on the indicated port.

   Note:  A Server is not itself a Container, so you may not
   define subcomponents such as Valves or Loggers at this level.
   --

 Server port=8005 shutdown=SHUTDOWN debug=0


!-- A Service is a collection of one or more Connectors that share
 a single Container (and therefore the web applications visible
 within that Container).  Normally, that Container is an Engine,
 but this is not required.

 Note:  A Service is not itself a Container, so you may not
 define subcomponents such as Valves or Loggers at this level.
 --

!-- Define the Tomcat Stand-Alone Service --
Service name=Tomcat-Standalone

  !-- A Connector represents an endpoint by which requests are
received
   and responses are returned.  Each Connector passes requests on
to the
   associated Container (normally an Engine) for processing.

   By default, a non-SSL HTTP/1.1 Connector is established on port
8080.
   You can also enable an SSL HTTP/1.1 Connector on port 8443 by
   following the instructions below and uncommenting the second
 Connector
   entry.  SSL support requires the following steps (see the SSL
Config
   HOWTO in the Tomcat 4.0 documentation bundle for more detailed
   instructions):
   * Download and install JSSE 1.0.2 or later, and put the JAR
files
 into $JAVA_HOME/jre/lib/ext.
   * Execute:
   %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
 (Windows)
   $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
(Unix)
 with a password value of changeit for both the certificate
and
 the keystore itself.

   By default, DNS lookups are enabled when a web application calls
   request.getRemoteHost().  This can have an adverse impact on
   performance, so you can disable it by setting the
   enableLookups attribute to false.  When DNS lookups are
disabled,
   request.getRemoteHost() will return the String version of the
   IP address of the remote client.
  --

  !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
  Connector
className=org.apache.catalina.connector.http.HttpConnector
 port=8080 minProcessors=5 maxProcessors=75
enableLookups=true redirectPort=8443
 acceptCount=10 debug=0 connectionTimeout=6/
  !-- Note : To disable connection timeouts, set connectionTimeout
value
   to -1 --

  !-- Define an SSL HTTP/1.1 Connector on port 8443 --
  !--
  Connector
className=org.apache.catalina.connector.http.HttpConnector
 port=8443 minProcessors=5 maxProcessors=75
 enableLookups=true
acceptCount=10 debug=0 scheme=https secure=true
Factory className=org.apache.catalina.net.SSLServerSocketFactory
 clientAuth

Re: HELP on server.xml PLEASE

2002-02-01 Thread Micael Padraig Og mac Grene

Thanks, Rick.  I guess I was not clear.  What I need is a way to set the 
context for different urls rather than aliases for a single url. Micael

At 05:58 PM 2/1/02 -0500, you wrote:
Michael,

There should be a folder under the tomcat installation director called
webapps.  Under that folder you should create a new folder for your jsp
pages.  Lets call your new folder home for argument sake.  Under the
home folder you should have created a folder called WEB-INF.  Under
WEB-INF you should have created two additional folders called classes and
lib.  So, your directory structure should look like this:

Tomcat
 -home
 --WEB-INF
 ---classes
 ---lib

Place your jsp files under the home directory, the custom classes under
the WEB-INF\classes directory and your custom JAR files under the
WEB-INF\lib directory.

Now to access your files go to: http://server:port/home/something.jsp or
html.

Hope this helps!
- Original Message -
From: Micael Padraig Og mac Grene [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 01, 2002 4:13 PM
Subject: HELP on server.xml PLEASE


  My forte is Java and at the XML configuration of Tomcat I suck.  Could
  someone please help me with this?  It would be greatly appreciated.
 
  If I add the following to servlet.xml, then I get the startup.sh to create
  the proper directories under TOMCAT_HOME/work/.  But, then I cannot reach
  my site with the urls.  If I don't add these, then I can reach the site,
  but without the create of the appropriate subfolders.  What is up?
 
 
 
  Context path=/ourforge
  docBase=webapps/ourforge
  debug=0
  reloadable=true
  /Context
  Context path=/micael
  docBase=webapps/micael
  debug=0
  reloadable=true 
  /Context
  Context path=/db
  docBase=webapps/db
  debug=0
  reloadable=true 
  /Context
  Context path=/ctr
  docBase=webapps/ctr
  debug=0
  reloadable=true 
  /Context
 
  !-- Example Server Configuration File --
  !-- Note that component elements are nested corresponding to their
parent-child relationships with each other --
 
  !-- A Server is a singleton element that represents the entire JVM,
which may contain one or more Service instances.  The Server
listens for a shutdown command on the indicated port.
 
Note:  A Server is not itself a Container, so you may not
define subcomponents such as Valves or Loggers at this level.
--
 
  Server port=8005 shutdown=SHUTDOWN debug=0
 
 
 !-- A Service is a collection of one or more Connectors that share
  a single Container (and therefore the web applications visible
  within that Container).  Normally, that Container is an Engine,
  but this is not required.
 
  Note:  A Service is not itself a Container, so you may not
  define subcomponents such as Valves or Loggers at this level.
  --
 
 !-- Define the Tomcat Stand-Alone Service --
 Service name=Tomcat-Standalone
 
   !-- A Connector represents an endpoint by which requests are
received
and responses are returned.  Each Connector passes requests on
to the
associated Container (normally an Engine) for processing.
 
By default, a non-SSL HTTP/1.1 Connector is established on port
8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second
  Connector
entry.  SSL support requires the following steps (see the SSL
Config
HOWTO in the Tomcat 4.0 documentation bundle for more detailed
instructions):
* Download and install JSSE 1.0.2 or later, and put the JAR
files
  into $JAVA_HOME/jre/lib/ext.
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
  (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA
(Unix)
  with a password value of changeit for both the certificate
and
  the keystore itself.
 
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost().  This can have an adverse impact on
performance, so you can disable it by setting the
enableLookups attribute to false.  When DNS lookups are
disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
   --
 
   !-- Define a non-SSL HTTP/1.1 Connector on port 8080 --
   Connector
className=org.apache.catalina.connector.http.HttpConnector
  port=8080 minProcessors=5 maxProcessors=75
 enableLookups=true redirectPort=8443
  acceptCount=10 debug=0 connectionTimeout=6/
   !-- Note : To disable connection timeouts, set connectionTimeout
value
to -1 --
 
   !-- Define an SSL HTTP/1.1 Connector on port 8443 --
   !--
   Connector
className