Some jsps will not compile FC5+Tomcat

Hello,
I cannot compile SOME jsp pages for some reason.
I have something like this:
http://www.mydomain.net:8080/WEB/index.jsp - this comiles
http://www.mydomain.net:8080/WEB/BLAH/BLAH/index.jsp - will not compile where BLAH is a bunch of different folders.
I have it all working on Win XP. Now I am trying to make it work on FC5.
I took the page that can compile and moved it to BLAH/BLAH folder and it does not compile now!
OS: Fedora Core 5 (if it matters)
What is going on? Any ideas?
Thanks.

sure, here it is
Thanks for help.
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:342)
     org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:248)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Compile failed; see the compiler error output for details.
     org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:944)
     org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
     org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:216)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Similar Messages

  • Simple JSP will not compile

    I created a new project - No template - All Technologies, and can not get a JSP shell to compile. It's generating Error: java.lang.NullPointerException. I then added the JSP Runtime, Servlet Runtime, J2EE and Oracle 9iAS and I'm still getting the message. What is the key to make this work?
    It was working earlier today on another project until I removed the model from the application workspace. I tried a new project, but am getting the same results. I can compile a JSP on an old project, but I don't know what the difference is.

    I added a simple output statement. The error is the same.
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="java.io.*" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <%
    out.println("Test");
    %>
    </body>
    </html>

  • Problem with shuffle() code, will not compile

    Hi,
    Below is some code designed to shuffle a set of integers in the file editET.txt. Basically:
    5
    2
    4 say:
    just shuffle these randomly around, however, the code will not compile, any advice or solutions would be great
    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    if (args.length<2){
    System.out.println("Usage: java Shuffle3 <input file> <output file>");
    System.exit(-1);
    ShuffleStringList sl = new ShuffleStringList(args[0]);
    sl.shuffle();
    sl.save(args[1]);
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String "editET.txt") {
         super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String "Shuffledok"){
         PrintWriter out = null;
         try {
         out = new PrintWriter(new FileOutputStream("Shuffledok"), true);
    for (int i=0; i < size(); i++){
              out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
         if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
         super();
    public StringList(String "editET.txt") {
         this();
    String line = null;
    BufferedReader in = null;
         try {
         in = new BufferedReader(new FileReader("editET.txt"));
         while((line = in.readLine()) !=null) {
              add(line);
    catch(IOException e){
         e.printStackTrace();
    public void save (String "Shuffledok") {
    FileWriter out = null;
    try {
         out = new FileWriter("Shuffledok");
         for(int i =0; i < size(); i++){
         out.write((String)get(i));
    catch(IOException e){
         e.printStackTrace();
    finally {
         try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);

    import java.io.*;
    import java.util.*;
    public class Shuffle3 {
    public static void main (String [] args) {
    ShuffleStringList sl = new ShuffleStringList("editET.txt");
    sl.shuffle();
    sl.save("Shuffledok");
    class ShuffleStringList extends StringList {
    public ShuffleStringList(String fileName) {
    super(fileName);
    public void shuffle() {
    Collections.shuffle(this);
    public void save (String target){
    PrintWriter out = null;
    try {
    out = new PrintWriter(new FileOutputStream(target), true);
    for (int i=0; i < size(); i++){
    out.println((String)get(i));
    catch(IOException e) {
    e.printStackTrace();
    finally {
    if(out !=null) {out.close();}
    class StringList extends ArrayList{
    public StringList(){
    super();
    public StringList(String fileName) {
    this();
    String line = null;
    BufferedReader in = null;
    try {
    in = new BufferedReader(new FileReader(fileName));
    while((line = in.readLine()) !=null) {
    add(line);
    catch(IOException e){
    e.printStackTrace();
    public void save (String target) {
    FileWriter out = null;
    try {
    out = new FileWriter(target);
    for(int i =0; i < size(); i++){
    out.write((String)get(i));
    catch(IOException e){
    e.printStackTrace();
    finally {
    try{out.close();} catch (IOException e) {e.printStackTrace();}
    public void shuffle() {
    Collections.shuffle(this);
    }

  • PHP 4 will not compile in PHP5 on OSX Server 10.5.5  Mac Mini

    I have been using a commercial server which does not give access to php.ini but bought a Mac Mini and OSX Server 10.5.5. My old PHP 4 program will not compile in PHP5. It gives weird compilation errors to do with curly brackets but as soon as I alter one bracket it jumps to another similar error somewhere else in the program. I think it may require tweeking the php.ini or httpd.conf files which I have opened using Terminal but I don't know what might need to be changed. I expected this to be a turn-key system ready to go. I knew there would be changed required to migrate from PHP4 to PHP 5 and read the official PHP site, searched many forums, and google searches, called AppleCare but none knows what to do. I used an editor and there are 276 open brackets and 276 close brackets. If you have made the same migration without difficulty please let me know. Maybe I just need to start again!

    evan-e-sent wrote:
    Well, I don't think the code is too messy except for the globals I use.
    It is. The point of this function is beyond elusive given the number of side effects it seems to induce. Everything in it could be reduced to one or two lines, but odds are good it shouldn't even exist in the first place.
    I just use the same set of globals for all functions so that these variables are readily available everywhere in the program without having to think about it.
    That's a very common beginner tactic which is unfortunately very prevalent in publicly distributed PHP projects due to the fact that many of them are written by beginners. I'd highly recommend you start thinking about it if you want to get anywhere.
    They are all constants once they have been set initially.
    http://us2.php.net/manual/en/function.define.php
    Like $query is set only once when the program picks it up from a $GET statement.
    And I'll bet you're not sanitizing that query string at all before passing it along to mySQL.
    This leaves two questions. Do you think I should treat every function as a separate file and have the mainline bring them in as "included code". There are 126 functions.
    Refactoring should improve the organization, performance and readability of your code according to some logical criteria. Simply putting each function in its own file accomplishes none of these things.
    (I have also written a 6000 line program as a MySQL data processor to make it easier for my wife to manipulate the data in dozens of tables without having to keep track of all the unique keys. So this will be quite a big job.) If so I would appreciate a quick tip about how to do that in PHP. Other pre-processing I do with Applescript.
    Why didn't you just install phpMyAdmin?
    Second, goes back to my initial question. This parsing problem only appeared after switching to PHP 5.2.2 with MySQL. Could this weird behavior be caused by some setting in the PHP.ini or httpd.conf or my.conf files and if so what would I change. The fact that this has not been suggested on this forum makes me think it is not a config. problem. That in itself is useful information.
    Probably not, but who knows what other nightmares might be lurking in this file. Did you use short tags like <? ?> or something?

  • Since upgrading to Firefox 27.0 some webpages will not load when I click on them. It gives me a message saying that Firefox can't find the server.

    Since upgrading to Firefox 27.0 some webpages will not load when I click on them. It gives me a message saying that Firefox can't find the server. I have to click the link several time before it will load and sometimes when they do load it does not show the page right. It is like the HTML is messed up or something. I have tried everything I can think of. I started in safe mode, still did it., I removed add-ons, still did it., I reset Firefox and still did it., I completely uninstalled Firefox and re-installed Firefox and it still does it. I have tried Malware Bytes Anti-Malware scans and Avast boot-time scans and found no malware or viruses. I have found that those websites open the first time with no problems on my IE9 and they used to do so in Firefox 26.0. I'm at my wit's end. The website links are in my bookmarks and are used all the time so they are trusted and my avast is set to allow them. They range from news websites to gun websites and everything I have read says that Mozilla does not filter those unless something has changed recently.

    Try this as a first step;<BR><BR>
    Clear the Cache '''''Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"'''''<BR><BR>
    and<BR><BR>
    Remove Cookies '''''Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"'''''<BR><BR>
    If there is still a problem,
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    While you are in safe mode;
    '''''Firefox Options > Advanced > General'''''. Look for and turn off '''Use Hardware Acceleration'''.

  • Some photos will not sync to my iPod

    SOME PHOTOS WILL NOT COPY /SYNC TO MY IPOD!!

    See:
    iTunes and iPod: Frequently asked questions (FAQ) about syncing photos
    Issues when syncing photos to iPhone or iPod touch
    Is there anthing different abut the photos that do not sync such as source, format, program used etc?

  • HT203180 I have bought several tv seasons from the itunes store. Recently some episodes will not sync with my ipad. The error message is that the file "could not be read or written". Previous episodes of the same series synced successfully.

    I have bought several tv seasons from the itunes store. Recently some episodes will not sync with my ipad. The error message is that the file "could not be read or written". Previous episodes of the same series synced successfully. Also while watching the same episode on my laptop (Mac Book Pro) it freezes.

    I had this same message appear today when i was putting new music on my ipod touch 4th gen. The only difference is that I wasnt using an external drive. I was using the one on my computer. This is the first time i have had this problem

  • PL/SQL spatial query will not compile.

    I have a PL/SQL spatial query that will not compile, but the equivalent SQLPlus query works fine. I.e. (convert decimal degrees to degrees,minutes,seconds)
    Any thoughts much appreciated....
    THIS WORKS in SQLPlus
    select
    decode(rownum,1,decode(sign(b.column_value),-1,'W','E'),2,decode(sign(b.column_v
    alue),-1,'S','N'))&#0124; &#0124;
    to_char(abs(trunc(b.column_value,0)),'999')
    &#0124; &#0124;to_char(abs(trunc((b.column_value - trunc(b.column_value,0)) * 60,0)),'99')
    &#0124; &#0124;to_char(abs(
    (((b.column_value - trunc(b.column_value,0)) * 60) - trunc((b.column_value - tru
    nc(b.column_value,0)) * 60,0)) * 60
    ),'99.99')
    from route_location a, table(a.line.sdo_ordinates) b
    where a.route_adms_id = 13820370
    and record_seq_num = 26
    and rownum < 3
    BUT THIS DOES NOT
    ADMS>create or replace procedure PKG_route_loc_latlong_ins
    2 (iADMS_ID in INTEGER, iRSN in INTEGER,
    3 vcLAT out VARCHAR2, vcLONG out VARCHAR2) as
    4 cursor c1 is
    5 select decode(rownum,1,decode(sign(b.column_value),-1,'W','E'),
    6 2,decode(sign(b.column_value),-1,'S','N'))
    7 &#0124; &#0124;to_char(abs(trunc(b.column_value,0)),'999')
    8 &#0124; &#0124;to_char(abs(trunc((b.column_value - trunc(b.column_value,0)) * 60,0)),
    '99')
    9 &#0124; &#0124;to_char(abs(
    10 (((b.column_value - trunc(b.column_value,0)) * 60) -
    11 trunc((b.column_value - trunc(b.column_value,0)) * 60,0)) * 60
    12 ),'99.99')
    13 from route_location a, table(a.line.sdo_ordinates) b
    14 where a.route_adms_id = iADMS_ID
    15 and a.record_seq_num = iRSN
    16 and rownum < 3;
    17 BEGIN
    18 open c1;
    19 fetch c1 into vcLONG;
    20 fetch c1 into vcLAT;
    21
    22 EXCEPTION
    23 when others then
    24 vcLAT := 'ERROR';
    25 RAISE_APPLICATION_ERROR(-20002,
    26 'XXXXXXXXXXXXXX ');
    27
    28 END pkg_route_loc_latlong_ins;
    29 /
    Warning: Procedure created with compilation errors.
    ADMS>
    ADMS>show errors
    Errors for PROCEDURE PKG_ROUTE_LOC_LATLONG_INS:
    LINE/COL ERROR
    5/5 PL/SQL: SQL Statement ignored
    5/12 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    5/12 PLS-00320: the declaration of the type of this expression is
    incomplete or malformed
    13/34 PLS-00201: identifier 'A.LINE' must be declared
    19/5 PL/SQL: SQL Statement ignored
    20/5 PL/SQL: SQL Statement ignored
    null

    try a
    FOR UPDATE OF ID NOWAIT;where ID is the name of a column in the table.

  • Trigger will not compile

    I wrote the trigger which compiles with errors. The errors are:
    Error(9,5): PL/SQL: SQL Statement ignored
    Error(9,12): PL/SQL: ORA-00903: invalid table name
    Error(14,5): PL/SQL: SQL Statement ignored
    Error(14,12): PL/SQL: ORA-00903: invalid table name
    and so on for the other lines that reference a table. I tried prefixing the table with the schema name and removing the alias but it will not compile either way. Is there something obvious that I don't see?
    Create Or Replace Trigger ERR_EVACUATION_TAB_BU
    Before Update On Err_Evacuation_Tab
    For Each Row
    Begin
    If V('APP_USER') Is Null Then
    :new.last_update_by := USER;
    ELSE
    :new.last_update_by := V('APP_USER');
    END IF;
    :New.Last_Update_Date := Sysdate;
    If :New.Evacuated_Ind = 'Y' And :New.Entire_Evac_Ind = 'Y' And :New.Remaining_In_Apt = 0 Then
    Update Table Err_Impaired_Tab Eit
    Set Eit.Evacuated_Ind = 'Y'
    Where Eit.Location_Code = :Old.Location_Code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    Update Table Err_Lifesustain_Tab Ert
    Set Ert.Evacuated_Ind = 'Y'
    Where Ert.Location_Code = :Old.Location_Code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    else
    Update Table Err_Impaired_Tab Eit
    Set Eit.Evacuated_Ind = 'N'
    Where Eit.Location_Code = :Old.Location_Code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    Update Table Err_Lifesustain_Tab Ert
    Set Ert.Evacuated_Ind = 'Y'
    Where Ert.Location_Code = :Old.Location_Code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
    End If;
    END;

    --untested
    CREATE OR REPLACE TRIGGER err_evacuation_tab_bu
       BEFORE UPDATE
       ON err_evacuation_tab
       FOR EACH ROW
    BEGIN
       IF v ('APP_USER') IS NULL
       THEN
          :NEW.last_update_by := USER;
       ELSE
          :NEW.last_update_by := v ('APP_USER');
       END IF;
       :NEW.last_update_date := SYSDATE;
       IF     :NEW.evacuated_ind = 'Y'
          AND :NEW.entire_evac_ind = 'Y'
          AND :NEW.remaining_in_apt = 0
       THEN
          UPDATE err_impaired_tab eit
             SET eit.evacuated_ind = 'Y'
           WHERE eit.location_code = :OLD.location_code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
          UPDATE err_lifesustain_tab ert
             SET ert.evacuated_ind = 'Y'
           WHERE ert.location_code = :OLD.location_code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
       ELSE
          UPDATE err_impaired_tab eit
             SET eit.evacuated_ind = 'N'
           WHERE eit.location_code = :OLD.location_code;
    -- And Eit.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
          UPDATE err_lifesustain_tab ert
             SET ert.evacuated_ind = 'Y'
           WHERE ert.location_code = :OLD.location_code;
    -- And Ert.Rent_Id_Tenant_Number = :Old.Rent_Id_Tenant_Number;
       END IF;
    END;Edited by: most wanted!!!! on Apr 20, 2012 2:20 AM

  • SOME  books will not open in iBooks on my iMac. OS X 10.9.5

    SOME books will not open in iBooks on my iMac.  OS X 10.9.5

    Did you install iOS 8 on a mobile device and upgrade to "iCloud Drive?" If so, your "Documents in the Cloud" are no longer accessible from the iWork applications, and won't be until you upgrade to Yosemite, which will be released sometime during the fall. You can still access them by signing on to icloud.com and using the web version of iWork, which is not much worse than the actual applications.

  • Xcode will not compile

    I migrated from Windows C++(Dev C++) to Mac (Xcode) and Xcode will not compile, the command for it is greyed out (not selectable). Even Hello World Wouldn't compile. What am I doing wrong here?
    (this is an empty C++ file that's been opened)

    What kind of application do I want to open for basic C++. I've tried numerous now and I always get at least one error of conflicting commands.

  • Why some apps will not sync with i tunes 11

    Just updated to I Tunes 11 some apps will not sync to my i pod touch. Has others went thur the same problem?

    My Ipod touch is about 2 years old running the latest o s and itunes. Before the upgrade all apps were on the itunes but when I tried to drag and drop them the ipod did not install them and both apps are less then a year from their release. These problems happen after the new upgrades

  • Installed Mavericks and latest iWorks and some fonts will not work. Strangely these fonts work in Notes and old version of Strickies. Any ideas?

    Installed Mavericks and latest updates for iWorks. Some fonts will not work on Pages or Keynote. Any ideas?

    It appears overkilling to install Bootcamp and a complete Windows environment just for running a single, old-fashioned piece of software...
    Old 32-bits Windows programs usually run fine with WINE, of which I warmly recommend the "PlayonMac" version (free).
    http://www.playonmac.com
    Just try with Playonmac...
    If it does not work, try the other free WINE port for Mac, Winebottler:
    http://winebottler.kronenberg.org/
    If even this does not work, there is a not-free WINE port named Crossover:
    http://www.codeweavers.com/products/crossover-mac/
    It has a free trial mode, so you can test if it works with your scanner program before purchasing it...

  • I got a new iPhone 5 when I went to add my music back from the cloud Not on this iPhone Rihanna for some reason will not re load to my new phone the Little wheel just keeps moving

    I got a new iPhone 5 when I went to add my music back from the cloud Not on this iPhone Rihanna for some reason will not re load to my new phone the Little wheel just keeps moving nothing ever happens.  I turned it off and still nothing
    whats up with that I have one beatles song and one kenny chesney also

    Mate, I'm trying to find out if it was shipped like that or not. If someone else has had the same issue then I can go back to Apple and have them look into it further. If not then as I said Vodafone is selling second hand phones and they will have to replace the phone.
    Vodafone account manager is saying that he has never heard of anything like it.
    So I'm left with one of 3 answers.
    1: The phone was shipped like that so its a factory error.
    2: The Apple genius doesn’t know what he's talking about then I can go back to the store and ask for a second opinion.
    3: Vodafone is selling second hand phones as new.
    I need to narrow it down so I can deal with the account manager appropriately 

  • Transferred CS4 to new MacBook Pro, now some fonts will not work when PDFing documents from InDesign CS4. Help!

    I recently purchased a new MacBook Pro. I transferred my CS4 from my older MacBook Pro to my new computer, and although it seemed to be working fine now some fonts will not work when PDFing documents from InDesign CS4. These fonts are installed on my new computer, can be found in InDesign CS4, and work fine within the program but will not appear in PDFs. The letters turn into rectangles. Does anyone know why, and how to fix that?
    Help/input would be much appreciated. Thank you!
    Kristen.

    you should properly install adobe products, not move, migrate or otherwise transfer them.
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.5 (win), 5.5 (mac) | 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

Maybe you are looking for