Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-04-03 Thread Christopher Schultz
controls and performance penalties all over the place. -chris -Original Message- From: Mark Thomas Sent: Wednesday, March 29, 2023 8:37 PM To: users@tomcat.apache.org Subject: Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause Hi, I am unable

RE: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-04-03 Thread Kesavan, Suresh Prabhu (Fed)
@tomcat.apache.org Subject: Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause Hi, I am unable to reproduce this with a clean build of the current 9.0.x source. I built the sample application without configuring the connection to Azure. Once deployed, it failed

Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-03-29 Thread Mark Thomas
432", "connect"; // permission java.net.SocketPermission "*.noaa.gov:80", "connect"; // }; // // The permissions granted to the context WEB-INF/classes directory // grant codeBase "file:${catalina.base}/webapps/examples/WEB-INF/classes/-" { // }; //

RE: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-03-27 Thread Kesavan, Suresh Prabhu (Fed)
Permission "*.noaa.gov:80", "connect"; // }; // // The permissions granted to the context WEB-INF/classes directory // grant codeBase "file:${catalina.base}/webapps/examples/WEB-INF/classes/-" { // }; // // The permission granted to your JDBC driver // grant codeBase &

Re: [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-03-27 Thread Mark Thomas
62ed6ee logs]$ cat localhost.2023-03-24.log 24-Mar-2023 13:46:19.866 SEVERE [https-jsse-nio-8643-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [/msal4j-servlet-auth] threw exception [org.apache.jasper.JasperException: Unab

[org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause

2023-03-27 Thread Kesavan, Suresh Prabhu (Fed)
Servlet.service() for servlet [jsp] in context with path [/msal4j-servlet-auth] threw exception [org.apache.jasper.JasperException: Unable to compile class for JSP] with root cause java.lang.NullPointerException: Cannot invoke "java.io.InputStream.close()"

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-12 Thread Konstantin Kolinko
2012/4/12 Ashima Sharma ashpr...@gmail.com: Most of the jsps have this issue...but it happens randomly. For e.g., i wd be able to access the registration page 5 times w/o any issue, and the 6th time I'd get this error. Its bizarre that tomcat tries to recompile the already compiled jsp at some

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-12 Thread Ashima Sharma
Christopher, response to your questions: [Can you confirm that after you try to access the .jsp from the browser, the timestamp on the .java file changes?] -* It does not change. ALL the .java and .class files have the same timestamp as the .jsp files which is the same as when the war was

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-12 Thread Ashima Sharma
Konstantin, responding to your questions: [What is the type and value of _jspx_dependants field? ] *private static java.util.Mapjava.lang.String,java.lang.Long _jspx_dependants; It does match the method return type!* [Can you cite with what parameters JspServlet in your web.xml is configured,

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/12/12 10:03 AM, Konstantin Kolinko wrote: What is the type and value of _jspx_dependants field? Ashima has sent the original JSP and the translated .java file to me. The interesting parts are here: // Starting at line 21

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 4/12/12 12:44 PM, Christopher Schultz wrote: Ashima has sent the original JSP and the translated .java file to me. The interesting parts are here: Also, there isn't much in the way of directives in the original JSP. First, some

Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-11 Thread Ashima Sharma
] - ServletException in '/WEB-INF/pages/registration/registration.jsp': Unable to compile class for JSP: * *An error occurred at line: 49 in the generated java file* *This method must return a result of type MapString,Long* * * *AND* * * * 2012-04-10 18:36:58,501 ERROR [org.apache.struts.tiles.taglib.InsertTag

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-11 Thread Christopher Schultz
(for random jsps) - *2012-04-10 18:27:45,751 ERROR [org.apache.struts.tiles.taglib.InsertTag] - ServletException in '/WEB-INF/pages/registration/registration.jsp': Unable to compile class for JSP: * *An error occurred at line: 49 in the generated java file* *This method must return a result

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-11 Thread Ashima Sharma
/userProfileBodyTile.jsp': classFile.delete() failed org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:661) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357

Re: Intermittent ServletException - Unable to compile class for JSP for a struts-1.3.10 web-app with Tomcat 7.0.26/7.0.27

2012-04-11 Thread Christopher Schultz
[org.apache.struts.tiles.taglib.InsertTag] - ServletException in '/WEB-INF/pages/register/userProfileBodyTile.jsp': classFile.delete() failed org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:661) Yup, that's

Re: Error: Unable to compile class for JSP

2012-01-12 Thread Pid
On 11/01/2012 20:44, Justin Larose wrote: ma...@apache.org wrote on 01/11/2012 01:19:17 PM: From: ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Date: 01/11/2012 01:20 PM Subject: Re: Error: Unable to compile class for JSP Justin Larose justin.lar...@nexweb.org wrote

Error: Unable to compile class for JSP

2012-01-11 Thread Justin Larose
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 230 in the jsp file: /object_table.jsp The type Part is ambiguous 227:{ 228: //do nothing here - we don't want the filter to be displayed for lifecycles 229: } 230: else if (objType.equals

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Pid
On 11/01/2012 13:53, Justin Larose wrote: An error occurred at line: 230 in the jsp file: /object_table.jsp The type Part is ambiguous 227:{ 228: //do nothing here - we don't want the filter to be displayed for lifecycles 229: } 230: else if

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Justin Larose
An error occurred at line: 230 in the jsp file: /object_table.jsp The type Part is ambiguous 227:{ 228: //do nothing here - we don't want the filter to be displayed for lifecycles 229: } 230: else if (objType.equals(Part.class)) 231: { Have you

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Pid
On 11/01/2012 16:56, Justin Larose wrote: An error occurred at line: 230 in the jsp file: /object_table.jsp The type Part is ambiguous 227:{ 228: //do nothing here - we don't want the filter to be displayed for lifecycles 229: } 230: else if

Re: Error: Unable to compile class for JSP

2012-01-11 Thread markt
Justin Larose justin.lar...@nexweb.org wrote: An error occurred at line: 230 in the jsp file: /object_table.jsp The type Part is ambiguous 227:{ 228: //do nothing here - we don't want the filter to be displayed for lifecycles 229: } 230: else if

Re: Error: Unable to compile class for JSP

2012-01-11 Thread Justin Larose
ma...@apache.org wrote on 01/11/2012 01:19:17 PM: From: ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Date: 01/11/2012 01:20 PM Subject: Re: Error: Unable to compile class for JSP Justin Larose justin.lar...@nexweb.org wrote: An error occurred at line: 230 in the jsp

Unable to compile class for JSP

2011-09-23 Thread R4IDER
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 18 in the generated java file The return type is incompatible with JspSourceDependent.getDependants() Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93

Re: Unable to compile class for JSP

2011-09-23 Thread Konstantin Kolinko
fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 18 in the generated java file The return type is incompatible with JspSourceDependent.getDependants() (...) 1. If you are using precompiled jsp or tag files, you

An error occurred at line: -1, Unable to compile class for JSP (Netware)

2008-04-01 Thread Howard Watson
This is an upgrade from Apache2.0.59/Tomcat4.1.31/mod_jk 1.2.15 to Apache2.0.63/Tomcat4.1.37/mod_jk 1.2.36 on Netware 6.5 sp7. Except for JSP compiles, everything including HTML, servlets and precompiled JSPs works. Ant.jar is there in CATALINA_HOME\common\lib. The problem is with Ant v1.7

Re: An error occurred at line: -1, Unable to compile class for JSP(Netware)

2008-04-01 Thread Rainer Jung
It's a known bug, which has beend discussed on the developers list only very recently. See http://marc.info/?t=12066709823r=1w=2 Your workaround (using ant 1.5) seems fine. The final solution is still pending, but it's quite possible, that Mark does a fix for the future 4.1.38. This

Re: An error occurred at line: -1, Unable to compile class for JSP(Netware)

2008-04-01 Thread Howard Watson
Thanks. I did not find the bug listed when I searched. Rainer Jung [EMAIL PROTECTED] 4/1/2008 11:33 AM It's a known bug, which has beend discussed on the developers list only very recently. See http://marc.info/?t=12066709823r=1w=2 Your workaround (using ant 1.5) seems fine. The final

Unable to compile class for JSP

2007-04-17 Thread Gaurav Kushwaha
Hi, I am getting Unable to compile class for JSP error in one of my JSPs which was working perfectly until 2 days back. It says: An error occurred at line: 10 in the jsp file: /WEB-INF/jsps/Listing.jsp String perspective = null; ^ This jsp is being included in another JSP

Re: Unable to compile class for JSP

2007-04-17 Thread Johnny Kewl
@tomcat.apache.org Sent: Tuesday, April 17, 2007 9:36 PM Subject: Unable to compile class for JSP Hi, I am getting Unable to compile class for JSP error in one of my JSPs which was working perfectly until 2 days back. It says: An error occurred at line: 10 in the jsp file: /WEB-INF/jsps/Listing.jsp

Re: Unable to compile class for JSP

2007-04-17 Thread Gaurav Kushwaha
, April 17, 2007 9:36 PM Subject: Unable to compile class for JSP Hi, I am getting Unable to compile class for JSP error in one of my JSPs which was working perfectly until 2 days back. It says: An error occurred at line: 10 in the jsp file: /WEB-INF/jsps/Listing.jsp String perspective

Re: Unable to compile class for JSP

2007-03-22 Thread org
, 2007 5:00 PM Subject: AW: Unable to compile class for JSP Hi everybody, thanks for your help, which I really appreciate! I still don't know exactly what it was, but I fixed it by doing the following: - uninstall tomcat - reinstall it, not having it run as a windows service - installing

AW: Unable to compile class for JSP

2007-03-21 Thread Peter.Matthias
because I hade problems with spaces in path before. Now it works! Bye Peter - Original Message - From: [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, March 20, 2007 12:21 PM Subject: Unable to compile class for JSP Hi, This might be a silly question, but it seems

Unable to compile class for JSP

2007-03-20 Thread Peter.Matthias
the following message: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null

RE: Unable to compile class for JSP

2007-03-20 Thread Propes, Barry L [GCG-NAOT]
Subject: Unable to compile class for JSP Hi, This might be a silly question, but it seems to be quite a common problem (lots or links in google). But none of the offered solutions so far worked. So I am asking the people who probably know! I installed tomcat 4.1.29 with JDK 1.4.2 Trying

Re: Unable to compile class for JSP

2007-03-20 Thread rmarra
Trying the JSP examples coming with it, I get the following message: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. Hi Peter, did you check that the JAVA_HOME enviroment variable is properly setted?

Re: Unable to compile class for JSP

2007-03-20 Thread Martin Gainty
PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, March 20, 2007 12:21 PM Subject: Unable to compile class for JSP Hi, This might be a silly question, but it seems to be quite a common problem (lots or links in google). But none of the offered solutions so far worked. So I am asking the people

Re: Unable to compile class for JSP

2007-03-20 Thread David Smith
the following message: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null

RE: Unable to compile class for JSP

2007-03-20 Thread Abdelmonaam Kallali
] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 12:21 PM To: users@tomcat.apache.org Subject: Unable to compile class for JSP Hi, This might be a silly question, but it seems to be quite a common problem (lots or links in google). But none of the offered solutions so far worked. So I am

Can't solve problem: Unable to compile class for JSP

2007-03-19 Thread Linas Stankevicius
Hallo, i tried to solve this problem and i read many posts but could found any good solution. plz help me :) org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: The return type is incompatible with JspSourceDependent.getDependants

Re: Can't solve problem: Unable to compile class for JSP

2007-03-19 Thread Rashmi Rubdi
@tomcat.apache.org Sent: Monday, March 19, 2007 1:52:58 PM Subject: Can't solve problem: Unable to compile class for JSP Hallo, i tried to solve this problem and i read many posts but could found any good solution. plz help me :) org.apache.jasper.JasperException: Unable to compile class for JSP

Re: Can't solve problem: Unable to compile class for JSP

2007-03-19 Thread David Smith
but could found any good solution. plz help me :) org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: The return type is incompatible with JspSourceDependent.getDependants() org.apache.jasper.compiler.DefaultErrorHandler.javacError

Unable to compile class for JSP

2006-11-06 Thread edward
Hi, I'm having a newbie type of problem with getting a JSP to compile. Seems it can't find my class. Rest of error messages: Generated servlet error: The import FOO cannot be resolved Following files are located in Tomcat/webapps/VIP Code: Home.jsp %@ page import=java.util.* % html body br

RE: Unable to compile class for JSP

2006-11-06 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Unable to compile class for JSP Class foo is in the default package. Beside using the default package, what am I doing wrong? Since you seem to be aware the using the default package is not allowed, why haven't you fixed

RE: Unable to compile class for JSP

2006-11-06 Thread edward
Well, umm, actually I wasn't aware that the default package isn't allowed. I just considered it poor practice to use. Let me go fix that. Thanks. Caldarale wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Unable to compile class for JSP Class foo

RE: Unable to compile class for JSP

2006-11-06 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: Unable to compile class for JSP Well, umm, actually I wasn't aware that the default package isn't allowed. Quoting from section 11.2 of the JSP spec: However, as of JDK 1.4, importing classes from the unnamed package

org.apache.jasper.JasperException: Unable to compile class for JSP

2006-05-17 Thread Nick Agianniotis
trace : SEVERE: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: The method handlePageException(Exception) in the type PageContext is not applicable for the arguments (Throwable