RE: Jasper compiler for included jsp

2013-01-17 Thread Adrien RUFFIE
Thank Chris for your response, But I cannot provide you the stacktrace because I have try another solution but nothing ... I have try to exclude children page compilation because is it already embedded in mother page compilation. I have try following exclusion solution, but neither doesn't wor

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Hermes Flying
Hi Chris, Tried with this simple server.xml and maxThreads=0 but I did not see any kind of errors.Attached the catalina logs                                                                                                  

RE: Capacity Planning Turk's Formula

2013-01-17 Thread Caldarale, Charles R
> From: yogesh hingmire [mailto:yogesh.hingm...@gmail.com] > Subject: Re: Capacity Planning Turk's Formula > How do you think capacity planning should be approached ? The _only_ way is to actually benchmark your application(s). Tomcat itself adds very little overhead, so it really depends on t

Re: Capacity Planning Turk's Formula

2013-01-17 Thread Pid
On 17/01/2013 18:08, yogesh hingmire wrote: > Folks, > >> I was reading this article by Mladen Turk from the FAQ section on TomCat >> Performance & Capacity Planning >> >> http://people.apache.org/~mturk/docs/article/ftwai.html >> >> It says, >> >> “To get most out of Tomcat you should limit the n

Re: Capacity Planning Turk's Formula

2013-01-17 Thread yogesh hingmire
Chuck and others, How do you think capacity planning should be approached ? Say for eg : I have x number of concurrent users to service with an avg response time of y etc.. Please help. Thank You, Yogesh On Thu, Jan 17, 2013 at 12:08 PM, yogesh hingmire wrote: > Folks, > >> I was reading th

Re: JspC failure in Tomcat 7.0.35???

2013-01-17 Thread Jess Holle
Thanks. I'm moving forward to 7.0.35 with the patch, whereas without the patch 7.0.35 would have been a non-starter (not because it's that bad but rather because 7.0.34 was good enough that this issue, if unresolved, more than cancels out 7.0.35's fixes from my perspective). On 1/17/2013 12:3

Re: common vs system vs shared class loaders

2013-01-17 Thread Mark Eggers
Comments in-line since people insist on top-posting. Some at the end as well . . . . On 1/17/2013 10:48 AM, Shanti Suresh wrote: Hi Chuck, Dan, Sometimes, sharing classes across applications may become necessary though. We have a situation where a separate application and associated webapp cl

Re: [ANN] Apache Tomcat 7.0.35 released

2013-01-17 Thread Mark Thomas
On 17/01/2013 18:15, Christopher Schultz wrote: > Mark, > > On 1/17/13 12:30 PM, Christopher Schultz wrote: >> Looks like the website hasn't yet updated: latest release shows >> 7.0.34 and reference documentation says 7.0.34 (at least for what I >> assume is the US mirror). That is most likely a

Re: common vs system vs shared class loaders

2013-01-17 Thread Narahari 'n' Savitha
I could not have said better than Shanti. It is exactly the type of situation in. My question still remains which line common.loader or share.loader -Narahari On Thu, Jan 17, 2013 at 1:48 PM, Shanti Suresh wrote: > Hi Chuck, Dan, > > Sometimes, sharing classes across applications may becom

Re: common vs system vs shared class loaders

2013-01-17 Thread Narahari 'n' Savitha
The question that I am trying to understand is should I use the common.loader or shared.loader line to put my third party jars. What is the recommended approach by Tomcat developers ? -Narahari On Thu, Jan 17, 2013 at 10:58 AM, Daniel Mikusa wrote: > On Jan 17, 2013, at 10:26 AM, Caldarale,

Re: common vs system vs shared class loaders

2013-01-17 Thread Shanti Suresh
Hi Chuck, Dan, Sometimes, sharing classes across applications may become necessary though. We have a situation where a separate application and associated webapp classloader is launched for each site in our application. The reason this is happening is because things have been setup differently i

Re: JspC failure in Tomcat 7.0.35???

2013-01-17 Thread Violeta Georgieva
2013/1/17 Jess Holle > As part of testing Tomcat 7.0.35 when I moved to it, I run an Ant script > to pre-compile all our JSP pages. > > When doing so I get a huge number of new failures which boil down to the > following stack trace. Any ideas here? I can dig in to try to see what's > causing t

Re: [ANN] Apache Tomcat 7.0.35 released

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/17/13 12:30 PM, Christopher Schultz wrote: > Looks like the website hasn't yet updated: latest release shows > 7.0.34 and reference documentation says 7.0.34 (at least for what I > assume is the US mirror). Looks good, now, except that t

RE: Subdomains in tomcat 7

2013-01-17 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Subdomains in tomcat 7 > > > autoDeploy="true"> > > > Only one problem: You shouldn't be using server.xml to define > s. Instead, put your WAR file into ptt/ROOT.war and let it > auto-deploy. This will simplify

Re: Capacity Planning Turk's Formula

2013-01-17 Thread yogesh hingmire
Folks, > I was reading this article by Mladen Turk from the FAQ section on TomCat > Performance & Capacity Planning > > http://people.apache.org/~mturk/docs/article/ftwai.html > > It says, > > “To get most out of Tomcat you should limit the number of concurrent > requests to 200 per CPU." > > So w

Re: Jasper compiler for included jsp

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adrien, On 1/17/13 9:38 AM, Adrien RUFFIE wrote: > Hello all I have following pages : displayPerson.jsp and > displaySocialNetwork.jsp > > my first displayPerson.jsp include the second by following tag: > <%@include file="./displaySocialNetwork.js

Re: Subdomains in tomcat 7

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leonardo, On 1/16/13 7:22 PM, Leonardo Torres wrote: > I have one domain = www.portal.com I have one subdomain = > www.painel.portal.com > > Both domains are configured (DNS) I wish that when the user to > enter www.portal.com, the appA was loaded.

Re: Question about config and correct start-up

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alan, On 1/16/13 11:43 PM, Alan Findly wrote: > The recommended context "ELEMENT" caused the following warning: > > Jan 16, 2013 9:10:37 AM org.apache.tomcat.util.digester.Digester > endElement WARNING: No rules found matching 'Context/Context'.

Re: AW: AW: afs3-rmtsys: connections keept open

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 1/17/13 1:49 AM, David Kumar wrote: > I just checked /var/logs/apache2/error.logs. And found following > errors: > > [Wed Jan 16 15:14:46 2013] [error] server is within MinSpareThreads > of MaxClients, consider raising the MaxClients sett

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Hermes Flying
Hi, This is the server.xml. Sorry for not replying promptly but I am "multitasking" in a lot of things :(                                                   From: Christopher Schultz To: Tomcat Users List Sent: Thursday, Janu

Re: [ANN] Apache Tomcat 7.0.35 released

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/16/13 3:56 PM, Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of > Apache Tomcat 7.0.35. Looks like the website hasn't yet updated: latest release shows 7.0.34 and reference documentation says 7.0.34 (at

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/17/13 3:32 AM, André Warnier wrote: > Quite a few messages ago, I asked the OP if he could copy/paste > his server.xml. Yes. Getting information from the OP seems to be difficult. > The reason was that if his config uses an Executor, t

JspC failure in Tomcat 7.0.35???

2013-01-17 Thread Jess Holle
As part of testing Tomcat 7.0.35 when I moved to it, I run an Ant script to pre-compile all our JSP pages. When doing so I get a huge number of new failures which boil down to the following stack trace. Any ideas here? I can dig in to try to see what's causing this, but this is new behavior.

Re: common vs system vs shared class loaders

2013-01-17 Thread Daniel Mikusa
On Jan 17, 2013, at 10:26 AM, Caldarale, Charles R wrote: >> From: Narahari 'n' Savitha [mailto:savith...@gmail.com] >> Subject: Re: common vs system vs shared class loaders > >> Sorry Dan but if I do what you are suggesting I will end up in redundant >> jars all over the place and I dont want t

RE: common vs system vs shared class loaders

2013-01-17 Thread Caldarale, Charles R
> From: Narahari 'n' Savitha [mailto:savith...@gmail.com] > Subject: Re: common vs system vs shared class loaders > Sorry Dan but if I do what you are suggesting I will end up in redundant > jars all over the place and I dont want to do that. That's an issue easily handled by a deployment script

Re: common vs system vs shared class loaders

2013-01-17 Thread Narahari 'n' Savitha
Sorry Dan but if I do what you are suggesting I will end up in redundant jars all over the place and I dont want to do that. Any other thoughts ? On Thu, Jan 17, 2013 at 9:54 AM, Daniel Mikusa wrote: > On Jan 17, 2013, at 9:20 AM, Narahari 'n' Savitha wrote: > > > Friends: > > > > Thank you for

Re: common vs system vs shared class loaders

2013-01-17 Thread Daniel Mikusa
On Jan 17, 2013, at 9:20 AM, Narahari 'n' Savitha wrote: > Friends: > > Thank you for your time. > > Here is the entry for the catalina.policy file > > > > common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar > > server.loader= > > sh

Jasper compiler for included jsp

2013-01-17 Thread Adrien RUFFIE
Hello all I have following pages : displayPerson.jsp and displaySocialNetwork.jsp my first displayPerson.jsp include the second by following tag: <%@include file="./displaySocialNetwork.jsp"%> In the first page (displayPerson.jsp) following variable is declared: <% String id = person.getId(); %>

Re: URLStreamHandlerFactory

2013-01-17 Thread Mark Thomas
On 17/01/2013 14:02, e e wrote: > Can anyone please provide me this information please. Sorry for being > persistent!! > > I am still not clear why a URLStreamHandlerFactory is required for JNDI!!! It isn't. > I thought Context.lookup() is what the web-apps will do! They do. > Why would th

Re: URLStreamHandlerFactory

2013-01-17 Thread e e
Can anyone please provide me this information please. Sorry for being persistent!! I am still not clear why a URLStreamHandlerFactory is required for JNDI!!! I thought Context.lookup() is what the web-apps will do! Why would the web-apps want to use a new URL("jndi://"); Where/why does tom

RE: BufferOverflowException in AjpNioProcessor

2013-01-17 Thread Konstantin Preißer
Hi, > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Thursday, January 17, 2013 1:11 PM > > On 17/01/2013 11:07, Steve Mactaggart wrote: > > Hi All, > > > > I have been hunting a BufferOverflowException on our production system for > > the last while, and initial

Re: BufferOverflowException in AjpNioProcessor

2013-01-17 Thread Mark Thomas
On 17/01/2013 11:07, Steve Mactaggart wrote: > Hi All, > > I have been hunting a BufferOverflowException on our production system for > the last while, and initially thought this was resolved by issue 53119, we > have subsequently upgraded to 7.0.32 and have still seen the issues. > > Reading thr

BufferOverflowException in AjpNioProcessor

2013-01-17 Thread Steve Mactaggart
Hi All, I have been hunting a BufferOverflowException on our production system for the last while, and initially thought this was resolved by issue 53119, we have subsequently upgraded to 7.0.32 and have still seen the issues. Reading through the mailing list archive it seems I am not the only on

Re: NIO connector issue: SEVERE: Error processing request

2013-01-17 Thread Brett Delle Grazie
On 16 January 2013 22:52, Kevin Priebe wrote: > Thanks for the info. We made some changes to the linux TCP settings last > night and haven't noticed the issue yet today, so are hoping that does the > trick. We won't know for sure until there are several days without issues. > If it continues, w

Re: Can not understand how maxThreads of Connectors works

2013-01-17 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hermes, On 1/16/13 3:07 PM, Hermes Flying wrote: I believe acceptCount can not work with value 0 because if I am not wrong, the acceptCount is the value passed as backlog in the ServerSocket constructor. According to j