Re: JSP won't compile... error contains no info......



maya wrote:
hi,

I've been working on this project for about two weeks now, all of a sudden since last Sunday evening my JSP's won't compile (sometimes what happens is JSP loads fine, but if I reload it I get this error..)
usu when a JSP won't compile it's a syntax error and error-msg says what the syntax error is, but this time error-msg is not giving me any info whatsoever as to why JSP is not compiling:

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)

org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)

ok, not that I got any responses....;) however: problem was that I was running out of memory in my web server.. so I removed a whole bunch of stuff and problem persisted.. so I wrote to them and they said your problem is RAM memory, not disk-space... I never knew you could run out of RAM memory on a web server.. how do you clear RAM memory on a web server? on a home machine you just restart the machine.. they still haven't told me how to clear RAM memory on the server.. I restarted Tomcat but that didn't do it.. if anybody here has any suggestions I would appreciate it.. thank you..


.



Relevant Pages

  • Re: jsp wont compile...
    ... JSPs are first compiled to plain Java servlets. ... The java sources resulting from the JSP processing (and also the ... You can also compile JSPs to Java manually; ... command-line tool for this; supposing PATH and JAVA_HOME are correctly ...
    (comp.lang.java.help)
  • Simple JSP fails!!!
    ... We test on the Windows box, and then upload to the Unix box. ... I tried uploading a simple "Hello World" JSP ... Compile failed; see the compiler error output for details. ...
    (comp.lang.java.programmer)
  • Re: Matlab Compiler - General Program Design Question
    ... I've written a pretty involved program in Matlab that I've compiled with the Matlab compiler, and I have a question about redesigning the program to meet my needs. ... My first idea is to compile the time-intensive pre-computational code into an executable which executes and remains in memory. ... And then compile another executable that somehow communicates with the program that has all the stuff in memory. ... You might consider generating this data offline, saving it to a MAT file and have your 'another executable' just load and it use it as part of the web server. ...
    (comp.soft-sys.matlab)
  • Re: prob while deploying war component in JBOSS
    ... > refer to ... You have to put your EJB classes to the JBoss classpath (in a seperate ... > Is it due to this my JSP is not getting compiled? ... does not compile you would see a Jasper error message. ...
    (comp.lang.java.help)
  • Unprecise error line number on JSP compilation
    ... I am using Tomcat 5.5 and when i compile a jsp i'm facing this ... If the Jsp contains an error in a java script, tomcat doesn't print ...
    (comp.lang.java.programmer)