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 to

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 with

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

2023-03-29 Thread Mark Thomas
mycompany.com:5432", "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/-&q

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

2023-03-27 Thread Kesavan, Suresh Prabhu (Fed)
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/-" { // }; // // The permission granted to your JDBC driver // grant

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()&qu

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 dec

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 (filen

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.Map _jspx_dependants; It does match the method return type!* [Can you cite with what parameters "JspServlet" in your web.xml is configured, exactly?] jsp

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 deployed

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 : > 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 > random point

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
> matter which jsp: > > 2012-04-04 09:55:26,022 ERROR > [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.Js

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
ileBodyTile.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(JspServlet

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
g 2 exceptions (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 generat

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
rtTag] - 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 Map* * * *AND* * * * 2012-04-10 18:36:58,501 ERROR [org.apache.struts.tiles.t

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 >> Date: 01/11/2012 01:20 PM >> Subject: Re: Error: Unable to compile class for JSP >> >> Justin Larose

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 > Date: 01/11/2012 01:20 PM > Subject: Re: Error: Unable to compile class for JSP > > Justin Larose wrote: > >> > An error occurred at line: 230 in the jsp file

Re: Error: Unable to compile class for JSP

2012-01-11 Thread markt
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 (objType.eq

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 i

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:

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 (objType.equal

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.e

Re: Unable to compile class for JSP

2011-09-23 Thread Konstantin Kolinko
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: 18 in the generated java file > The return type is incompatible with JspSourceDependent.getD

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: 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=12066709823&r=1&w=2 Your workaround (using ant 1.5) seems fine. Th

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=12066709823&r=1&w=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 sti

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 int

Re: Unable to compile class for JSP

2007-04-17 Thread Johnny Kewl
From: "Gaurav Kushwaha" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, April 17, 2007 11:40 PM Subject: Re: Unable to compile class for JSP I am using Idea. Even that has an option to compile the jsps though. I will try that. What exactly do you mean by inclu

Re: Unable to compile class for JSP

2007-04-17 Thread Gaurav Kushwaha
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 fi

Re: Unable to compile class for JSP

2007-04-17 Thread Johnny Kewl
uot; 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/L

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 anoth

Re: Unable to compile class for JSP

2007-03-22 Thread org
TED]> Sent: Wednesday, March 21, 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

AW: Unable to compile class for JSP

2007-03-21 Thread Peter.Matthias
ted "tomcat 4.1" because I hade problems with spaces in path before. Now it works! Bye Peter >- Original Message - >From: <[EMAIL PROTECTED]> >To: >Sent: Tuesday, March 20, 2007 12:21 PM >Subject: Unable to compile class for JSP > > >Hi, > &

RE: Unable to compile class for JSP

2007-03-20 Thread Abdelmonaam Kallali
Message- From: [EMAIL PROTECTED] [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 so

Re: Unable to compile class for JSP

2007-03-20 Thread David Smith
I get 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

Re: Unable to compile class for JSP

2007-03-20 Thread Martin Gainty
- Original Message - From: <[EMAIL PROTECTED]> To: 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

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 properl

RE: Unable to compile class for JSP

2007-03-20 Thread Propes, Barry L [GCG-NAOT]
e.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 asking the people who probably know! I installed tomcat 4.1.29 with JDK 1.4.2 T

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: Can't solve problem: Unable to compile class for JSP

2007-03-19 Thread David Smith
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() org.apache.jasper.compiler.DefaultErrorHandler.

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

2007-03-19 Thread Rashmi Rubdi
users@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 cl

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: 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 class

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 J

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

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.*" %> Home Pa

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)

RE: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-16 Thread Caldarale, Charles R
> From: Stuart Lowes [mailto:[EMAIL PROTECTED] > Subject: Re: HTTP 500 error JasperException: Unable to > compile class for JSP > > Also these are the default directory layout and environment > variables in the Debian contrib 'tomcat4' packages. Some of these

Re: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-16 Thread Stuart Lowes
Thanks for the responses. :) I'm still unable to get this working though, the same error is produced. Is it possible I am missing a dependency or two? apt-get in Debian installs a few dependencies automatically, but maybe there are some others not specified in the .deb dependency list? Serlet

Re: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-15 Thread Antonio Petrelli
Stuart Lowes ha scritto: Catalina logfile: - Using CATALINA_BASE: /var/lib/tomcat4 Using CATALINA_HOME: /usr/share/tomcat4 Using CATALINA_TMPDIR: /var/lib/tomcat4/temp I saw it just now. CATALINA_BASE and CATALINA_HOME shouldn't point to the same directory? I think that Tomca

Re: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-14 Thread Stuart Lowes
Antonio Petrelli wrote: Stuart Lowes ha scritto: I've been trying to get tomcat4 running on Debian sarge for the past week and a bit and am now at a loss for what to try or where to look. Try to copy /lib/tools.jar in /common/lib Thanks for the suggestion, Antonio. I tried this with a symlin

Re: HTTP 500 error JasperException: Unable to compile class for JSP

2006-03-14 Thread Antonio Petrelli
Stuart Lowes ha scritto: Hi list, I've been trying to get tomcat4 running on Debian sarge for the past week and a bit and am now at a loss for what to try or where to look. I'm new to tomcat and not much of a Java expert either.. Try to copy /lib/tools.jar in /common/lib