Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Zahid Rahman
If you wish we can work the problem , piece by piece through logical
construction of the solution.



On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, 
wrote:

> Hi,
> I need to configure a load balancer with apache connector on a jelastic
> server that redirects requests to 6 server workers with tomcat 7 installed.
> Atteched you can find extract from httpd.conf and workers.properties.
> I need to send single request to tomcat server individually, so I set
> sticky_session to 0.
> Could you tell me if parameters are configured correctly?
> Is the collector able to handle all requests?
> Could you give me some further advice?
>
> Each tomcat server is configured with the following parameters:
>
> maxThreads="400"
>connectionTimeout="2"
>redirectPort="8443" />
>
> The balancer has the following configuration:
> Server version: Apache/2.4.39 (codeit)
> Server built:   Apr  3 2019 18:54:14
> Architecture:   64-bit
> Server MPM: event
>   threaded: yes (fixed thread count)
> forked: yes (variable process count)
>
>
> Thanks.
> Best regards.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Zahid Rahman
If your backend tomcat servers are running on different physical machines
therefore with different ip addresses then there is nothing wrong with each
backend  tomcat server listening on same port (80) of each machine. Further
to mod_jk worker properties file redirection.

It is pointless in having multiple tomcat instances running on same machine
, because the kernel will slice and share resources as per priority level
setting of OS.

If you don't have heavy user activity expectations   then this excercise is
pointless.


On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, 
wrote:

> Hi,
> I need to configure a load balancer with apache connector on a jelastic
> server that redirects requests to 6 server workers with tomcat 7 installed.
> Atteched you can find extract from httpd.conf and workers.properties.
> I need to send single request to tomcat server individually, so I set
> sticky_session to 0.
> Could you tell me if parameters are configured correctly?
> Is the collector able to handle all requests?
> Could you give me some further advice?
>
> Each tomcat server is configured with the following parameters:
>
> maxThreads="400"
>connectionTimeout="2"
>redirectPort="8443" />
>
> The balancer has the following configuration:
> Server version: Apache/2.4.39 (codeit)
> Server built:   Apr  3 2019 18:54:14
> Architecture:   64-bit
> Server MPM: event
>   threaded: yes (fixed thread count)
> forked: yes (variable process count)
>
>
> Thanks.
> Best regards.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Zahid Rahman
Your home page is in Italian
https://www.flottaweb.com/en/

While your login page is in English
https://www.flottaweb.com/en/login/


On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, 
wrote:

> Hi,
> I need to configure a load balancer with apache connector on a jelastic
> server that redirects requests to 6 server workers with tomcat 7 installed.
> Atteched you can find extract from httpd.conf and workers.properties.
> I need to send single request to tomcat server individually, so I set
> sticky_session to 0.
> Could you tell me if parameters are configured correctly?
> Is the collector able to handle all requests?
> Could you give me some further advice?
>
> Each tomcat server is configured with the following parameters:
>
> maxThreads="400"
>connectionTimeout="2"
>redirectPort="8443" />
>
> The balancer has the following configuration:
> Server version: Apache/2.4.39 (codeit)
> Server built:   Apr  3 2019 18:54:14
> Architecture:   64-bit
> Server MPM: event
>   threaded: yes (fixed thread count)
> forked: yes (variable process count)
>
>
> Thanks.
> Best regards.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Giancarlo Celli

Hi,
I need to configure a load balancer with apache connector on a jelastic 
server that redirects requests to 6 server workers with tomcat 7 
installed.

Atteched you can find extract from httpd.conf and workers.properties.
I need to send single request to tomcat server individually, so I set 
sticky_session to 0.

Could you tell me if parameters are configured correctly?
Is the collector able to handle all requests?
Could you give me some further advice?

Each tomcat server is configured with the following parameters:



The balancer has the following configuration:
Server version: Apache/2.4.39 (codeit)
Server built:   Apr  3 2019 18:54:14
Architecture:   64-bit
Server MPM: event
  threaded: yes (fixed thread count)
forked: yes (variable process count)


Thanks.
Best regards.

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

Re: http://localhost:8080/manager/

2019-12-23 Thread Zahid Rahman
In that case there is more bad news for the person(s) who development the
"command line" method  of deployment, when there are two other competing
methods as GUIs. Especially the GUI you are presented with when you open
the build.properties file in Eclipse.



On Mon, 23 Dec 2019, 14:52 Christopher Schultz, <
ch...@christopherschultz.net> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Zahid,
>
> On 12/21/19 15:22, Zahid Rahman wrote:
> > Yes thank you. I was just about to send message to with draw my
> > message as I found the answer as I read on.
> > http://tomcat.apache.org/tomcat-8.5-doc/manager-howto.html It seems
> > I was a but *impatient* :)
>
> You're in luck: "impatience" is one of the three great virtues of
> programmers!
>
> http://threevirtues.com/
>
> - -chris
>
> > On Sat, 21 Dec 2019, 19:46 Mark Thomas,  wrote:
> >
> >> On 21/12/2019 19:27, Zahid Rahman wrote:
> >>> I am on
> >>> http://tomcat.apache.org/tomcat-8.5-doc/manager-howto.html
> >>> Tomcat Web Application Manager This same page is  produced by
> >>> http://localhost:8080/manager/html
> >>> http://localhost:8080/manager/ but
> >>> http://localhost:8080/manager/text produces
> >>>
> >>> FAIL - Unknown command [/text]
> >>>
> >>> I thought that was a valid  url, it is in my ant
> >>> configuration,
> >> build.xml.
> >>>  >>> value="http://localhost:8080/manager/text
> >> "/>
> >>
> >> That URL doesn't contain a command. Hence the error message.
> >>
> >> See
> >>
> >> http://tomcat.apache.org/tomcat-9.0-doc/manager-howto.html#Supported_
> Manager_Commands
> >>
> >>
> >>
> Mark
> >>
> >> -
> >>
> >>
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
> -BEGIN PGP SIGNATURE-
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl4A1KoACgkQHPApP6U8
> pFg4/Q/9H3U4Y2f7S03eAvfWnBwPBSbs8iVpKPsxDeVpRcdGnJeNuLS4rJzjuihP
> L8D5m1R3Mz60LyoiC9FNKTIgKRLsQVki2UQAPDazNWf9AZ6g7lai6Sq7VnG4mCtX
> sDbNf4UUewoqCGfIfb7vUHslKPJy6rjA0pmCcIoSyuZr4qQqne4ApXKZsO0HkRsC
> H3pUt2atZKQhM6xbTbg1k0ZHKcEU32GfzUf+jP19kIZ0WN24ht+drQF/a1isukHY
> VoIe0CynaqoE3bu8hhxNcESJKRseaUg4XmKQ/sdW3MzMNV6dqj+dN/a7pgflSesz
> F8WHCMYVymWT82wVykJYP5dAWi0CWLz7YjDoZQohjN+FRjZWCs0B/+483u2Tzds4
> 5/Ny6R8+ARquJcdicFHQj7GvSpOYtsxEEQL+tcnAmorhqR5/kpZX5mNoZ7xXS5pd
> 1NP4b0AAvXHegWhC3QCzzHBNqArSLExkOLgNnTGnV383uIlmVbsQbs+6ZRj4/pG4
> ZlQL/X3j9TKJPZkxRb1ogGfu3bv5o1GteTHZqwWa5cxJeTObNHUKVbpsEWQvKW+r
> JCEyKbJo8vkfcjc9KjoyIyx9ZyA132DCLO/xMCe04ngpRa162WStHcbX9gN1eQkf
> kwkwn07uT+XDqLwWWEnqC/DPNQ8Hp9I/EdZaYkbZPtBL+zsAqq8=
> =DYFR
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: http://localhost:8080/manager/

2019-12-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Zahid,

On 12/21/19 15:22, Zahid Rahman wrote:
> Yes thank you. I was just about to send message to with draw my
> message as I found the answer as I read on. 
> http://tomcat.apache.org/tomcat-8.5-doc/manager-howto.html It seems
> I was a but *impatient* :)

You're in luck: "impatience" is one of the three great virtues of
programmers!

http://threevirtues.com/

- -chris

> On Sat, 21 Dec 2019, 19:46 Mark Thomas,  wrote:
> 
>> On 21/12/2019 19:27, Zahid Rahman wrote:
>>> I am on
>>> http://tomcat.apache.org/tomcat-8.5-doc/manager-howto.html 
>>> Tomcat Web Application Manager This same page is  produced by 
>>> http://localhost:8080/manager/html 
>>> http://localhost:8080/manager/ but
>>> http://localhost:8080/manager/text produces
>>> 
>>> FAIL - Unknown command [/text]
>>> 
>>> I thought that was a valid  url, it is in my ant
>>> configuration,
>> build.xml.
>>> >> value="http://localhost:8080/manager/text
>> "/>
>> 
>> That URL doesn't contain a command. Hence the error message.
>> 
>> See
>> 
>> http://tomcat.apache.org/tomcat-9.0-doc/manager-howto.html#Supported_
Manager_Commands
>>
>>
>> 
Mark
>> 
>> -
>>
>> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
>> 
> 
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl4A1KoACgkQHPApP6U8
pFg4/Q/9H3U4Y2f7S03eAvfWnBwPBSbs8iVpKPsxDeVpRcdGnJeNuLS4rJzjuihP
L8D5m1R3Mz60LyoiC9FNKTIgKRLsQVki2UQAPDazNWf9AZ6g7lai6Sq7VnG4mCtX
sDbNf4UUewoqCGfIfb7vUHslKPJy6rjA0pmCcIoSyuZr4qQqne4ApXKZsO0HkRsC
H3pUt2atZKQhM6xbTbg1k0ZHKcEU32GfzUf+jP19kIZ0WN24ht+drQF/a1isukHY
VoIe0CynaqoE3bu8hhxNcESJKRseaUg4XmKQ/sdW3MzMNV6dqj+dN/a7pgflSesz
F8WHCMYVymWT82wVykJYP5dAWi0CWLz7YjDoZQohjN+FRjZWCs0B/+483u2Tzds4
5/Ny6R8+ARquJcdicFHQj7GvSpOYtsxEEQL+tcnAmorhqR5/kpZX5mNoZ7xXS5pd
1NP4b0AAvXHegWhC3QCzzHBNqArSLExkOLgNnTGnV383uIlmVbsQbs+6ZRj4/pG4
ZlQL/X3j9TKJPZkxRb1ogGfu3bv5o1GteTHZqwWa5cxJeTObNHUKVbpsEWQvKW+r
JCEyKbJo8vkfcjc9KjoyIyx9ZyA132DCLO/xMCe04ngpRa162WStHcbX9gN1eQkf
kwkwn07uT+XDqLwWWEnqC/DPNQ8Hp9I/EdZaYkbZPtBL+zsAqq8=
=DYFR
-END PGP SIGNATURE-

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