tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dOE <doep...@gmail.com>
Subject Re: How can I hard code the IP address on a single server with multiple Tomcat instances.
Date Thu, 30 Oct 2008 11:37:05 GMT
Thanks for the reply Serge,

On Win32 I have the CATALINA_HOME set to pont to where Tomcat is installed,
and were server1 resides.  To configure CATALINA_BASE the same way, but pont
to another directory that ONLY contains *conf*, *webapps*, *logs*, *temp*,
and *work*?  What would need to be in the conf - *server.xml*, *web.xml*,
and possibly *tomcat-users.xml*?

On Thu, Oct 30, 2008 at 3:45 AM, Serge Fonville <serge.fonville@gmail.com>wrote:

> You can define a CATALINA_HOME/BASE in the startup file(catalina.bat/sh).
> (all it does now is use the global environment variable because it isn't
> specified inside the file)You could define a HOME1 and HOME2 variable, but
> that would require a lot more changes inside the startup file.
>
> To be sure, specify it near the top (before used)
> That way the alternate value only applies inside that instance
>
> Does this help?
>
> Regards,
>
> Serge Fonville
>
>
> On Wed, Oct 29, 2008 at 8:16 PM, dOE <doepain@gmail.com> wrote:
>
>> Guys, please don't give up on me yet, I am going to go read up on the
>> documentation tonight to see what else I need to do to get this site
>> working.
>>
>> I think my focus will be more for the Win32 rather 'nix because it more of
>> a
>> priority.
>>
>> On Wed, Oct 29, 2008 at 2:17 PM, dOE <doepain@gmail.com> wrote:
>>
>> > Now this needs to be replicated on a Win32 system as well following this
>> > how can this be done?  The service can not be started by a command-line
>> > script (ideally).
>> >
>> >
>> > On Wed, Oct 29, 2008 at 2:02 PM, Hassan Schroeder <
>> > hassan.schroeder@gmail.com> wrote:
>> >
>> >> On Wed, Oct 29, 2008 at 10:23 AM, dOE <doepain@gmail.com> wrote:
>> >>
>> >> > perhaps this is where my problem is at this stage.  I would need a
>> >> > "Catalina_Home2" and have that pointing to *server2 *...? I am
>> guessing,
>> >> but
>> >> > would this mean I need to edit every mention of Catalina_Home to
>> >> > Catalina_Home2 in the *.properties files?
>> >>
>> >> No, just start the second instance from a shell with the appropriate
>> >> value for CATALINA_HOME defined.
>> >>
>> >> --
>> >> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
>> >>
>> >
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message