Config. question about TC 3.3.1

2002-03-28 Thread Erwin Ambrosch

Hi,

is it possible to have one TC 3.3.1 installation but running more than one TC 
3.3.1 Server instance starting and stopping them independently.

Thanks for any comment.

Erwin

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Config. question about TC 3.3.1

2002-03-28 Thread Larry Isaacs

Still on my todo list is to include this in the documentation.
You can use multiple server.xml files, one for each instance of
Tomcat 3.3.x you want to run. Each instance would need the
following to be unique:

1. Port numbers

   Ensure port numbers for all enabled connectors
   are unique.  Disable connectors that are not needed.

2. Work directory

   Ensure the work directory specified by the workDir attribute
   in the ContextManager element specifies a unique directory
   for each instance.

3. Log Files

   Ensure the LogSetter elements that specify file names specify
   unique files.

4. Ajpid Stop File(s)

   Ensure any stop files written are unique to each instance
   and don't overwrite each other.  Tomcat 3.3 writes a
   conf/ajp12.id file by default.  Tomcat 3.3.1 writes
   conf/ajp12.id and conf/ajp13.id files.  You can specify
   a different file using the ajpidFile attribute on the
   Ajp12Connector and Ajp13Connector, respectively.

To start each instance, make sure the appropriate server.xml is
used.  To stop each instance, make sure the corresponding stop
file is used by including the -ajpid command line argument if
needed.

It has been a while since I have done this, so it is possible
I have overlooked something.  Let me know if this doesn't work.

Property substitution now works in Tomcat 3.3.1.  It is possible
to this with a single server.xml and appropriate command line
arguments.  Command line arguments that don't match predefined
arguments are treated as property definitions.

Cheers,
Larry

 -Original Message-
 From: Erwin Ambrosch [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, March 28, 2002 6:31 AM
 To: [EMAIL PROTECTED]
 Subject: Config. question about TC 3.3.1
 
 
 Hi,
 
 is it possible to have one TC 3.3.1 installation but running 
 more than one TC 
 3.3.1 Server instance starting and stopping them independently.
 
 Thanks for any comment.
 
 Erwin
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Config. question about TC 3.3.1

2002-03-28 Thread Erwin Ambrosch

Hy Larry,

many thank's. It works. Just one note.

I've to specify the ajpidFile attribute for all TC 3.3.1 instances. The file 
may not be created in the conf directory, because it is deleted when a new
instance is started.

Erwin

Am Donnerstag, 28. März 2002 16:42 schrieben Sie:
 Still on my todo list is to include this in the documentation.
 You can use multiple server.xml files, one for each instance of
 Tomcat 3.3.x you want to run. Each instance would need the
 following to be unique:

 1. Port numbers

Ensure port numbers for all enabled connectors
are unique.  Disable connectors that are not needed.

 2. Work directory

Ensure the work directory specified by the workDir attribute
in the ContextManager element specifies a unique directory
for each instance.

 3. Log Files

Ensure the LogSetter elements that specify file names specify
unique files.

 4. Ajpid Stop File(s)

Ensure any stop files written are unique to each instance
and don't overwrite each other.  Tomcat 3.3 writes a
conf/ajp12.id file by default.  Tomcat 3.3.1 writes
conf/ajp12.id and conf/ajp13.id files.  You can specify
a different file using the ajpidFile attribute on the
Ajp12Connector and Ajp13Connector, respectively.

 To start each instance, make sure the appropriate server.xml is
 used.  To stop each instance, make sure the corresponding stop
 file is used by including the -ajpid command line argument if
 needed.

 It has been a while since I have done this, so it is possible
 I have overlooked something.  Let me know if this doesn't work.

 Property substitution now works in Tomcat 3.3.1.  It is possible
 to this with a single server.xml and appropriate command line
 arguments.  Command line arguments that don't match predefined
 arguments are treated as property definitions.

 Cheers,
 Larry

  -Original Message-
  From: Erwin Ambrosch [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, March 28, 2002 6:31 AM
  To: [EMAIL PROTECTED]
  Subject: Config. question about TC 3.3.1
 
 
  Hi,
 
  is it possible to have one TC 3.3.1 installation but running
  more than one TC
  3.3.1 Server instance starting and stopping them independently.
 
  Thanks for any comment.
 
  Erwin
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]