All those are threads; tomcat creates 2 at first and the
second forks the rest, if you kill either one tomcat will
exit. I am asking because another server with the same
configuration shows only one single thread.
There are some problems with applications on the first
server, which seem to be relat
On Sat, Mar 12, 2005 at 12:21:10AM -0800, Darek wrote:
: I have a tomcat 4-1-27 running on RedHat 2.4.21. Normally
: when you startup tomcat it will create a single instance, I
: have however about 28 created right away. I understand that
: they all share the same memory, but I don?t think this is
How do I change the context_path for all the Applications that come
with Tomcat 5 as displayed in the manager tool?
Thanks,
Troy
--
Troy Simpson
Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.
On Mon, Aug 09, 2004 at 10:04:56AM -0700, Bill Hughey wrote:
: Second question: would it be possible if this works for the inner servlet to access
memory (objects) instanciated by the outer servlet?
Likely, no. Read on:
: Note: I have noticed that servlets within the same context have access t
Why don't you create a different virtual IP for running the second
instance??
Angelo Alerta - Mainfield wrote:
I'm trying to use two instances of tomcat 5.0.12 with apache 2.0.48.
One instance listen at port 8009 while other listen on port 50089.
Reading the output of error_log of apache it seems
Howdy,
There's another reason: if any of the three crashes or is attacked for
whatever reason, the other two don't suffer. That may or may not make
sense for your application.
For example, it's not unusual to have an admin console sit outside your
firewall so that developers/admins can do their
om: Derek Clarkson <[EMAIL PROTECTED]>
Date: Thursday, February 12, 2004 0:22 am
Subject: RE: Multiple instances of Tomcat - why would you do it ?
> He he, thanks. By the looks of the code I'm seeing - I'm going
> with the
> space bats reason ;-)
>
> -Original M
He he, thanks. By the looks of the code I'm seeing - I'm going with the
space bats reason ;-)
-Original Message-
From: Josh Rehman [mailto:[EMAIL PROTECTED]
Sent: Thursday, 12 February 2004 12:41 PM
To: Tomcat Users List
Subject: Re: Multiple instances of Tomcat - why would
ECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: Re: Multiple instances of Tomcat - why would you do it ?
Date: Wed, 11 Feb 2004 17:40:52 -0800
If the instances talk to each other via RMI, it's likely that the original
developers intended each instance to be run on a diffe
If the instances talk to each other via RMI, it's likely that the
original developers intended each instance to be run on a different box.
They may have thought this would positively affect scalability.
It may also be that they partitioned the app such that each container
has different priveled
Have a look at RUNNING.txt in the tomcat 4 distribution:
(4) Advanced Configuration - Multiple Tomcat 4 Instances
...
(The exact text and number may vary in your distribution,
my RUNNING.txt is quite old)
The following is for unix and tomcat standalone. But it
should be a good starting po
ECTED]]
Sent: Thursday, February 06, 2003 2:57 AM
To: Tomcat Users List
Subject: RE: multiple instances of tomcat
You need to set the CATALINA_BASE environment variable for each
instance, so
in the bin directory:
set CATALINA_BASE=c:\aa1
startup.bat
set CATALINA_BASE=c:\aa2
startup.bat
Make sur
You need to set the CATALINA_BASE environment variable for each instance, so
in the bin directory:
set CATALINA_BASE=c:\aa1
startup.bat
set CATALINA_BASE=c:\aa2
startup.bat
Make sure you also have the shutdown ports (8005) set to two different
values in the server.xml files.
You can add the deb
I think he means something like an NT service. Just follow the
instructions here:
http://www.mattkelli.com/tech/tomcat/ntservice.htm
However, add on thing:
Dcatalina.base=[your custom CATALINA_BASE path here]
Also, make sure to name the service differently than one you may already
have insta
Not sure what you mean, but I have a start|stop script for each instance of
Tomcat. The scripts aren't much, just a call to Tomcat's startup for start,
and a call to Tomcat's shutdown along with a cleanout of the work directory
for stop. Then I have a start|stop "superscript" that can call all o
Tuesday, November 05, 2002 9:50 AM
Subject: RE: Multiple instances of Tomcat
One Apache.
Many Tomcats.
For many Tomcats, if you intend to delegate each Tomcat to a specific web
app, virtual host, or business client, you need a server.xml for each, and
you need to set CATALINA_BASE and things like app
One Apache.
Many Tomcats.
For many Tomcats, if you intend to delegate each Tomcat to a specific web
app, virtual host, or business client, you need a server.xml for each, and
you need to set CATALINA_BASE and things like appBase and docBase in each
server.xml accordingly. You will need to change
Use Object Relational Bridge:
http://jakarta.apache.org/ojb/
You can run it on a seperate system and use it to persist objects
for all three instance of Tomcat.
Regards,
Glenn
Santosh Kulkarni wrote:
> Hi,
> I have multiple instances of Tomcat4.0.3, say, TC1,
> TC2, TC3 running on different m
If you really need this you can do in very different ways.
A file can be generated by one instance saying I (TC1) refreshed.
All tomcats are checking from time to time (you specifiy) if there's this
new file.
When there's each tomcat must write its line (I TCi refreshed). The last one
deletes the
> -Original Message-
> From: Santosh Kulkarni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 11, 2002 12:25 AM
> To: [EMAIL PROTECTED]
> Subject: Multiple instances of Tomcat
>
>
> Hi,
> I have multiple instances of Tomcat4.0.3, say, TC1,
> TC2, TC3 running on different m/c's an
The answer would depend upon what event, etc., is the occasion for the
"refresh[ing of] an app object". If the objects store the same data,
sounds as if you really don't want multiple objects. Do you mean Value
Objects? You can do all this many, many, many different ways. What do you
mean
thanks
-Original Message-
From: David Mossakowski [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 1:45 PM
To: Tomcat Users List
Subject: Re: Multiple instances of Tomcat
You need to go through the server.xml file and for whatever connectors
that use ports that you have
You need to go through the server.xml file and for whatever connectors
that use ports that you have uncommente the following fashion:
item
original port tomcat 1tomcat 2
--
server
8005
11
Thank you Ralph, this should get me started.
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 02, 2002 10:31 AM
To: Tomcat Users List
Subject: AW: Multiple instances of Tomcat
Although the following is for unix and tomcat standalone, this
should
-Vijay
-Original Message-
From: Eddie Bush [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 13, 2002 12:51 PM
To: Tomcat Users List
Subject: Re: Multiple Instances of Tomcat 4.0.4
ubeans.com/tomcat - try that.
I haven't personally done this, so I can't help you. The above
ubeans.com/tomcat - try that.
I haven't personally done this, so I can't help you. The above assumes
you're using Apache. Hopefully someone else will respond that knows more.
Regards,
Eddie
Vijay Kandy wrote:
>Hello All,
>
>When I try to run %CATALINA_HOME%\bin\catalina start -f
>%CATALINA
PROTECTED]]
Sent: Wednesday, July 25, 2001 1:43 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: Multiple Instances of Tomcat
Those sound like they would be used for ajp12 or 13 port
numbers. Are you sure the http connector isn't still enabled
on both server.xml files for port 8080?
Abhijat Thakur at [EMAIL PROTECTED] wrote:
> Hi,
>
> i am actually using different ports. 8007(server1.xml) and
> 8009(server2.xml). but i still get the error message.
I believe it's the "control" port of the tomcat server, the one used to
shutdown the VM.
Pier
PROTECTED]]
>Sent: Wednesday, July 25, 2001 1:37 PM
>To: [EMAIL PROTECTED]
>Subject: Re: Multiple Instances of Tomcat
>
>
>The http, ajp12, and/or ajp13 services can't bind to the same port on
>the same IP address. You need to modify server.xml to put things
>on diffe
Hi,
i am actually using different ports. 8007(server1.xml) and
8009(server2.xml). but i still get the error message.
thanks
-Original Message-
From: Jason Koeninger [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 1:37 PM
To: [EMAIL PROTECTED]
Subject: Re: Multiple Instances
The http, ajp12, and/or ajp13 services can't bind to the same port on
the same IP address. You need to modify server.xml to put things
on different ports or different IP addresses.
Best Regards,
Jason Koeninger
J&J Computer Consulting
http://www.jjcc.com
On Wed, 25 Jul 2001 13:46:29 -0700, A
Josh
-Original Message-
From: Sankaranarayanan Ganapathy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 04, 2001 1:49 PM
To: '[EMAIL PROTECTED]'
Subject: RE: multiple instances of tomcat
Hi,
I am not sure if it possible to run two instances of tomcat in standalone
mode with different version
: [EMAIL PROTECTED]
Subject: Re: multiple instances of tomcat
It is possible: You must have two different server.xml files. In the
server.xml file you can configure that port in the http connector
element. You also need to have 2 startup-scripts that call tomcat with
the appropriate server.xml file
, 2001 4:05 PM
> To: [EMAIL PROTECTED]
> Subject: Re: multiple instances of tomcat
>
>
> It is possible: You must have two different server.xml files. In the
> server.xml file you can configure that port in the http connector
> element. You also need to have 2 startup-scripts
Also, when you start tomcat, use the -r option to point to the correct
server.xml file.
ex:
tomcat-start -r /usr/local/tomcat/conf/server-2.xml
tomcat-start -r /usr/local/tomcat/conf/server-1.xml
Where server-1.xml defines tomcat on port 8001, and server-2 defines
tomcat on 8002.
Will
--
"
It is possible: You must have two different server.xml files. In the
server.xml file you can configure that port in the http connector
element. You also need to have 2 startup-scripts that call tomcat with
the appropriate server.xml file. You don't need Apache to do this.
Bye,
Peter.
--
For development, we're doing exactly that: starting five different Tomcat
processes, each with its own server.xml (specified with a "-f" command-line
flag) which specifies the set of ports to use.
Now, we're not using JSPs, but servlets. There may be some issues with
recompilation of JSPs in one
Yes, I've done this. You need to hand-tailor workers.properties (I copied
it to workers.https and then modified it.) Your customized workers should
use the standard ports. Set one virtual server to communicate using ajp12,
and the other using ajp13. Then in your the ** original **
workers.prop
> -Original Message-
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 03, 2001 12:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: multiple instances of Tomcat
>
>
> Amy Roh wrote:
>
> > Does tomcat allow multiple inst
Amy Roh wrote:
> Does tomcat allow multiple instances running on the same machine?
You can do this if you run Tomcat on different port numbers.
> What happens
> if you have different JSP files with same name on different ports? Does it
> create one java file or two? Will one overwrite the ot
40 matches
Mail list logo