Re: JSP Precompilation and Servlet 3.0

2010-11-08 Thread Tim Funk
An enhancement bug has been entered for those with the itch. It appears the existing JspC task still writes out 2.3 when it writes a new web.xml. https://issues.apache.org/bugzilla/show_bug.cgi?id=50234 -Tim On 11/8/2010 5:45 AM, Ronald Klop wrote: +1 Precompiled jsp's with annotations in a

Re: JSP Precompilation and Servlet 3.0

2010-11-08 Thread Ronald Klop
@christopherschultz.net] >>> Subject: JSP Precompilation and Servlet 3.0 > >>> Hopefully, this will make JSP precompilation less onerous for >>> users. > >> I don't think the current mechanism is particularly onerous, since >> Tomcat supplies an ant scr

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Tim Funk
developer can ignore it during development. But an admin (or release manager) can ensure that all jsps do compile before release is deployed. Setting up jsp-precompilation is a PITA the first time or 2 but once you get the hang of it, the precompilation step can be part of a standard snipp

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Pid
On 05/11/2010 15:06, Christopher Schultz wrote: > Chuck, > > On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: >>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>> Subject: JSP Precompilation and Servlet 3.0 > >>> Hopefully, this will m

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: JSP Precompilation and Servlet 3.0 > >> Hopefully, this will make JSP precompilation less

RE: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: JSP Precompilation and Servlet 3.0 > Hopefully, this will make JSP precompilation less onerous for users. I don't think the current mechanism is particularly onerous, since Tomcat supplies an ant script

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Mikolaj Rydzewski
. Generate a web.xml fragment and stuff it into my-jsps.jar/WEB-INF/web-fragment.xml Does anyone have any preferences? I suppose it could be an option to the precompiler, or we could even do both (do duplicate mappings conflict?). Hopefully, this will make JSP precompilation less onerous for users

JSP Precompilation and Servlet 3.0

2010-11-05 Thread Christopher Schultz
- - class annotations The current method for JSP precompilation (which I've never used, mind you, so forgive my ignorance if I'm incorrect) is cumbersome: - - run the compiler - - copy the new .class files somewhere - - drop a huge load of junk into web.xml It occurred to me that that

Re: How to speed up tomcat 5.5 jsp precompilation?

2010-06-21 Thread David kerber
On 6/21/2010 7:48 AM, Pid wrote: On 20/06/2010 17:24, shunhao chen wrote: Hi all, I have 2100 jsp files in my system, and I use the following ant script to precompile my jsp files. It takes 10 minutes to complete. 10 minutes is too long for me, because I also need to run class obfusc

Re: How to speed up tomcat 5.5 jsp precompilation?

2010-06-21 Thread Pid
On 20/06/2010 17:24, shunhao chen wrote: > Hi all, > I have 2100 jsp files in my system, and I use the following ant > script to precompile my jsp files. It takes 10 minutes to complete. 10 > minutes is too long for me, because I also need to run class obfuscation, > js/css compressor a

How to speed up tomcat 5.5 jsp precompilation?

2010-06-20 Thread shunhao chen
Hi all, I have 2100 jsp files in my system, and I use the following ant script to precompile my jsp files. It takes 10 minutes to complete. 10 minutes is too long for me, because I also need to run class obfuscation, js/css compressor and test case. It’s any tips for me to speed up the

error with jsp precompilation using tomcat 6.0.14

2008-12-02 Thread Noordeen, Roxy
I am trying to do jsp precompilation using ant 1.7.1 tomcat 6.0.14, jdk 1.5.0.14. Attached is my ant task for pre-compilation. I am getting the attached error message. I even tried jspc, jasper2. I don't understand what is missing in the classpath. Ant

RE: JSP precompilation

2007-07-09 Thread Caldarale, Charles R
> -Original Message- > From: Phi-Long LE [mailto:[EMAIL PROTECTED] > Subject: Re: JSP precompilation > > Probably we gonna keep our previous method to precompile JSPs > unless I find out an efficient and quick method to set it up. Have you looked at the Tomcat doc on

Re: JSP precompilation

2007-07-09 Thread Phi-Long LE
Well... I don't gonna keep in mind the third option... obviously obvious isn't it ? ;-) Probably we gonna keep our previous method to precompile JSPs unless I find out an efficient and quick method to set it up. Le 09/07/2007 15:54, David Delbecq a écrit : You can either precompile (eg using s

AW: JSP precompilation

2007-07-09 Thread Chris Jölly
> -Ursprüngliche Nachricht- > Von: David Delbecq [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 9. Juli 2007 15:54 > An: Tomcat Users List > Betreff: Re: JSP precompilation > > > You can either precompile (eg using specific tomcat ant target) and > include the precompiled file

Re: JSP precompilation

2007-07-09 Thread David Delbecq
You can either precompile (eg using specific tomcat ant target) and include the precompiled files in your .war, add with it the mappings in web.xml for each jsp. (Long and not so easy) Or, you can install in tomcat something like lambda-probe, that has an interface to compile JSP, interface you co

JSP precompilation

2007-07-09 Thread Phi-Long LE
hi there, currently, the project I work on, we deploy our application simply using tar file, now testing tomcat, we would use war file... that's ok for that in a meantime on our current production platform (iplanet) we precompile JSP and create an other tar file... what is then the best p

Re: Recursive Tagfile and JSP Precompilation

2005-12-02 Thread Tim Funk
Please create a working (simple) war file which reproduces the error and submit it to Bugzilla. -Tim Peter L wrote: Thanks Tim but it doesn't appear to be entirely resolved... Long story short: - Tried to precompile using the jbossweb-tomcat55.sar from jboss-4.0.3 - Same problem (I think its

Re: Recursive Tagfile and JSP Precompilation

2005-12-01 Thread Peter L
Thanks Tim but it doesn't appear to be entirely resolved... Long story short: - Tried to precompile using the jbossweb-tomcat55.sar from jboss-4.0.3 - Same problem (I think its Tomcat-5.5.12) - Upgraded jars to Tomcat-5.5.13 - Got an error during compilation of actual tag file (instead of the clie

Re: Recursive Tagfile and JSP Precompilation

2005-12-01 Thread Tim Funk
IIRC - this is fixed in 5.5. I'm not sure if it was fixed with 5.5.12 - but 5.5.13 was just tagged and should be available soon. BUT it hasn't been voted how stable it is yet. (beta, alpha, stable) -Tim Peter L wrote: Hello, I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0) serv

Recursive Tagfile and JSP Precompilation

2005-11-30 Thread Peter L
Hello, I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0) server and everything is cool except I get a ClassNotFoundException when a Recursive Tagfile is encountered [jasper2] SEVERE: ERROR-the file '\WEB-INF\pages\templates\resolveResultsDialog.jsp' generated the following genera

Recursive Tagfile and JSP Precompilation

2005-11-30 Thread Peter L
Hello, I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0) server and everything is cool except I get a ClassNotFoundException when a Recursive Tagfile is encountered [jasper2] SEVERE: ERROR-the file '\WEB-INF\pages\templates\resolveResultsDialog.jsp' generated the following genera

JSP Precompilation vs. JSR-45 Debugging

2005-10-27 Thread Jess Holle
I have noticed that when I use an Ant script based on that documented in the Tomcat docs to precompile all my JSPs the resulting JSPs do not support source-level (JSR-45) debugging. I thought I was doing something wrong so I looked through the JspC source code and I can't see how I could feed