RE: context manager

2001-03-28 Thread Ben Sifuentes

This document shows how to do this. Currently I am doing this but I've got a
few errors with the process.

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.htm
l


-Ben

-Original Message-
From: Adilakshmi Lingam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 5:54 PM
To: [EMAIL PROTECTED]
Subject: FW: context manager



Hi,

Can someone please show me how to setup multiple instances of Tomcat as two
standone servers.

pretty please...

TIA,
Lakshmi


-Original Message-
From: Adilakshmi Lingam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 2:43 PM
To: Tomcat-User@Jakarta. Apache. Org
Subject: FW: context manager


Follow up to my mail.

This is what I've done based on some info from java forums.

1)I copied the entire tomcat dir into a new "tomcat2" directory.
2) Changed the port settings in file"/conf/server.xml" from 8080 to 8081 adn
from 8007 to 8008.
3) Changed the word "TOMCAT_HOME" to "TOMCAT2_HOME" in all the files in
"/bin" directory and created a "TOMCAT2_HOME" variable.

Now when I run the second tomcat server, and a servlet is invoked from a
html page, Nothing happens.
This is what I see in the server window.

2001-03-28 01:48:00 - ContextManager: Adding context Ctx( /examples )
2001-03-28 01:48:00 - ContextManager: Adding context Ctx( /admin )
2001-03-28 01:48:00 - ContextManager: Adding context Ctx( /development )
Starting tomcat. Check logs/tomcat.log for error messages
2001-03-28 01:48:00 - ContextManager: Adding context Ctx(  )
2001-03-28 01:48:00 - ContextManager: Adding context Ctx( /test )
2001-03-28 01:48:01 - PoolTcpConnector: Starting HttpConnectionHandler on
8081
2001-03-28 01:48:01 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8008
2001-03-28 01:48:05 - Ctx(  ): 400 R( /) null
2001-03-28 01:48:05 - Ctx(  ): 400 R( /) null

Is there anything else that I need to change. I don't even see a tomcat.log
at all to check for error messages.

Thanks,
Lakshmi.

ps: running tomcat as a stand alone server and trying to run both the tomcat
instances at the same time.





-Original Message-
From: Adilakshmi Lingam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 3:24 PM
To: [EMAIL PROTECTED]
Subject: context manager


Hi,

I've Tomcat 3.2.1 running on win 2k along with Jdk1.3
I would like to have two setups for development and testing.
Can someone point me to the right documentation or tell me how to do the
setup.

Thanks in advance,
Lakshmi.




RE: Context Manager

2000-11-21 Thread Nacho

Hola Wellington:

Why? please explain the intention more deeply, please.

to  answer you i need to review some code ( now i think it's not
possible but how knows until RTFC :) but the idea itself seems curious
to me , do you want to have 2 sets of interceptors/valves ? Please
elaborate a little..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
 Enviado el: martes 21 de noviembre de 2000 14:08
 Para: '[EMAIL PROTECTED]'
 Asunto: Context Manager
 
 
 Can I declare more than one context manager in the same server.xml ?
 
 Wellington Silva
 UN/FAO