tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos" <li...@lpis.com>
Subject Re: precompilations
Date Fri, 24 Nov 2000 09:01:36 GMT
if i make it persits the problem:
Exception in thread "main" java.lang.NoClassDefFoundError:
 org/apache/jasper/JspC
what can i make?


----- Original Message -----
From: "Ramesh Kumar . T" <rameshkumar@india.adventnet.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, November 24, 2000 6:12 AM
Subject: Re: precompilations


> Carlos wrote:
>
> > if i execute the jspc.sh (./jspc.sh) the system says me:
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/jasper/JspC
> > how can i well?
>
> Go to the tomcat's home directory
> and execute
> ./bin/JspC.sh  <fileName>
>
> Ex: ./bin.JspC.sh ./webapps/examples/jsp/snp/snoop.jsp
>
>
> >
> > thanks
> > ----- Original Message -----
> > From: "Ramesh Kumar . T" <rameshkumar@india.adventnet.com>
> > To: <tomcat-user@jakarta.apache.org>
> > Sent: Thursday, November 23, 2000 2:34 PM
> > Subject: Re: precompilations
> >
> > > "Michael H. La Budde" wrote:
> > >
> > > > At 11/23/2000 09:29 AM +0100, you wrote:
> > > > >Is Possible the tomcat precompile the pages?
> > >
> > > Use the jspc.sh/bat file to precompile the jsp pages
> > > it comes by default with tomcat
> > > That will make things easier
> > >
> > > >
> > > > >there is any precompilation mode?
> > > > >there is anything to precompile?
> > > >
> > > > Here are two possibilities for precompiling all your jsp pages so
that
> > > > users won't have to incur that overhead:
> > > >
> > > > 1) Take a look at conf/test-tomcat.xml in your tomcat distribution.
This
> > is
> > > > an ant build file which is used to exercize the test context. You
should
> > be
> > > > able to easily clone this to execute your own...
> > > >
> > > > 2) Download Apache JMeter and put together the necessary test
scenarios
> > to
> > > > run your app (thus, once again, precompiling your pages).
> > > >
> > > > >what means <load-servlet-on-startup> ?
> > > >
> > > > Just what it says. Your servlet will be loaded (and it's init()
method
> > > > called) upon tomcat startup. The higher the number the sooner it
will be
> > > > loaded. I'm not sure what the valid range of numbers is, I think
I've
> > seen
> > > > anything between -21467 and 36535....
> > > >
> > > > >thanks
> > > > >Carlos
> > > >
> > > > Hope this helps,
> > > >
> > > > Mike
> > >
> > >
>
>


Mime
View raw message