Re: ApacheCon agenda?

2019-05-20 Thread Israel Timoteo
Chris,

It would be very interesting having a talk where I can experiment (like in a 
lab) building a configuration for HTTPD as a proxy for a Tomcat cluster; 
something where I can see details for best practices on how to calculate the 
number of clients (ThreadsPerChild, MaxRequestWorkers, MaxConnectionsPerChild, 
etc) in apache that matches number of clients in Tomcat (maxThreads, 
maxConnections, acceptCount, etc) and then know how to adjust that number when 
the number of Tomcat instances changes.

From my experience in past conferences, sessions for HTTPD are normally 
separated from the ones with Tomcat content; I cannot recall attended one where 
this expertise is shared - maybe there was one last year but I had to interrupt 
my attendance on the first day, then I might have missed it.

However, the intention of my asking is to show my manager the knowledge to be 
offered on this conference so I can justify attending the event.

Thanks

Israel Timoteo
itimo...@me.com



> On May 20, 2019, at 11:56 AM, Christopher Schultz 
>  wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Israel,
> 
> On 5/20/19 09:27, Israel Timoteo wrote:
>> When can we expect to see the ApacheCon agenda published?
> 
> The call-for-papers just ended 7 days ago, so it might be a few weeks
> before we find out.
> 
> Is there a Tomcat-related topic you'd especially like to see
> presented? We are assembling a concurrent TomcatCon and anything we
> can do to encourage members of this community to attend ApacheCon this
> year, we'll consider.
> 
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
> 
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlzi3CoACgkQHPApP6U8
> pFhXjhAAliw1jwGqnu+FzL6d/ZRMZXoVMA19hjlmon8PlM/ycRJ7V6W0AJdrqaUn
> xzb6eQqX09HIZ7++IKRefZco16qNCOODMg2Re7CgYUWK/a3J1VLu8qMIGRwwX/T+
> ND7mRdoCua9hzXT1iu4RFd/c+AhyAuEwPpqpWLE5sQtXStmiiWoTVVhGgi1vLYRE
> 4TWWOMDX7nV/N2PiM/FSDKXgYS1IRTIGnJ2SgveYN+Vgua0bJXD8fQj3ZcdzTfwL
> eWfQ9Rkyi4FtG52eOWAzwJU8zL87dAK7Ct7ztbs7nBZwY1UWON4M0zBC4sD7IZjv
> 3hV0X00bvTH5QC4VHVBJJgabEuMyxnVvXWzqruitriJk2Jli8cEigto/AiHZOa2f
> 3iGnnRVY9Y5x+MKXelBcbeP2TQN82dOBCnMG/CuRpBab5CHDy+aIIxc6dQv4MQ+7
> 4MSeKVpoG1KuBrPht7e43yygaKNXbL9ghoDtl1odNaP6iu80b7wOHhJ9mRrDeVMP
> i2P+lQSNjIywx1zV080NGARRky3j1LzzsCHqjcMQVOh1Gry2iMEv4Ghg7FYZXDfP
> 7KBvP1FXLg7wuNg0qmTlIgfSqCPql0ibRGWcrzUQ7ZnnwZNoZNa2gviFlMwAvnOZ
> rSdOEIAmfD42PAU56+F1u9usPocJgEB8S8mP6IG3LmLGPd28LFY=
> =l8KK
> -END PGP SIGNATURE-
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 



ApacheCon agenda?

2019-05-20 Thread Israel Timoteo
Hi team,

When can we expect to see the ApacheCon agenda published?

Thanks

Israel Timoteo



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



Re: Building (and running) Tomcat on MacOS

2018-11-06 Thread Israel Timoteo
Hi Christopher,

How do you make Tomcat start automatically after your Mac restarts?


Israel Timoteo
itimo...@me.com



> On Nov 6, 2018, at 9:05 AM, Christopher Schultz 
>  wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> All,
> 
> Periodically, some folks ask how to get Tomcat running on MacOS. In
> order to fully-test the most recent version of Tomcat 8.5.x being
> voted on, I built a new environment on my Mac from scratch and
> documented everything.
> 
> I put all of my notes into the Tomcat Wiki which can be found here:
> https://wiki.apache.org/tomcat/Building%20Tomcat%20on%20MacOS
> 
> Comments and modifications are welcome. It would be even better if
> some folks with Macs who aren't running Tomcat would actually try
> following the instructions and let me know if anything in particular
> doesn't work for you.
> 
> - -chris
> -BEGIN PGP SIGNATURE-
> Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/
> 
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvhrc0ACgkQHPApP6U8
> pFjGVA//XYi0+dnb1cmGGtrrZuXPHefRV2LiIf5VIHgQ1oZsiKleqadlsx7mYnD3
> xwcR0Br9HU4x1z2o9a6JY6pdErLVxJSLsvXcBn0bhZAMe1TXXQk0VzxJo+zbTcQK
> Hh3S2XJDjA/U2cTs0z9FTT+mKvFxMUmI4ZnvBrmFXqQH5IgrMv5ajl20xhoKR899
> K30q0J67YjzR42E7XCpBSRlPQhFrkVzXsIfublDc+M59riCisRC6M3cNG6CPGdO6
> ArGVUCxTC+I0+ibdvuhUhWCC8YSm7sqn9/xUHEBhRta3ux+1LwCM1J4TijzOsPo0
> AL3T+H1PElL+5jQXj6JQPcc5oRBfzNX04WJYEvoow3DaKUKX5/yqCVw6krdeGsTo
> gW0IhA/k2h5p6/g1IKZxjYIHkn2YQAUJtL+M7JopJp1xXYPI6xdorhlfylN/D1ms
> T+HgscItBWEG/o25Agydu6Wlpc8rIN0PIe1lMPFsfUHZf/PjUsj6f0+urnE0Cutx
> sIxvMBBzXd76PXYC8k5q50dQdaZONZdvGxHXBcRut4SwDSj9OAQf4R1DfIPcqEkl
> krF6Q04iuwAr6KewG57HkE3xh6kVbthPaVoXHVYmByBbRClZ6IpXRWax+Cvi/ROF
> AgvEV6Z+iQWwKMSX8nSNooifVOLvjZ9tVcI6fiBQLJAVHXeAsmo=
> =tqi1
> -END PGP SIGNATURE-
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 



Re: TomcatCon Training: Tomcat for Administrators

2018-02-19 Thread Israel Timoteo
Any plans for having this type of sessions in the US?


Israel Timoteo

> On Feb 19, 2018, at 10:50 AM, Rémy Maucherat <r...@apache.org> wrote:
> 
> On Mon, Feb 19, 2018 at 5:28 PM, Mark Thomas <ma...@apache.org> wrote:
> 
>> On 19/02/18 16:23, Coty Sutherland wrote:
>>> Do we plan on doing any audio or video to go along with the slides for
>>> these? We could add them to the youtube channel for those that can't
>>> attend the live training.
>> 
>> My current thinking is that I'd do a separate recording of the modules
>> for that rather than try and record the sessions. I want to be able to
>> focus on the attendees in the training. The recording would be video of
>> the slides and demos with audio of me talking.
>> 
> 
> As you said in London, that's material that is usually really nice when
> you're there, but really boring when you're by yourself watching on
> youtube. Although I agree we need one (current) copy of the trainings on
> youtube for reference ...
> 
> Rémy
> 
> 
>> 
>> Mark
>> 
>> 
>>> 
>>> On Mon, Feb 19, 2018 at 9:50 AM, Mark Thomas <ma...@apache.org> wrote:
>>>> All,
>>>> 
>>>> The Apache Tomcat PMC is delighted to announce that the registration for
>>>> the training course "Tomcat for Administrators" is now open.
>>>> 
>>>> This one-day training course will take place in central Manchester, UK
>>>> on Tuesday April 10, 2018.
>>>> 
>>>> Full details, including the schedule is available on the website:
>>>> http://tomcat.apache.org/conference.html
>>>> 
>>>> Registration is via EventBrite:
>>>> https://www.eventbrite.com/e/tomcatcon-training-tomcat-for-
>> administrators-tickets-43039556472?aff=lists
>>>> 
>>>> We hope to see you there.
>>>> 
>>>> Mark
>>>> on behalf of the Apache Tomcat PMC
>>>> 
>>>> -
>>>> 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
>>> 
>> 
>> 
>> -
>> 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: Tomcat on macOS

2017-05-20 Thread Israel Timoteo
All,

Thanks for your replies, very good information.


Christopher,

Let me share additional information about my environment: 

1) All my servers, production and non-production, are hosted at two data 
centers (different locations) with a third-party company (A)
-Server specs: Mac mini, 16 GB memory and 1 TB HD

2)There is one Tomcat instance per server and all Tomcats are in a cluster, 
having HTTPD in front
-on HTTPD, mod_jk is used
-one cluster per each location, multicast is used - I do recall a presentation 
where not using multicast was mentioned - I need to check my notes 

3) The application is developed by a third-party company (B) and uploaded to 
one of my non-production servers

4) When an application needs to be deployed, I connect (ssh) to the target 
server(s) and from there, I use scp to get the war file from the non-production 
server and place the war file into a particular directory; then, I have a 
script that moves the war file to $CATALINA_BASE and do some additional 
validations
-Autodeploy and Parallel deployment are used
-I explored the FarmWebDeployer option years ago but had the war file removed 
from the cluster when the master node was down… maybe I had a wrong 
configuration then.. so I will need to check this option again and experiment

5) As per the JAVA_OPTS…
-I use it for “-server -Dfile.encoding=UTF-8”
-It seems that I can add “-server -Dfile.encoding=UTF-8” to CATALINA_OPTS; I 
will change and test it.



I have an additional question:

1) Would there be any recommendations for not having one Tomcat instance per 
physical server?


Israel Timoteo

> On May 19, 2017, at 2:06 PM, Mark Eggers <its_toas...@yahoo.com.INVALID> 
> wrote:
> 
> Folks,
> 
> Beware, the following is extremely ugly Groovy. I've changed the names
> to protect the guilty (I think).
> 
> Also, the *_SVR and *_URL values are environment values stored centrally
> in Jenkins. That way they can be changed easily. They also show up in
> the job logs, which means with a little scripting effort I can get a
> history of what versions were deployed to what server when.
> 
> Please review and laugh . . . or better yet, proffer improvements :-).
> 
> On 5/19/2017 10:10 AM, Decker, Richard M wrote:
>> Mark,
>> 
>>> -Original Message-
>>> From: Mark Eggers [mailto:its_toas...@yahoo.com.INVALID]
>>> Sent: Friday, May 19, 2017 10:44 AM
>>> To: Tomcat Users List <users@tomcat.apache.org>
>>> Subject: Re: Tomcat on macOS
>>> 
>>> Chris,
>>> 
>>> On 5/19/2017 7:33 AM, Christopher Schultz wrote:
>>>> Israel,
>>>> 
>>>> On 5/18/17 10:52 AM, Israel Timoteo wrote:
>>>>> Any comments from the community for ...
>>>> 
>>>>> 1) What tools is the community using for simultaneous applications
>>>>> deployment on several servers, let’s say more than 20?
>>>> 
>>>> I am using neither of these strategies, but...
>>>> 
>>>> a. FarmWebDeployer [1]
>>> 
>>> Doesn't this require a cluster (and therefore multicast)? That becomes
>>> challenging in a cloud environment where there's no multicast easily
>>> available.
>>> 
>>>> b. Auto-deploy + scp
>>> 
>>> This would be nice with a little scripting.
>>> 
>>>> 
>>>> Why in the world are you deploying a web application to 20+
>>>> macos-based servers? Or do you have a Macos client and 20+
>>>> non-macos-based servers?
>>>> 
>>>>> 4) Is JAVA_OPTS required?
>>>> 
>>>> JAVA_OPTS is only required if you require any java opts. Do you
>>>> require such options? Usually, when people set JAVA_OPTS they really
>>>> want to set CATALINA_OPTS instead.
>>>> 
>>>> Hope that helps,
>>>> -chris
>>>> 
>>>> [1]
>>>> http://tomcat.apache.org/tomcat-8.0-doc/config/cluster-deployer.html
>>> 
>>> What I do is use Jenkins, Maven, Nexus, and a little Groovy scripting.
>>> 
>>> 1. Maven with the Tomcat Maven Plugin [1]
>>> 
>>> The WAR file is customized (context.xml) based on the target environment.
>>> 
>>> 2. Jenkins
>>> 
>>> The build is run by Jenkins, and the build number (with a little 0 padding 
>>> via a
>>> Groovy script) is tacked onto the WAR name as app##nn.war.
>> 
>> I don't mean to hijack the thread, but could you expand on this? Could you 
>> please provide examples of your Groovy scripts?
>> 
>>> 
>>> This allows the parallel deploy feature to be used [

Re: Tomcat on macOS

2017-05-18 Thread Israel Timoteo
Thank Thad!


Any comments from the community for ...

1) What tools is the community using for simultaneous applications deployment 
on several servers, let’s say more than 20?

4) Is JAVA_OPTS required?






Israel Timoteo

> On May 18, 2017, at 6:53 AM, Thad Humphries <thad.humphr...@gmail.com> wrote:
> 
> On Wed, May 17, 2017 at 9:25 PM, Israel Timoteo <itimo...@me.com 
> <mailto:itimo...@me.com>> wrote:
> 
>> Hi all,
>> 
>> My environment is Tomcat 8.5.12, Java 1.8.0_112 running on macOS 10.12 and
>> planning to update Tomcat to 8.5.15.
>> 
>> I’m wondering if I can get comments from the community for my questions
>> below?
>> 
>> 
>> 1) What tools is the community using for simultaneous applications
>> deployment on several servers, let’s say more than 20?
>> 
>> 2) Would having the logs located outside of the Tomcat home directory, if
>> possible, affect Tomcat operation?
>> 
>> 3) Are there any recommendations/best practices for installing and running
>> Tomcat 8.5.15 on macOS 10.12?
>> 
> 
> On #2 and #3, setup up separate CATALINA_HOME and CATALINA_BASE directories
> as described in RUNNING.txt. This will keep logs out of CATALINA_HOME and
> make upgrading to new releases of Tomcat fairly easy.
> 
> My Macs aren't production, so you may need to adapt this. I unpack Tomcat
> releases to /Library/Tomcat. I remove all but ./bin and ./lib, and rename
> ./conf to ./conf-ORIG. I diff this ./conf-ORIG with the ./conf-ORIG from
> the last release, making tweaks to my $CATALINA_BASE/conf files as
> required. Then I create a link
> 
>$ cd /Library/Tomcat
>$ tar zxvf ~/Downloads/apache-tomcat-8.5.11.tar.gz
> ... // remove subdirectories...
>$ rm catalina
>$ ln -s /Library/Tomcat/apache-tomcat-8.5.11 catalina
> 
> and in ~/.bash_profile `export CATALINA_HOME=/Library/Tomcat/catalina` (I
> also set CATALINA_HOME and CATALINA_BASE in my org.apache.tomcat plist).
> Now restart Tomcat.
> 
> 
>> 
>> 4) Is JAVA_OPTS required?
>> 
>> 
>> 
>> Thanks for your comments.
>> 
>> Israel
>> 
>> 
>> 
>> 
> 
> 
> -- 
> "Hell hath no limits, nor is circumscrib'd In one self-place; but where we
> are is hell, And where hell is, there must we ever be" --Christopher
> Marlowe, *Doctor Faustus* (v. 121-24)



Tomcat on macOS

2017-05-17 Thread Israel Timoteo
Hi all,

My environment is Tomcat 8.5.12, Java 1.8.0_112 running on macOS 10.12 and 
planning to update Tomcat to 8.5.15.

I’m wondering if I can get comments from the community for my questions below?


1) What tools is the community using for simultaneous applications deployment 
on several servers, let’s say more than 20?

2) Would having the logs located outside of the Tomcat home directory, if 
possible, affect Tomcat operation?

3) Are there any recommendations/best practices for installing and running 
Tomcat 8.5.15 on macOS 10.12?

4) Is JAVA_OPTS required?



Thanks for your comments.

Israel