Thanks Martin,
Solved, i pointed the different folder, so it took my entire webapps instead
of my jsp content alone...

*
"Many of lifes failure are people who did not realize how close they were to
success when they gave up."
-Thomas Edison
*

On Thu, May 28, 2009 at 7:11 PM, Martin Gainty <mgai...@hotmail.com> wrote:

>
> the example jar is catalina-root.jar whose contents consist of:
> Index.list whose contents consist of
> JarIndex-Version: 1.0
>
> catalina-root.jar
> org
> org/apache
> org/apache/jsp
>
> Manifest.mf
> NameOfJsp_jsp.class (packaged as org\apache\jsp\NameOfJsp_jsp.class)
>
> place your compiled class from *.jsp into
> web-inf/classes/org/apache/jsp/*.*
> and retry
>
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > From: arvindw...@gmail.com
> > Date: Thu, 28 May 2009 15:57:31 +0530
> > Subject: Re: Compile JSP before the first request arrives
> > To: users@tomcat.apache.org
> >
> > Hi Ghufran,
> > The problem is not in that,
> > problem is in
> > http://www.rgagnon.com/javadetails/java-0414.html that u provide in
> previous
> > post
> >
> > if i run that jsp file i am getting that stack trace...
> >
> > I am in tomcat 5.5
> >
> > -Arvind S
> >
> > *
> > "Many of lifes failure are people who did not realize how close they were
> to
> > success when they gave up."
> > -Thomas Edison*
> >
> >
> > On Thu, May 28, 2009 at 4:54 PM, Ghufran <ghufra...@vopium.com> wrote:
> >
> > > Hi
> > >
> > >
> > >
> > > If your jsp can be successfully invoked at this url
> > >
> > > http://hostname.com/mywebapp/mypage.jsp
> > >
> > >
> > >
> > >
> > >
> > > Then it should also get pre compiled by invoking this url
> > >
> > >  <http://hostname.com/mywebapp/mypage.jsp?jsp_precompile>
> > > http://hostname.com/mywebapp/mypage.jsp?jsp_precompile
> > >
> > > or try this
> > >
> > > http://hostname.com/mywebapp/mypage.jsp?jsp_precompile=true
> > >
> > >
> > >
> > >
> > >
> > > Regards
> > >
> > > Ghufran
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: S Arvind [mailto:arvindw...@gmail.com]
> > > Sent: Thursday, May 28, 2009 3:03 PM
> > > To: Tomcat Users List
> > > Subject: Re: Compile JSP before the first request arrives
> > >
> > >
> > >
> > > Hi Ghufran,
> > >
> > >
> > >
> > > if i ran the below mentioned jsp file to compile all jsp i am getting
> error
> > >
> > > with this stacktrace
> > >
> > > java.lang.ClassNotFoundException: org.apache.jsp.jsp.precompile_jsp
> > >
> > >        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > >
> > >        at java.security.AccessController.doPrivileged(Native Method)
> > >
> > >        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > >
> > >        at
> > >
> > > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
> > >
> > >        at
> > >
> > > org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:597)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.jav
> > > a:137)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> > > 14)
> > >
> > >        at
> > >
> > >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
> > >
> > >        at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> > >
> > >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > FilterChain.java:269)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > ain.java:188)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> > > va:213)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> > > va:172)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
> > > )
> > >
> > >        at
> > >
> > >
> > >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
> > > )
> > >
> > >        at
> > >
> > >
> > >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > > :108)
> > >
> > >        at
> > >
> > >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
> > >
> > >        at
> > >
> > >
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> > > onnection(Http11BaseProtocol.java:665)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> > > a:528)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> > > rkerThread.java:81)
> > >
> > >        at
> > >
> > >
> > >
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> > > a:689)
> > >
> > >        at java.lang.Thread.run(Thread.java:619)
> > >
> > >
> > >
> > >
> > >
> > > but the java class and java file is available in the correct
> location...
> > >
> > > i am working in linux with tomcat running in root user. so the java and
> > >
> > > class file will be also in root rights.. is there any relation between
> > >
> > > these?
> > >
> > >
> > >
> > > -Arvind S
> > >
> > >
> > >
> > > *
> > >
> > > "Many of lifes failure are people who did not realize how close they
> were
> > > to
> > >
> > > success when they gave up."
> > >
> > > -Thomas Edison*
> > >
> > >
> > >
> > >
> > >
> > > On Wed, May 27, 2009 at 8:17 PM, Ghufran <ghufra...@vopium.com> wrote:
> > >
> > >
> > >
> > > > Try this
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > Some JSP containers (as per section 8.4.2 of the JSP 1.2
> specification)
> > >
> > > > support the capability of precompiling a JSP page.
> > >
> > > >
> > >
> > > > To precompile a JSP page, access the page with a query string of
> > >
> > > > ?jsp_precompile
> > >
> > > >
> > >
> > > > http://hostname.com/mywebapp/mypage.jsp?jsp_precompile
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > see more details at
> http://www.rgagnon.com/javadetails/java-0414.html
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > Regards
> > >
> > > >
> > >
> > > > Ghufran
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > -----Original Message-----
> > >
> > > > From: S Arvind [mailto:arvindw...@gmail.com]
> > >
> > > > Sent: Wednesday, May 27, 2009 6:31 PM
> > >
> > > > To: Tomcat Users List
> > >
> > > > Subject: Re: Compile JSP before the first request arrives
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > can you give me the good docs about this..
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > -Arvind S
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > *
> > >
> > > >
> > >
> > > > "Many of lifes failure are people who did not realize how close they
> were
> > >
> > > > to
> > >
> > > >
> > >
> > > > success when they gave up."
> > >
> > > >
> > >
> > > > -Thomas Edison
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > *
> > >
> > > >
> > >
> > > > On Wed, May 27, 2009 at 6:23 PM, David Smith <d...@cornell.edu>
> wrote:
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > > > S Arvind wrote:
> > >
> > > >
> > >
> > > > > > Is there any way to pre-compile all the jsp files, when we are
> > >
> > > > deploying
> > >
> > > >
> > >
> > > > > in
> > >
> > > >
> > >
> > > > > > the production environment?
> > >
> > > >
> > >
> > > > > >
> > >
> > > >
> > >
> > > > > > -Arvind S
> > >
> > > >
> > >
> > > > > >
> > >
> > > >
> > >
> > > > > > *
> > >
> > > >
> > >
> > > > > >
> > >
> > > >
> > >
> > > > > > "Many of lifes failure are people who did not realize how close
> they
> > >
> > > > were
> > >
> > > >
> > >
> > > > > to
> > >
> > > >
> > >
> > > > > > success when they gave up."
> > >
> > > >
> > >
> > > > > > -Thomas Edison*
> > >
> > > >
> > >
> > > > > >
> > >
> > > >
> > >
> > > > > >
> > >
> > > >
> > >
> > > > > Yes ... depends on your build environment.  Most offer some means
> of
> > >
> > > >
> > >
> > > > > pre-compiling the jsps to servlets.
> > >
> > > >
> > >
> > > > >
> > >
> > > >
> > >
> > > > > --David
> > >
> > > >
> > >
> > > > >
> > >
> > > >
> > >
> > > > >
> ---------------------------------------------------------------------
> > >
> > > >
> > >
> > > > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > >
> > > >
> > >
> > > > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > >
> > > >
> > >
> > > > >
> > >
> > > >
> > >
> > > > >
> > >
> > > >
> > >
> > > > No virus found in this incoming message.
> > >
> > > >
> > >
> > > > Checked by AVG - www.avg.com
> > >
> > > >
> > >
> > > > Version: 8.5.339 / Virus Database: 270.12.39/2134 - Release Date:
> > > 05/25/09
> > >
> > > > 18:14:00
> > >
> > > >
> > >
> > > >
> > >
> > > No virus found in this incoming message.
> > >
> > > Checked by AVG - www.avg.com
> > >
> > > Version: 8.5.339 / Virus Database: 270.12.43/2138 - Release Date:
> 05/27/09
> > > 18:21:00
> > >
> > >
>
> _________________________________________________________________
> Hotmail® goes with you.
>
> http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009
>

Reply via email to