Re: JSP pre-compile and Apache

2005-06-17 Thread Charl Gerber
I have the precompiled JSP's working with Apache now. Thanks. Apart from the first-time-hit compilation penalty on a normal jsp (as apposed to a precompiled one), why would you choose one option above the other? Standard jsp is easier to do updates if you work in an unpacked war setup - you just

AW: JSP pre-compile and Apache

2005-06-17 Thread Bernhard Slominski
] Gesendet: Freitag, 17. Juni 2005 08:07 An: Tomcat Users List Betreff: Re: JSP pre-compile and Apache I have the precompiled JSP's working with Apache now. Thanks. Apart from the first-time-hit compilation penalty on a normal jsp (as apposed to a precompiled one), why would you choose one

Re: AW: JSP pre-compile and Apache

2005-06-17 Thread Charl Gerber
An: Tomcat Users List Betreff: Re: JSP pre-compile and Apache I have the precompiled JSP's working with Apache now. Thanks. Apart from the first-time-hit compilation penalty on a normal jsp (as apposed to a precompiled one), why would you choose one option above the other

AW: AW: JSP pre-compile and Apache

2005-06-17 Thread Bernhard Slominski
error on the live site. That can't happen with precompliation. -Ursprngliche Nachricht- Von: Charl Gerber [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 17. Juni 2005 10:28 An: Tomcat Users List Betreff: Re: AW: JSP pre-compile and Apache With all due respect, I find that a weak

JSP pre-compile and Apache

2005-06-16 Thread Charl Gerber
I used to precompile my JSP's (which worked great and was a big time saver in testing), but since running Tomcat 4.1.31 together with Apache, all sorts of weird errors occurred. I remember reading somewhere that Apache expected the actual jsp file, not the compiled version. So I reverted back to

Re: JSP pre-compile and Apache

2005-06-16 Thread Tim Funk
Apache doesn't care about the existence of a jsp. There is one exception - default pages when / (or /stuff/) is requested. In that case - apache will look for index.jsp (Assuming that is a default page to be served) and then on seeing the existence of that file - pass the request onto tomcat.

Re: JSP pre-compile and Apache

2005-06-16 Thread Charl Gerber
OK, so it migth be well worth my while to look into the issue again and see if I can get the precompiled JSP's running with Apache. (I originally did this a year ago). Charl --- Tim Funk [EMAIL PROTECTED] wrote: Apache doesn't care about the existence of a jsp. There is one exception -

Re: JSP pre-compile and Apache

2005-06-16 Thread Terence M. Bandoian
Have you granted the site accessClassInPackage runtime permission? -Terence M. Bandoian [EMAIL PROTECTED] I used to precompile my JSP's (which worked great and was a big time saver in testing), but since running Tomcat 4.1.31 together with Apache, all sorts of weird errors occurred. I

Unable to pre-compile JSP with jspC ant task

2005-05-19 Thread Karasek-XID, Nicolas
Hello, I'm trying to precompile jsp pages with Ant before deploying a Web Archive. The ant task I'm using is : !-- definition of jspc task === -- taskdef classname=org.apache.jasper.JspC name=jasper2 classpath path id=jspc.classpath

pre compile and deploy - ?

2003-10-07 Thread Mufaddal Khumri
Hi, I have a web app and am running it under Tomcat 4.1.18. This might be a very common issue that I am facing. Basically the first time a .jsp page gets hit .. it gets compiled into a .class file. This happens for every .jsp file in the webapp. Is there a way that I can tell tomcat to

Re: pre compile and deploy - ?

2003-10-07 Thread Filip Hanik
two ways: 1. compile it into the tomcat work directory (expanded wars only) (this option allows you to change JSPs on the fly) http://cvs.apache.org/~fhanik/precompile.html 2. pre compile it according tomcat docs, see docs (this option precompiles jsps into servlets, and you have define them

RE: pre compile and deploy - ?

2003-10-07 Thread Matt Raible
To: Tomcat Users List Subject: Re: pre compile and deploy - ? two ways: 1. compile it into the tomcat work directory (expanded wars only) (this option allows you to change JSPs on the fly) http://cvs.apache.org/~fhanik/precompile.html 2. pre compile it according tomcat docs, see docs (this option

Re: pre compile and deploy - ?

2003-10-07 Thread Filip Hanik
PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 3:17 PM Subject: RE: pre compile and deploy - ? Awesome Filip - #1 is just what I've been looking for. I'm having a couple of issues getting it working though: 1. I had to add the following on line 16 to get my

RE: pre compile and deploy - ?

2003-10-07 Thread Matt Raible
To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: pre compile and deploy - ? 1. I had to add the following on line 16 to get my JSPs to compile: This line was already in the script? hmm, strange. 2. The move will fail if there are no files. why dont you set teh failonerror attribute on the move

Re: pre compile and deploy - ?

2003-10-07 Thread Filip Hanik
List [EMAIL PROTECTED]; Matt Raible [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 3:46 PM Subject: RE: pre compile and deploy - ? I tried #2 and move todir=${dir-path} failonerror=false didn't help, I still get the same error: do-jsp-compile: [echo] Compile JSP in: C:\tools\jakarta-tomcat

Re: pre compile and deploy - ?

2003-10-07 Thread Mufaddal Khumri
, 2003 3:46 PM Subject: RE: pre compile and deploy - ? I tried #2 and move todir=${dir-path} failonerror=false didn't help, I still get the same error: do-jsp-compile: [echo] Compile JSP in: C:\tools\jakarta-tomcat-4.1.27\webapps\telluride\WEB-INF\src\WEB-INF [echo] dir-path: C:\tools

Re: JSP Pre-compile and Deployment

2003-07-16 Thread Lukas Bradley
You place the class files in /WEB-INF/classes, then hand-code servlet mappings in web.xml pointing from each xxx.jsp name to the corresponding class. This seems pretty convoluted. How does Tomcat handle the mappings? Is there not an automatic way to do this? Lukas

JSP Pre-compile and Deployment

2003-07-12 Thread Lukas Bradley
Double part question: First, when I pre-compile JSPs, what directory are the JSP class files placed? In WEB-INF/jsp or WEB-INF/classes? Second, without the actual JSP on the server, can the files be reached as normally? Will //localhost/myfile.jsp still map correctly to the class in Tomcat

JSP page pre-compile fails with modifier private error

2003-06-10 Thread Jim Coble
I am attempting to precompile the JSP pages for a web application using the instructions found in the Web Application Compilation section at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. When I run the ant tasks as described in that section, the jspc task runs fine but the

pre-compile, class package and Ant

2002-12-03 Thread hacking bear
Hello, I attempt to use Ant1.5's jspc target to precompile my JSP page for Tomcat. I'm able to successfully compile the JSP into classes. but I found the resulting directory tree is different than that of Tomcat's automatic compilation. In the process of investigation, I found a few

Pre compile of jsp

2002-10-14 Thread Ashish Kulkarni
Hi, when ever i modify a jsp, it is compiled first time when it is accessed from web, and this process takes a long time, if i have to precompile this jsp to use in tomcat4.0.4 so even the first time access will be fast how can i do it, can any one provide any info on doing this Ashish

RE: Pre compile of jsp

2002-10-14 Thread Sexton, George
Look at the jspc.sh script in the bin directory. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: 14 October, 2002 8:56 AM To: Tomcat Users List Subject: Pre compile of jsp Hi, when ever i modify a jsp, it is compiled first time when it is accessed from web

RE: Pre compile of jsp

2002-10-14 Thread Ashish Kulkarni
: 14 October, 2002 8:56 AM To: Tomcat Users List Subject: Pre compile of jsp Hi, when ever i modify a jsp, it is compiled first time when it is accessed from web, and this process takes a long time, if i have to precompile this jsp to use in tomcat4.0.4 so even the first time access

Re: How to pre-compile JSP's ?

2002-07-08 Thread Mykola A. Nickishov
John W. Warner [EMAIL PROTECTED] writes: 1) If you use ANT or can use ant... Put the following in the build script. !-- JSPC Precompile -- target name=jspc depends=init java fork=yes classname=org.apache.jasper.JspC arg line=-uriroot /your/Catalina_home/webapps/context -d

How to pre-compile JSP's ?

2002-04-10 Thread Christophe Reynaud
Do you know if there is a simple solution to pre-compile the JSP's ? (And to tell tomcat not to re-compile the JSP's ?) Thanks Jay Gardner wrote: There are definitely memory leaks in javac. This is a problem when jspc compiles your jsp code in the same JVM as the TC server. --Jay Gardner

RE: How to pre-compile JSP's ?

2002-04-10 Thread Jay Gardner
and maybe someone will give us some feedback. Once I get this working, I will gladly write up the process and submit it back to the project as documentation. REPOST: I am trying to pre-compile my jsp using jspc.bat on win2K. The reason I want to do this is so that JSP code can't be changed

RE: How to pre-compile JSP's ?

2002-04-10 Thread John W. Warner
); } } } code above this line -Original Message- From: Christophe Reynaud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 01:35 PM To: Tomcat Users List Subject: How to pre-compile JSP's ? Do you know if there is a simple solution to pre-compile the JSP's ? (And to tell tomcat

RE: How to pre-compile JSP's ?

2002-04-10 Thread John W. Warner
Message- From: Jay Gardner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 02:06 PM To: Tomcat Users List Subject: RE: How to pre-compile JSP's ? There is a tool jspc that come with the TC 4.X server that can be used to create servlet source for you JSPs. These sources can in turn

RE: How to pre-compile JSP's ?

2002-04-10 Thread Sean LeBlanc
]] Sent: Wednesday, April 10, 2002 12:30 PM To: 'Tomcat Users List' Subject: RE: How to pre-compile JSP's ? There are three methods. I like #1, I used #3 up until a while ago. Anyway, here they are. My major criticism of method #3 is that all the machine/port/etc.. settings should either

pre compile

2001-02-22 Thread Scott Walter
Is there a way in tomcat to precompile all my jsp pages? So that as I am navigating to a new page I don't have to wait for it to compile? thanks, scott. = ~~~ Scott May the Force be with you! __ Do You

Re: pre compile

2001-02-22 Thread Scott Sanders
Is there a way in tomcat to precompile all my jsp pages? So that as I am navigating to a new page I don't have to wait for it to compile? I believe that the jspc script does that for you. Check it out in the bin directory... Scott Sanders

Re: pre compile

2001-02-22 Thread Jan Labanowski
Sure... Just visit them once from your browser... Jan On Thu, 22 Feb 2001, Scott Walter wrote: Is there a way in tomcat to precompile all my jsp pages? So that as I am navigating to a new page I don't have to wait for it to compile? thanks, scott. =