RE: jasper jsp precompilation error

2005-09-07 Thread Ramnish Kalsi
This method was added in Servlet API version 2.3. Can you check if you are using that version ? Have a look at whats in your classpath at JSP precompilation time !!! -Original Message- From: Aaron Phillips [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 23:27 To: tomcat-user

jasper jsp precompilation error

2005-09-06 Thread Aaron Phillips
Hi I am trying to do JSP precompilation as described at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html. I can run the application fine if I do not precompile, but when I do attempt to precompile the JSP, I get the message: BUILD FAILED /home/aaron/projects/cdquery/build.xml

AW: JSP Precompilation

2005-08-18 Thread Bernhard Slominski
Maybe there are a few classfiles missing, which are only used with these two jsps. Bernhard -Ursprüngliche Nachricht- Von: Ramnish Kalsi [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. August 2005 20:52 An: 'Tomcat Users List' Betreff: JSP Precompilation I am trying to use

JSP Precompilation

2005-08-17 Thread Ramnish Kalsi
I am trying to use jasper2 to pre-compile the JSPs as part of build process. The compiler is complaining with the message: ERROR - the file 'blah/blah/jsp' generated the following general exception: java.lang.NullPointerException' After spending some time, i realized that the jsp files which had

JSP precompilation, jspc, NullPointerException

2005-04-12 Thread Bernhard Slominski
Hi, I try to get the precompilation working with tomcat 5.5.7 under Windows NT. I use the following target: target name=jspc taskdef classname=org.apache.jasper.JspC name=jasper2 classpath id=jspc.classpath pathelement

RE: Why doesn't JSP precompilation solve this problem?

2005-03-13 Thread Frank Burns
dosher [mailto:[EMAIL PROTECTED] Sent: 13 March 2005 00:03 To: Tomcat Users List Subject: Re: Why doesn't JSP precompilation solve this problem? When I deploy the application, and I newly visit each page, all of the text is displayed but the other visual elements (such as font-sizes, table

Re: Why doesn't JSP precompilation solve this problem?

2005-03-13 Thread Tim Funk
Sounds odd. For debugging - try using Mozilla (or Firefox). For Mozilla there is a utility for viewing the header sent and received. Firefox also has one called the webdeveloper toobar which can also do the same. Try loading the css files (or other broken assets) and check the responses being

Why doesn't JSP precompilation solve this problem?

2005-03-12 Thread Frank Burns
I'm using Tomcat v5.0.28 and have built a Struts-based application, using Tiles, to construct the web pages. When I deploy the application, and I newly visit each page, all of the text is displayed but the other visual elements (such as font-sizes, table layouts, colours, and other formatting set

Re: Why doesn't JSP precompilation solve this problem?

2005-03-12 Thread alexander dosher
When I deploy the application, and I newly visit each page, all of the text is displayed but the other visual elements (such as font-sizes, table layouts, colours, and other formatting set by CSS)appear broken. are you using container-managed security? are your .css files in a different

Coding In Paradise: Tomcat JSP Precompilation is SLOW!!

2005-01-07 Thread Kevin A. Burton
compilation. Fun! Why isn't fixing this a huge priority!? http://codinginparadise.org/weblog/2005/01/tomcat-jsp-precompilation-is-slow.html -- Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an invite! Also see irc.freenode.net #rojo if you want to chat. Rojo is Hiring! - http

Re: Coding In Paradise: Tomcat JSP Precompilation is SLOW!!

2005-01-07 Thread Julius Davies
and speech recognition, that are far faster than Tomcat's JSP compilation. Fun! Why isn't fixing this a huge priority!? http://codinginparadise.org/weblog/2005/01/tomcat-jsp-precompilation-is-slow.html - To unsubscribe, e

Re: Coding In Paradise: Tomcat JSP Precompilation is SLOW!!

2005-01-07 Thread Kevin A. Burton
Julius Davies wrote: Why not hit every URL with curl or wget before deploying and include Tomcat's work directory with your deployment? How does that compare for speed? We've already tried that... First off its the same speed... second there are horrible out of memory issues with the

Re: JSP Precompilation with Tomcat 5

2004-08-11 Thread QM
On Tue, Aug 10, 2004 at 11:44:54PM -0400, [EMAIL PROTECTED] wrote: : BUILD FAILED : java.lang.IncompatibleClassChangeError: Implementing class Given the definition of IncompatibleClassChangeError[1], it sounds like you have a rogue JAR or classfile somewhere in the classpath. If you're upgrading

JSP Precompilation with Tomcat 5

2004-08-10 Thread tomcat
I have been trying to resolve a frustration JSP precompilation problem with Tomcat 5. I had everythng working in prior Tomcat releases but ever since the upgrade to 5 I am getting the following error when I try to precompile my JSPs. BUILD FAILED java.lang.IncompatibleClassChangeError

JSP Precompilation in Tomcat 5.0.26

2004-08-09 Thread tomcat
Hello: I am attempting to upgrade from Tomcat 4.0.6 to 5.0.26 (embedded in JBoss 3.2.5). However, following the upgrade, I can no longer seem to precompile my JSPs as I did before. The following build.xml extract worked fine in 4.0.6: jspc srcdir=${srcDir} destdir=${jspDir}

JSP Precompilation using Jasper

2004-02-05 Thread Alpesh Parmar
HI to all, I am using Jasper(Tomcat) for converting the JSP Page to .java files. I have configured my ant build file to add jspc task and providing the necessary attributes. jspc srcdir=jsp destdir=source verbose=9 uriroot=${jboss_home}\server\default\deploy\wsc.ear\wsc.war

JSP Precompilation / JSPC / JSP servlet mapping

2003-07-18 Thread Zach Gatu
Hi, I've set my Tomcat 4.1.24 installation to production mode, i.e. I've set 'development' to false, 'reloading' to true and 'fork' to true in CATALINA_HOME/conf/web.xml. I have some JSPs that are modified from time to time. My questions are: 1a. Why is the package name for java files

Re: JSP Precompilation / JSPC / JSP servlet mapping

2003-07-18 Thread Justin Ruthenbeck
At 09:24 AM 7/18/2003, you wrote: Hi, I've set my Tomcat 4.1.24 installation to production mode, i.e. I've set 'development' to false, 'reloading' to true and 'fork' to true in CATALINA_HOME/conf/web.xml. If you're in production, reloading should be false (you don't want to poll for changed

Re: JSP Precompilation / JSPC / JSP servlet mapping

2003-07-18 Thread Lukas Bradley
Then, the declarations and mappings for the servlets which were generated during the precompilation must be added to the web application deployment descriptor. Insert the ${webapp.path}/WEB-INF/generated_web.xml at the right place inside the ${webapp.path}/WEB-INF/web.xml file. Restart the web

Re: JSP Precompilation / JSPC / JSP servlet mapping

2003-07-18 Thread Justin Ruthenbeck
At 01:46 PM 7/18/2003, you wrote: ...An appropriate token placed in the web application deployment descriptor may also be used to automatically insert the generated servlet declarations and mappings using Ant filtering capabilities. This is actually how all the webapps distributed with Tomcat are

Re: JSP precompilation and including webinc.xml in web.xml

2002-08-13 Thread Kris Schneider
Al, If it's of any use at this point, your setup should work under 4.1. I did something very similar that worked with 4.1.8. Al Tingley wrote: Hello, We are trying to automate the pre-compilation of our JSP files with JspC and the inclusion of the generated webinc.xml file in our

Re: JSP precompilation and including webinc.xml in web.xml

2002-06-05 Thread David M. Karr
Al == Al Tingley [EMAIL PROTECTED] writes: Al Hello, Al We are trying to automate the pre-compilation of our JSP files with JspC and Al the inclusion of the generated webinc.xml file in our application Al web.xml file. We have constructed an application web.xml as shown below.

JSP precompilation and including webinc.xml in web.xml

2002-06-04 Thread Al Tingley
Hello, We are trying to automate the pre-compilation of our JSP files with JspC and the inclusion of the generated webinc.xml file in our application web.xml file. We have constructed an application web.xml as shown below. Both web.xml and webinc.xml are local to the

Re: jsp precompilation

2001-12-04 Thread Denis Balazuc
You might want to look at a mixture between JSPC (Tomcat) and Ant I'm searching a script ( bash-unix and/or bat-windows ) You should then use Ant and create Ant tasks that you need (if you need to write some...) that would : - generate java files from jsp - compile generated java files

Re: jsp precompilation

2001-12-04 Thread Nikola Milutinovic
Laurent Michenaud wrote: Hi, I'm searching a script ( bash-unix and/or bat-windows ) that would : - generate java files from jsp In Tomcat's ./bin dir there is jasper.sh, this is how you invoke it: ${CATALINA_HOME}/bin/jasper.sh jspc MyPage.jsp This will produce MyPage.java -