Re: JSP compilation 65535 bytes limit

2017-05-17 Thread Vidyadhar
On Wed, May 17, 2017 at 7:36 PM, Mohammed Manna wrote: > You cannot blindly execute the snippet by copying it from Tomcat website. > You have to adapt it to your project first. Try and remove the file> line and try to build it. You probably need to set up your project > for Ant build first if no

Re: JSP compilation 65535 bytes limit

2017-05-17 Thread Mohammed Manna
You cannot blindly execute the snippet by copying it from Tomcat website. You have to adapt it to your project first. Try and remove the line and try to build it. You probably need to set up your project for Ant build first if not done already. On 17 May 2017 at 15:03, Vidyadhar wrote: > On Wed

Re: JSP compilation 65535 bytes limit

2017-05-17 Thread Vidyadhar
On Wed, May 17, 2017 at 7:30 PM, Mohammed Manna wrote: > Your ant Build File seems to be incorrect. Could you provide the snippet of > the Jspc Task and Javac task for this? > Following is the tomcat.xml which I am using for precompilation:

Re: JSP compilation 65535 bytes limit

2017-05-17 Thread Mohammed Manna
Your ant Build File seems to be incorrect. Could you provide the snippet of the Jspc Task and Javac task for this? On 17 May 2017 at 14:58, Vidyadhar wrote: > Hello KR, > > On Tue, May 16, 2017 at 8:43 PM, Mohammed Manna > wrote: > > > Hi Vidyadhar, > > > > Some points to note here: > > > > 1)

Re: JSP compilation 65535 bytes limit

2017-05-17 Thread Vidyadhar
Hello KR, On Tue, May 16, 2017 at 8:43 PM, Mohammed Manna wrote: > Hi Vidyadhar, > > Some points to note here: > > 1) Setting those parameters in Web.xml file (CATALINA_HOME/conf) doesn't > guarantee that it won't happen. Tomcat 8.0.43 onwards have got this relaxed > out by using a more efficien

Re: JSP compilation 65535 bytes limit

2017-05-16 Thread Mohammed Manna
Hi Vidyadhar, Some points to note here: 1) Setting those parameters in Web.xml file (CATALINA_HOME/conf) doesn't guarantee that it won't happen. Tomcat 8.0.43 onwards have got this relaxed out by using a more efficient error handling code. But you will have this error if the code is truly hitting

Re: JSP compilation 65535 bytes limit

2017-05-16 Thread Vidyadhar
Hello KR, On Fri, May 12, 2017 at 12:37 PM, Mohammed Manna wrote: > I have two things which you might want to try out: > > 1) You will lose your JSP debugging capability - but if that's not your > concern, then in your CATALINA_HOME\conf folder append this for > "JspServlet" > > >

Re: JSP compilation 65535 bytes limit

2017-05-12 Thread Mohammed Manna
I have two things which you might want to try out: 1) You will lose your JSP debugging capability - but if that's not your concern, then in your CATALINA_HOME\conf folder append this for "JspServlet" mappedfile false suppressSmap

Re: JSP compilation 65535 bytes limit

2017-05-12 Thread Dhaval Jaiswal
Have you restarted service post adding parameter ? On Fri, May 12, 2017 at 12:28 PM, Vidyadhar wrote: > Hello Sagar, > > On Fri, 12 May 2017 at 12:26 PM, sagar kohli > wrote: > > > Try adding following init parameter in /conf/web.xml > > > > > > mappedfile > > false > > > > > We a

Re: JSP compilation 65535 bytes limit

2017-05-11 Thread Vidyadhar
Hello Sagar, On Fri, 12 May 2017 at 12:26 PM, sagar kohli wrote: > Try adding following init parameter in /conf/web.xml > > > mappedfile > false > We already tried it but no success. > > > On Fri, May 12, 2017 at 10:28 AM, Vidyadhar > wrote: > > > Hello Team, > > > > Recently we

Re: JSP compilation 65535 bytes limit

2017-05-11 Thread sagar kohli
Try adding following init parameter in /conf/web.xml mappedfile false On Fri, May 12, 2017 at 10:28 AM, Vidyadhar wrote: > Hello Team, > > Recently we did a upgrade existing tomcat from 7.0.42 to 7.0.76 on windows > box. Post the up gradation we are seeing following error in couple

RE: JSP compilation fails with Java 9

2017-01-10 Thread Patil, Shital
nuary 2017 04:56 To: Tomcat Users List Subject: Re: JSP compilation fails with Java 9 2017-01-09 1:16 GMT-06:00 Patil, Shital : > We are assessing Java 9(early access) and JSP compilation is badly > broken with Java 9. Even basic java objects(java.lang.Object) are not > accessible whi

Re: JSP compilation fails with Java 9

2017-01-09 Thread Rémy Maucherat
2017-01-09 1:16 GMT-06:00 Patil, Shital : > We are assessing Java 9(early access) and JSP compilation is badly broken > with Java 9. Even basic java objects(java.lang.Object) are not accessible > while compilation. Appears to be because of jigsaw(modular) > > Any solution or alternative to this pr

Re: JSP compilation fails with Java 9

2017-01-09 Thread Konstantin Kolinko
2017-01-09 10:16 GMT+03:00 Patil, Shital : > We are assessing Java 9(early access) and JSP compilation is badly broken > with Java 9. Even basic java objects(java.lang.Object) are not accessible > while compilation. Appears to be because of jigsaw(modular) > > Any solution or alternative to this

Re: JSP compilation fails with Java 9

2017-01-09 Thread Mark Thomas
On 09/01/2017 07:16, Patil, Shital wrote: > We are assessing Java 9(early access) and JSP compilation is badly > broken with Java 9. Even basic java objects(java.lang.Object) are not > accessible while compilation. Appears to be because of > jigsaw(modular) > > Any solution or alternative to this

Re: JSP compilation error Tomcat 8.0.27

2015-10-05 Thread Zorro
Op 5-10-2015 om 16:27 schreef Mark Thomas: On 05/10/2015 14:08, Zorro wrote: Hi, I installed Tomcat 8.0.27 last weekend and now using it I do get JSP compilation exceptions. This is an example causing such an exception: (Active is a String and c: means jstl/core) If I change it to

Re: JSP compilation error Tomcat 8.0.27

2015-10-05 Thread Mark Thomas
On 05/10/2015 14:08, Zorro wrote: > Hi, > > I installed Tomcat 8.0.27 last weekend and now using it I do get JSP > compilation exceptions. > > This is an example causing such an exception: > > > > (Active is a String and c: means jstl/core) > > If I change it to this > > or > > > T

Re: JSP compilation fails with Tomcat 8.0.20. Works with 8.0.11

2015-03-23 Thread Jürgen Schwarz
Am 23.03.2015 13:33, schrieb Konstantin Kolinko: Make sure that you have cleaned the work directory of the web application (from compiled classes of JSPs and tags compiled by older versions). Make sure that you do not have odd old Jasper jars in your WEB-INF/lib directory, e.g. pulled there due

Re: JSP compilation fails with Tomcat 8.0.20. Works with 8.0.11

2015-03-23 Thread Konstantin Kolinko
2015-03-23 15:11 GMT+03:00 Jürgen Schwarz : > Hi, > > we've some very simple JSP pages that compile and work fine on Tomcat > 8.0.11. However they don't compile and run on Tomcat 8.0.20. All running on > Windows 7. > > We get the following errors: > > org.apache.jasper.JasperException: Unable to co

Re: JSP compilation error with custom classloader

2014-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 9/20/14 9:03 AM, Michael Trosin wrote: > again I have a question, could anyone have a look, please? That > would be great! :) > > http://stackoverflow.com/questions/25944468/jsp-compilation-error-with-custom-classloader > > I have no i

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Konstantin Kolinko
2010/2/8 Fabian Panthen : > >>java -version > java version "1.6.0_14" > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode) > >>echo %JAVA_HOME% > C:\Program Files\Java\jdk1.6.0_14 > >>ant -diagnostics > ... > --

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Has Eclipse (outside of Tomcat) been configured to emit .class files in a certain format? I'm guessing this hasn't been done for 'ant', so maybe they need to match each other. that was one of my guesses, but apart from the compliance level i dont know of any- This happens as well under tom

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Caldarale, Charles R
> From: Fabian Panthen [mailto:f...@unitb-consulting.de] > Subject: Re: jsp compilation fails depending on how WEB-INF classes are > build > > Yes i will try to get round building a simple example. > Until then - the only "exotic" thing is a varargs call to > String

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
We will now begin the grasping at straws phase: are there perhaps annotations or other esoterica in the class files that are allowed only in certain levels of the JSP spec? Can you create a relatively simple test case that exhibits the problem without exposing corporate secrets? Yes i w

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Caldarale, Charles R
> From: Fabian Panthen [mailto:f...@unitb-consulting.de] > Subject: Re: jsp compilation fails depending on how WEB-INF classes are > build > > i agree, but, compiling the classes with the path with spaces works > fine in eclipse or ant. the jsp compilation though fails even on

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
+1. I would even leave out the word "Windows" and anything after paths-with-spaces above. There is an Ig-Nobel prize waiting to be atributed, if one can ever identify the guy who came up with that idea first. - i agree, but, compiling the classes with the path with spaces works fine in ec

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
Tomcat Users List Subject: Re: jsp compilation fails depending on how WEB-INF classes are build Mikolaj Rydzewski wrote: > Fabian Panthen wrote: >> >echo %JAVA_HOME% >> C:\Program Files\Java\jdk1.6.0_14 > I don't think that's the case, but... > There're a lot howt

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread André Warnier
Mikolaj Rydzewski wrote: Fabian Panthen wrote: >echo %JAVA_HOME% C:\Program Files\Java\jdk1.6.0_14 I don't think that's the case, but... There're a lot howtos that encourage Windows users not to use paths-with-spaces for Java programs (Tomcat, ant, JDK itself, etc.). +1. I would even leave

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabian, On 2/8/2010 8:29 AM, Fabian Panthen wrote: > not sure whether here is the right place to post, but i give it a shot... This is the right place. I would have thought this was a simply "javac" compiler mismatch, but that doesn't appear to be t

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Mikolaj Rydzewski
Fabian Panthen wrote: >echo %JAVA_HOME% C:\Program Files\Java\jdk1.6.0_14 I don't think that's the case, but... There're a lot howtos that encourage Windows users not to use paths-with-spaces for Java programs (Tomcat, ant, JDK itself, etc.). -- Mikolaj Rydzewski --

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
I would think so, but there really has to be different versions somehow... I'm lost for ideas now. -Original Message- From: Fabian Panthen [mailto:f...@unitb-consulting.de] Sent: Monday, February 08, 2010 9:00 AM To: Tomcat Users List Subject: Re: jsp compilation fails depending o

Re: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Fabian Panthen
Joseph Morgan schrieb: Fabian, This looks almost certainly like you are compiling with two different versions of the JDK. Spit out the version from the OS and compare that to the version set for Eclipse and Ant. Joe I thougth so, too. But checked this... >java -version java version "1.

RE: jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Joseph Morgan
Fabian, This looks almost certainly like you are compiling with two different versions of the JDK. Spit out the version from the OS and compare that to the version set for Eclipse and Ant. Joe -Original Message- From: Fabian Panthen [mailto:f...@unitb-consulting.de] Sent: Monday, Feb

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/24/2009 10:44 PM, Caldarale, Charles R wrote: > Hmmm... I tried this simple JSP file under 6.0.20 with no problems: > > > <%@ page session="false" import="java.util.*"%> > <%! > LinkedHashMap menuItems = new LinkedHashMap(); > public vo

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Alexander Hartner
Thanks for this info. This problem was really doing my head in. Glad to see there is a rational fix for it. Looking forward to the next release. Alex On 25 Oct 2009, at 13:55, Konstantin Kolinko wrote: 2009/10/25 Alexander Hartner : I am sure this issue would have come up before, but after

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Konstantin Kolinko
2009/10/25 Alexander Hartner : > I am sure this issue would have come up before, but after struggling with > this for several hours not and not having found anything I might as well as > for help. > When I deploy my application on Tomcat 6.0.18 it all works just fine, > however after upgrading to T

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Alexander Hartner
Hi Charles, Thanks for your reply. I agree with you about moving tools.jar being a really bad idea, but after several hours of struggling I figured I might as well try it. My application uses a jspf fragement with this code in it. <%...@page import="java.util.*"%> <%! LinkedHashMap menuIt

RE: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-24 Thread Caldarale, Charles R
> From: Alexander Hartner [mailto:a...@j2anywhere.com] > Subject: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20 > > When I deploy my application on Tomcat 6.0.18 it all works just fine, > however after upgrading to Tomcat 6.0.20 I get the following exception When you have a problem li

RE: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-24 Thread Martin Gainty
did you try declaring as BaseClass e.g. HashMap menuItems= new LinkedHashMap(); ? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfae

RE: JSP compilation internal error

2008-01-22 Thread Milak, Sushil
, 2008 11:07 AM To: Tomcat Users List Subject: Re: JSP compilation internal error i dont see the taglib prefix decl at the top of your jsp <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %> http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/ind

Re: JSP compilation internal error

2008-01-22 Thread Martin Gainty
TECTED]> To: Sent: Tuesday, January 22, 2008 9:56 AM Subject: Re: JSP compilation internal error > > Hi All, > > Following up with previous error (listed below), for debugging purposes I > turned the xmlValidation to true. > I found the problem. Even though I have correct jst

RE: JSP compilation internal error

2008-01-22 Thread Milak, Sushil
Hey David, Could u elaborate more on this. I do have jstl.jar and standard.jar files inside WEB-INF/lib/ Thanks Sushil -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 22, 2008 10:02 AM To: Tomcat Users List Subject: Re: JSP compilation internal

Re: JSP compilation internal error

2008-01-22 Thread David Smith
I've been bitten by this one. You need to add standard.jar to your build from the jstl standard taglibs download. --David sush wrote: Hi All, Following up with previous error (listed below), for debugging purposes I turned the xmlValidation to true. I found the problem. Even though I ha

Re: JSP compilation internal error

2008-01-22 Thread sush0000
Hi All, Following up with previous error (listed below), for debugging purposes I turned the xmlValidation to true. I found the problem. Even though I have correct jstl version information, tag library declarations in web.xml file, it does not recognize JSTL: function library. I am using java-1.5

Re: jsp compilation error in tomcat

2006-07-17 Thread Suba Suresh
Thanks. I thought it was something to do with Tomcat. I am compiling the file using NetBeans. It is progressing. thanks, suba suresh. Christopher Schultz wrote: Suba, If this is the wrong group to post this question let me know. I am new to jsp. This probably /is/ the wrong place to post

Re: jsp compilation error in tomcat

2006-07-17 Thread Christopher Schultz
Suba, > If this is the wrong group to post this question let me know. I am new > to jsp. This probably /is/ the wrong place to post a question about JSP, although most of the readers of this group are well-versed. > org.apache.jasper.JasperException: Unable to compile class for JSP > > An error

RE: JSP Compilation Errors - Tomcat 5.5.17

2006-05-31 Thread Larry Isaacs
nal Message- > From: Larry Isaacs [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 31, 2006 2:33 PM > To: Tomcat Users List; [EMAIL PROTECTED] > Subject: RE: JSP Compilation Errors - Tomcat 5.5.17 > > This implies you are picking up older Servlet 2.2/JSP 1.1 API > classes some

RE: JSP Compilation Errors - Tomcat 5.5.17

2006-05-31 Thread Larry Isaacs
This implies you are picking up older Servlet 2.2/JSP 1.1 API classes somehow, which is overriding the desired Servlet 2.4/JSP 2.0 API classes. The API classes are backward compatible, but not forward compatible as this case illustrates. I don't know enough about Fedora to say how this could come

Re: JSP Compilation Errors - Tomcat 5.5.17

2006-05-31 Thread Mladen Adamovic
AC wrote: I'm working on setting up a couple of new webservers -- Fedora with Apache 2.2.2, jdk 1.5.0_06 and tomcat 5.5.17. I successfully got everything working on the first, and then tar'd up the entire setup (all 3 apps are on a dedicated filesystem) and copied it over to the second machine.

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Caldarale, Charles R
> From: Glen Mazza [mailto:[EMAIL PROTECTED] > Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector > > For the Vector object you're using, it is possible > that the JDT compiler is not 1.5-compliant The methods of interest (Vector.add() and Vector.iterator

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
way and let you know Thanks for this idea Thibaut Caldarale, Charles R a écrit : From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector Here is the very simple JSP that have written to isolate the error This probably won't help mu

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
hat way and let you know Thanks for this idea Thibaut Caldarale, Charles R a écrit : From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector Here is the very simple JSP that have written to isolate the error This probably won&#x

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Glen Mazza
Thibaut Nicolas wrote: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 4 in the jsp file: /jsp/Test.jsp Generated servlet error: The method add(String) is undefined for the type Vector An error occurred at line: 4 in the jsp file: /jsp/Test.jsp G

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Caldarale, Charles R
> From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] > Subject: Re: JSP compilation error in Tomcat 5.5 using type Vector > > Here is the very simple JSP that have written to isolate the error This probably won't help much: your sample JSP works fine for me on nearly stock versi

Re: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Thibaut Nicolas
Of course, Here is the very simple JSP that have written to isolate the error <%@ page language="java" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Iterator" %> <% Vector v = new Vector(); v.add("Hello"); v.add("World"); %> <% Iterator it = v.iterator(); while (it.hasNext

RE: JSP compilation error in Tomcat 5.5 using type Vector

2006-02-20 Thread Michael Andreas Omerou
Can we have the code that causes this error? >-Original Message- >From: Thibaut Nicolas [mailto:[EMAIL PROTECTED] >Sent: 20 February 2006 16:33 >To: users@tomcat.apache.org >Subject: JSP compilation error in Tomcat 5.5 using type Vector > >Hi all, > >I have a problem while trying to migr

RE: JSP compilation

2005-11-21 Thread Milan Tomic
Yes, they have to be part of some package. Works fine now. :) Thank you. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 7:04 PM To: Tomcat Users List Subject: RE: JSP compilation > From: Milan Tomic [mailto:[EMAIL PROTEC

RE: JSP compilation

2005-11-21 Thread Caldarale, Charles R
> From: Milan Tomic [mailto:[EMAIL PROTECTED] > Subject: RE: JSP compilation > > I have created one simple class: > > public class TestClass > { >public TestClass () {} > } I believe such classes need to be part of a package, but I could be confusing that with so

RE: JSP compilation

2005-11-21 Thread Mike Sabroff
Try putting your class file in WEB-INF/lib/classes Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379 -Original Message- From: Milan Tomic [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 11:42 AM To: 'Tomcat Users List' Subject: RE: JSP compilation

RE: JSP compilation

2005-11-21 Thread Milan Tomic
ovember 21, 2005 6:12 PM To: Tomcat Users List Subject: Re: JSP compilation TestMe.class is not the file created. Look in $TOMCAT_INSTALLATION/work/. It'll probably be called TestMe_jsp.class -Tim Milan Tomic wrote: > > > I have created simple TestMe.jsp page and when I open it in

Re: JSP compilation

2005-11-21 Thread Tim Funk
TestMe.class is not the file created. Look in $TOMCAT_INSTALLATION/work/. It'll probably be called TestMe_jsp.class -Tim Milan Tomic wrote: I have created simple TestMe.jsp page and when I open it in Tomcat, I can see it OK. The problem is that I can't find, using WinXP WE search engine, T

Re: JSP Compilation, Jasper class loading, and log4j issues

2005-10-18 Thread Santosh Asbe
Hi , I have also faced similar problem in Apache - tomcat setup on RHEL 3.0. Wehenever i deploy a JSP and restarted the tomcat and made a call to that JSP, samee error used to come. initially then we used to delete the complied JSP in the work folder and make an explicit call to the JSP. But then

RE: JSP Compilation, Jasper class loading, and log4j issues

2005-10-18 Thread Mike Sabroff
Looks like maybe some directory permissions changed or some system changed not allowing access to what Jasper needs Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379 -Original Message- From: David Rickard [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 12:03 P