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
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
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
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
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
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
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
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
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
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
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
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
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
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
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}
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
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
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
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
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
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
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.
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
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
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
-
25 matches
Mail list logo