Re: precompile JSPs failure issue - Tomcat community

2018-11-06 Thread Christopher Schultz
l/threads-max - -chris > -Original Message- From: Christopher Schultz > Sent: 02 November 2018 06:48 PM To: > users@tomcat.apache.org Subject: Re: precompile JSPs failure issue > - Tomcat community > > Rainer, > > On 11/2/18 06:20, Rainer Jung wrote: >> You can

Re: precompile JSPs failure issue - Tomcat community

2018-11-06 Thread Rainer Jung
utput of "ulimit -u" and "ulimit -u -h") and I would also *reduce* the heap size a lot. Regards, Rainer Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Christopher Schultz Sent: 02 November 2018 06:48 PM To: users@tomcat.apache.org Subjec

RE: precompile JSPs failure issue - Tomcat community

2018-11-06 Thread Rathore, Rajendra
jspc command in single thread model like 8.5.32 tomcat version. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Christopher Schultz Sent: 02 November 2018 06:48 PM To: users@tomcat.apache.org Subject: Re: precompile JSPs failure issue - Tomcat community

Re: precompile JSPs failure issue - Tomcat community

2018-11-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 11/2/18 06:20, Rainer Jung wrote: > You can control the number of threads using -threadCount. By > default the number is equals to the number of cores the operating > system show to the JVM. x 2 > You might want to use a smaller number

Re: precompile JSPs failure issue - Tomcat community

2018-11-02 Thread Rainer Jung
- From: Rainer Jung Sent: 02 November 2018 03:50 PM To: Tomcat Users List ; Rathore, Rajendra Subject: Re: precompile JSPs failure issue - Tomcat community Am 02.11.2018 um 10:57 schrieb Rathore, Rajendra: Hi Mark, I tried with tomcat 8.5.33 and face the same issue, I logged a bug also https

RE: precompile JSPs failure issue - Tomcat community

2018-11-02 Thread Rathore, Rajendra
I proceed from here. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Rainer Jung Sent: 02 November 2018 03:50 PM To: Tomcat Users List ; Rathore, Rajendra Subject: Re: precompile JSPs failure issue - Tomcat community Am 02.11.2018 um 10:57 schrieb Rathore

Re: precompile JSPs failure issue - Tomcat community

2018-11-02 Thread Rainer Jung
Message- From: Rathore, Rajendra Sent: 01 November 2018 06:10 PM To: Tomcat Users List Subject: RE: precompile JSPs failure issue - Tomcat community Hi Chao, We already tried it and it still failing. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Guang

RE: precompile JSPs failure issue - Tomcat community

2018-11-02 Thread Rathore, Rajendra
November 2018 06:10 PM To: Tomcat Users List Subject: RE: precompile JSPs failure issue - Tomcat community Hi Chao, We already tried it and it still failing. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Guang Chao Sent: 01 November 2018 06:07 PM To: Tomcat Users

RE: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Rathore, Rajendra
Hi Chao, We already tried it and it still failing. Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Guang Chao Sent: 01 November 2018 06:07 PM To: Tomcat Users List Subject: Re: precompile JSPs failure issue - Tomcat community On Thu, Nov 1, 2018 at 7:13 PM

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Guang Chao
701491 > > -Original Message- > From: Guang Chao > Sent: 01 November 2018 03:41 PM > To: Tomcat Users List > Subject: Re: precompile JSPs failure issue - Tomcat community > > On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas wrote: > > > On 01/11/2018 09:21, Rathor

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Mark Thomas
ou choose to follow is up to you. Mark > Thanks and Regards, > Rajendra Rathore > 9922701491 > > -Original Message- > From: Guang Chao > Sent: 01 November 2018 03:41 PM > To: Tomcat Users List > Subject: Re: precompile JSPs failure issue - Tomcat communit

RE: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Rathore, Rajendra
Hi Mark, I am suspecting the same in 8.5.33 tomcat, do you still won't me to check it on tomcat 8.5.33? Thanks and Regards, Rajendra Rathore 9922701491 -Original Message- From: Guang Chao Sent: 01 November 2018 03:41 PM To: Tomcat Users List Subject: Re: precompile JSPs fa

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Guang Chao
On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas wrote: > On 01/11/2018 09:21, Rathore, Rajendra wrote: > > Hi Team, > > > > > > > > We have precompileJSPs tests that include compilation of around 4000 jsp > > files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32* we are > > facing an *Error:*/

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Mark Thomas
On 01/11/2018 09:21, Rathore, Rajendra wrote: > Hi Team, > >   > > We have precompileJSPs tests that include compilation of around 4000 jsp > files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32* we are > facing an *Error:*/java.lang.OutOfMemoryError: unable to create new > native thread

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-21 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, On 3/17/12 7:16 PM, Terence M. Bandoian wrote: On 1:59 PM, Christopher Schultz wrote: I've been there. I was on a consulting gig once where we replaced about 70% of the code of the product with 3rd-

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, On 3/17/12 7:16 PM, Terence M. Bandoian wrote: > On 1:59 PM, Christopher Schultz wrote: >> >> I've been there. I was on a consulting gig once where we >> replaced about 70% of the code of the product with 3rd-party OSS >> libraries that had

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-17 Thread Terence M. Bandoian
On 1:59 PM, Christopher Schultz wrote: I've been there. I was on a consulting gig once where we replaced about 70% of the code of the product with 3rd-party OSS libraries that had been written after the inception of the project, but the original developers never had the inclination to switch. T

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-17 Thread Terence M. Bandoian
PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? On 1:59 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000 lines of pure Java). We have decided it is about time we ship our application

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
ultz.net] Sent: Thursday, March 15, 2012 2:42 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 2:29 PM, Nick Williams wrote: >> It seems reasonable that Jasper could be separated from the c

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, On 3/15/12 3:41 PM, Christopher Schultz wrote: > Gotcha. Please tell me you are using the Tomcat precompiler and > not just deploying the webapp and trying to hit all of the URLs. > Tomcat has a precompiler for (I believe) all currently-supported

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 2:29 PM, Nick Williams wrote: >> It seems reasonable that Jasper could be separated from the core >> of Tomcat. > > We may consider attempting integrating Jasper into our product at a > later date to see if that works. Not in this ve

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
and had ported (read: not re-written) the project from Pascal to C++/MFC to Java/Java EE over the course of 20 years.) N -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, March 15, 2012 1:14 PM To: Tomcat Users List Subject: Re: Precompile

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/15/12 1:21 PM, Nick Williams wrote: >> Hmm... do you have complete control over the version of Tomcat >> that your clients use? > > Unfortunately, we do not have complete control over this. This doesn't look good for you :( >> The JSP co

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Tuesday, March 13, 2012 1:46 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? On 1:59 PM, Nick Williams wrote: > We maintain a very large application, with somewhere around 2,000 JSP > files (in addit

RE: Precompile JSPs, avoid thousands of servlets?

2012-03-15 Thread Nick Williams
[mailto:ch...@christopherschultz.net] Sent: Monday, March 12, 2012 9:48 PM To: Tomcat Users List Subject: Re: Precompile JSPs, avoid thousands of servlets? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/12/12 4:43 PM, Nick Williams wrote: > We maintain a very large application, w

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Rob Koberg
>> If you pass an empty web.xml to be updated by precompile tasks, it >> should not be hard to convert it into web-fragment.xml, using an >> XSLT transform or just regexp replacements. > > I had considered using 'cat' :) You could also use XML entities and/or XInclude (don't know if you would need

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 3/14/12 8:49 AM, Konstantin Kolinko wrote: > 2012/3/13 Nick Williams : >> >> Our second challenge is the 11,500-line web.xml file that >> results from this process. I understand that Ant does a lot of >> the hard work for me, but a we

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-14 Thread Konstantin Kolinko
2012/3/13 Nick Williams : > > Our second  challenge is the 11,500-line web.xml file that results from > this process. I understand that Ant does a lot of the hard work for me, but > a web.xml file this large bothers me, even if I don’t have to look at it > during every day development. What’s more,

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-13 Thread Terence M. Bandoian
On 1:59 PM, Nick Williams wrote: We maintain a very large application, with somewhere around 2,000 JSP files (in addition to ~250,000 lines of pure Java). We have decided it is about time we ship our application with precompiled JSP files. The Ant tasks from Tomcat to support this effort have

Re: Precompile JSPs, avoid thousands of servlets?

2012-03-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 3/12/12 4:43 PM, Nick Williams wrote: > We maintain a very large application, with somewhere around 2,000 > JSP files (in addition to ~250,000 lines of pure Java). We have > decided it is about time we ship our application with precompiled >

Re: Precompile JSPs

2007-10-11 Thread Martin Gainty
> To: "Tomcat Users List" Sent: Thursday, October 11, 2007 11:28 AM Subject: Re: Precompile JSPs > Filip, > > That works cool. > Thank you for the reply. > > I do not know why the one specified in tomcat docs does not work. All I know > is that

Re: Precompile JSPs

2007-10-11 Thread Arun
Classpath with ant has always been sticky. This is what I compiled from the docs. My CATALINA_HOME enviroment variable points correctly . I had done an echo ${CATALINA_HOME} and it worked. I had been tryi

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: > Filip, > > That works cool. > Thank you for the reply. > > I do not know why the one specified in tomcat docs does not work. All I know > is that it throws an error telling me that it cant find > org.apache.jasper.runtime package. But that is there in the lib directory of > tomcat's

Re: Precompile JSPs

2007-10-11 Thread Filip Hanik - Dev Lists
yes, it was a long time ago since I looked into the other way of doing it. Since compiling JSPs into servlets defeats the purpose of reloadable JSPs Filip Arun wrote: Filip, That works cool. Thank you for the reply. I do not know why the one specified in tomcat docs does not work. All I kno

Re: Precompile JSPs

2007-10-11 Thread Arun
Filip, That works cool. Thank you for the reply. I do not know why the one specified in tomcat docs does not work. All I know is that it throws an error telling me that it cant find org.apache.jasper.runtime package. But that is there in the lib directory of tomcat's home in jasper.jar. All I kno

Re: Precompile JSPs

2007-10-11 Thread Filip Hanik - Dev Lists
here is a script that precompiles just like Tomcat runtime, meaning, you still keep the ability to reload your JSPs instead of converting them to servlets http://people.apache.org/~fhanik/tomcat-6-precompile.xml Filip Arun wrote: Hi, I want to precompile jsps for apache tomcat 6. Which ant t

Re: Precompile JSPs

2007-10-11 Thread Phi-Long LE
You can precompile jsp using wget and jsp_precompile=true for example I use this: #!/usr/bin/posix/sh for aJSP in $(find $HELIOS -name "*.jsp" | sed -e "s:$HELIOS::g") ; do wget http://vhpuw51:$aJSP?jsp_precompile=true done Le 11/10/2007 15:26, Pid a écrit : Arun wrote: jspc:

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: > Ok, I fixed that up and I have an error coming from the ant script that I > copied from tomcat docs. The error said, there is no such directory called > /usr/local/bin/apache-tomcat-6.0.13/common/lib. Correct, Tomcat 6 uses doesn't use 3 different directories (common, server, shared

Re: Precompile JSPs

2007-10-11 Thread Arun
The build output I got after fixing, if that helps. jspc: precompile-jsps: [javac] Compiling 370 source files to /home/build/mobchannel/mobchannelWEB/WebRoot/WEB-INF/classes [javac] /home/build/mobchannel/mobchannelWEB/WebRoot/WEB-INF/src/org/apache/jsp/home_jsp.java:7: package org.apache

Re: Precompile JSPs

2007-10-11 Thread Arun
Ok, I fixed that up and I have an error coming from the ant script that I copied from tomcat docs. The error said, there is no such directory called /usr/local/bin/apache-tomcat-6.0.13/common/lib. There is no folder called common/lib in my tomcat 6 home directory. When I commented that line from t

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: > jspc: > What is wrong? You're sending me twice as many mails as you need to, for a start. Reply-to-all is unnecessary - just reply to the list please. The error message tells you what's wrong, on line 10. "navigation.jsp(10,20) attribute for %>" is not properly terminated " Do

Re: Precompile JSPs

2007-10-11 Thread Arun
David, My webapp runs and works correctly. I just want to precompile jsps to increase initial performance. Is there anyway for Jasper to skip these errors, and continue compilation. On 10/11/07, David Smith <[EMAIL PROTECTED]> wrote: > > Why are you mixing el expressions with <%= ... %> expressio

Re: Precompile JSPs

2007-10-11 Thread David Smith
Why are you mixing el expressions with <%= ... %> expressions? I'd replace <%=request.getContextPath()%> with ${request.contextPath}. --David Arun wrote: jspc: BUILD FAILED /home/build/mobchannel/mobchannelWEB/build.xml:199: org.apache.jasper.JasperException: file:/home/build/mobchannel/mob

Re: Precompile JSPs

2007-10-11 Thread Arun
jspc: BUILD FAILED /home/build/mobchannel/mobchannelWEB/build.xml:199: org.apache.jasper.JasperException: file:/home/build/mobchannel/mobchannelWEB/WebRoot/jsp/toolbox/navigation.jsp(10,20) attribute for %>" is not properly terminated I got this error on using the jspc task. I have copied the fro

Re: Precompile JSPs

2007-10-11 Thread Arun
Ok, Thanks On 10/11/07, Pid <[EMAIL PROTECTED]> wrote: > > Arun wrote: > > Hi, > > > > I want to precompile jsps for apache tomcat 6. Which ant task should i > use . > > Is there a simple example for that. > > I am using a build.xml exported from MyEclipse. Where would the JSP > classes > > go in

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: > Hi, > > I want to precompile jsps for apache tomcat 6. Which ant task should i use . > Is there a simple example for that. > I am using a build.xml exported from MyEclipse. Where would the JSP classes > go in WEB-INF/classes. What structure does it have. > > http://tomcat.apache.o