RE: Multiple tomcat containers or instance on same servers

2013-05-02 Thread Oke Akinola swisstopo
I eventually installed version 6.0.36 & 7.0.29 as the highest supported version 
by the concerned applications respectively. I used the installer and both 
applications seen to be running fine.

Though still testing, but would like to be rest assured of this 2 version 
decision before going into production. Is there any foreseeable complications 
that could emerge from such configuration?


Sent from my Windows Phone

From: Howard W. Smith, Jr.
Sent: 02.05.2013 03:21
To: Tomcat Users List; ch...@derham.me.uk
Subject: Re: Multiple tomcat containers or instance on same servers

On Wed, May 1, 2013 at 8:51 PM, chris derham  wrote:

> >>> If anyone else wants to chip in with any relevant additions, let me
> >>> know. I might be able to have a look at updating the documentation
> >>> page later, but being as I'm a developer my linguistic skills have
> >>> never really been approved off so not sure any changes will be
> >>> approved :-)
> >>>
> >>> HTH
> >>>
> >>> Chris
>
> I've added some comments to
> http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html -
>

+1 I like the comments you added Chris!

> You must edit CATALINA_BASE\conf\server.xml to specify a unique IP/port
for the instance to listen on.

You gave some examples in those comments. it would be nice to see examples
to clarify the statement above, too.


RE: Multiple tomcat containers or instance on same servers

2013-04-30 Thread Oke Akinola swisstopo
The new application I wanted to add to tomcat environment actually required its 
own container. My understanding so far is configuring multiples applications, 
even with different listening ports  in a single installation is still one 
container. Once a different container is required, there has to be a second 
tomcat installation instance.

Please feel free to correct me.

David's offer to put something together will be appreciate for the none tomcat 
specialist.



Sent from my Windows Phone

From: David Kerber
Sent: 01.05.2013 02:45
To: Tomcat Users List
Subject: Re: Multiple tomcat containers or instance on same servers

On 4/30/2013 4:34 PM, chris derham wrote:
>> Thanks for all your feedbacks.
>>
>> Is multiple versions supported or all instances have to be the same build.
>
> You can have it any which way you wish, e.g. single tomcat in single
> catalina_home with multiple instances each with own catalina_base, or
> multiple versions of tomcat each in own catalina_home each with one or
> more instance each with own catalina_base. You can setup a right mess
> if you wish...

Yeah, what he said...

I have done it both ways, depending on the requirements of the apps
being hosted.  I prefer to have only one instance of TC installed, but
have at times had multiple versions running during transition periods.


>
>>> I thought sure that the Tomcat Windows Service page of the users' guide,
>>> but it is /not/ there:
>>> http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
>>>
>>> I wonder if there are any heavy Microsoft Windows users that could
>>> offer to write a section on Multiple Tomcat Instances specifically
>>> with Microsoft Windows Services. The file RUNNING.txt only explains
>>> how to set up Tomcat itself (CATALINA_HOME versus CATALINA_BASE) but
>>> says nothing about how to configure Tomcat's service runner to point
>>> to one (other than inferring that one ought to set CATALINA_HOME and
>>> CATALINA_BASE appropriately).
>>>
>>> For instance, it's probably important to give the services distinct
>>> names ;)
>
> The only things that seem to be missing are
>
> a) set CATALINA_HOME and CATALINA_BASE before running service.bat
> b) when run service.bat, specific a unique service name
> c) you need to copy some files around to allow the CATALINA_BASE to be
> different from each other, e.g. port config
>
> e.g.
>
> set CATALINA_HOME=c:\tomcat
> set CATALINA_BASE=c:\tomcat\instances\instance1
> service install tomcat1
>
> Then to install instance two, just run
>
> set CATALINA_BASE=c:\tomcat\instances\instance2
> service install tomcat2
>
> If anyone else wants to chip in with any relevant additions, let me
> know. I might be able to have a look at updating the documentation
> page later, but being as I'm a developer my linguistic skills have
> never really been approved off so not sure any changes will be
> approved :-)
>
> HTH
>
> Chris
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Multiple tomcat containers or instance on same servers

2013-04-30 Thread Oke Akinola swisstopo
Thanks for all your feedbacks.

Is multiple versions supported or all instances have to be the same build.

Sent from my Windows Phone

From: David kerber
Sent: 30.04.2013 16:57
To: Tomcat Users List
Subject: Re: Multiple tomcat containers or instance on same servers

On 4/30/2013 10:30 AM, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Oke,
>
> On 4/30/13 8:28 AM, Oke Akinola swisstopo wrote:
>> I would need help to configure different application in their
>> respective tomcat container.
>>
>> Does having multiple containers is same as have multiple instances
>> on the same server? I already have tomcat 6.0.26 installed through
>> an installer on a Windows Server 2008 R2. How do I go about
>> configuring multiple containers or instances?
>
> I thought sure that the Tomcat Windows Service page of the users' guide,
> but it is /not/ there:
> http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html
>
> I wonder if there are any heavy Microsoft Windows users that could
> offer to write a section on Multiple Tomcat Instances specifically
> with Microsoft Windows Services. The file RUNNING.txt only explains
> how to set up Tomcat itself (CATALINA_HOME versus CATALINA_BASE) but
> says nothing about how to configure Tomcat's service runner to point
> to one (other than inferring that one ought to set CATALINA_HOME and
> CATALINA_BASE appropriately).
>
> For instance, it's probably important to give the services distinct
> names ;)
>
> I probably wouldn't do this myself, but can Tomcat be "installed"
> twice (or thrice, etc.) using the installer so I don't have to
> configure the service(s) manually from the command-line? Yes, I'll get
> multiple copies of Tomcat installed on my disk, but I probably don't
> care about that if the installer can set up the service with a unique
> name, etc. If this kind of thing won't work or is a horrible idea,
> that should be clear from the users' guide.
>
> André? Jeff? Mark E?

I might be able to put some time into this over the nest few days; I
have a system with about a dozen services all running from the same
installation of TC.  I have written some batch files that handle the
service creation for me, though I tweak the TC configuration .xml files
manually.

D

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org