We should create a wiki to accomplish all theses tips.... Why not?
-----Mensagem original-----
De: Ben Souther [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 21 de agosto de 2007 14:46
Para: Tomcat Users List
Assunto: Re: 20 Tips for Using Tomcat in Production
Tip #8:
You tell the users about the tomcat-users.xml file for adding the role info but
never tell them where to enter the RemoteAddrValve in order to restrict IPs.
On Tue, 2007-08-21 at 10:57, Shane Witbeck wrote:
> David,
>
> Thanks for your comments. I've added them to the blog post for
> everyone's benefit.
>
> Shane
>
> On 8/21/07, David Delbecq <[EMAIL PROTECTED]> wrote:
> > Very nice. May i suggest 2 comments perhaps?:
> >
> > 6... If you're loading several applications with several of the same
> > library dependencies, consider moving them from the applications'
> > |WEB-INF/lib| directory to Tomcat's shared library
> > |{catalina.home}/shared/lib|. This will reduce the memory used by
> > |each
> > application and result in smaller WAR files.
> >
> > You should make a remark that this change the behaviour of webapp:
> > a) Shared classloader is searched in last ressort when looking for
> > classes, according to
> > http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html.
> > b) Because the classes are shared, they share config & singletons
> > and if they store objects statically they will prevent webapp
> > unloading
> >
> >
> > 7...Consider JDK 1.5 or even better JDK 1.6 to take advantage of
> > performance improvements.
> >
> > Note that you can gain even more performance if you recompile your
> > "string concatenation hungry" (d="aaaa"+b+"ccc") support libaries
> > for jdk 5+ on a multi CPU system. This is because jdk5 uses the
> > non-synchronized stringbuilder instead of the jdk 4- synchronized
> > StringBuffer. And synchronization over multiple cpu takes a few more
> > cycles than on single CPU machines.
> >
> >
> >
> > En l'instant précis du 21/08/07 14:10, Shane Witbeck s'exprimait en
> > ces
> > termes:
> > > I thought my latest blog post would be of interest to the people on this
> > > list:
> > >
> > > http://www.digitalsanctum.com/2007/08/18/20-tips-for-using-tomcat-
> > > in-production/
> > >
> > > ------------------------------------------------------------------
> > > --- To start a new topic, e-mail: [email protected] To
> > > unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > --
> > http://www.noooxml.org/
> >
> >
> > --------------------------------------------------------------------
> > - To start a new topic, e-mail: [email protected] To
> > unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected] To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]