Re: Tomcat Internal Architect for JSP compilation?

2024-04-04 Thread Subodh Joshi
As Suggested by @Tim i used precompiled jsp feature and now i am not getting 500 error even i deleted the */tmp/tomcat** directory @Bean > > public ServletContextInitializer preCompileJspsAtStartup() { > > return servletContext -> { > > Set jspPaths = servletContext.getResourcePaths("/WEB-INF/jsp/

Re: Tomcat Internal Architect for JSP compilation?

2024-03-26 Thread Christopher Schultz
Subodh, On 3/26/24 06:59, Subodh Joshi wrote: I am planning to do same now and may be we will use the property *server.tomcat.basedir* But this may create another issue ,it will grow the size of the folder. What makes you say that? Is this possible in the coming release tomcat/embedded tom

Re: Tomcat Internal Architect for JSP compilation?

2024-03-26 Thread Subodh Joshi
Thanks Chris & others for your input, I am planning to do same now and may be we will use the property *server.tomcat.basedir* But this may create another issue ,it will grow the size of the folder . Is this possible in the coming release tomcat/embedded tomcat give a feature to delete the based

Re: Tomcat Internal Architect for JSP compilation?

2024-03-22 Thread Christopher Schultz
Subodh, On 3/22/24 01:36, Subodh Joshi wrote: Hi Chris Thanks for your response. So i added below properties in application.properties file spring.mvc.cache-control.cache-allowed=false and then Deleted the /tmp/tomcat directory . So now when i restart the server A.jsp only fail with 500 er

RE: Tomcat Internal Architect for JSP compilation?

2024-03-22 Thread Harri Pesonen
Linux has "auditd" tool to log file system changes: https://www.redhat.com/sysadmin/configure-linux-auditing-auditd -Harri -Original Message- From: Subodh Joshi Sent: perjantai 22. maaliskuuta 2024 7.36 To: Tomcat Users List Subject: Re: Tomcat Internal Architect for JSP c

Re: Tomcat Internal Architect for JSP compilation?

2024-03-22 Thread Tim Funk
One possible workaround is to precompile the JSP's at build time. https://tomcat.apache.org/tomcat-9.0-doc/jasper-howto.html#Web_Application_Compilation -Tim On Fri, Mar 22, 2024 at 1:37 AM Subodh Joshi wrote: > > Why i am doing this exercise? > In our some of the deployed linux environment ma

Re: Tomcat Internal Architect for JSP compilation?

2024-03-21 Thread Subodh Joshi
Hi Chris Thanks for your response. So i added below properties in application.properties file > spring.mvc.cache-control.cache-allowed=false > > and then Deleted the /tmp/tomcat directory . So now when i restart the server A.jsp only fail with 500 error (ClassNotFoundException) as this is first

Re: Tomcat Internal Architect for JSP compilation?

2024-03-21 Thread Christopher Schultz
Subudh, On 3/21/24 07:32, Subodh Joshi wrote: Expert, Recently i came across a issue and i was getting no clue what was going on wrong with the Application. So here is the issue , we were getting following issue in our web application(Springboot+Embedded Tomcat) which is deployed into Linux

Tomcat Internal Architect for JSP compilation?

2024-03-21 Thread Subodh Joshi
Expert, Recently i came across a issue and i was getting no clue what was going on wrong with the Application. So here is the issue , we were getting following issue in our web application(Springboot+Embedded Tomcat) which is deployed into Linux machine java.lang.ClassNotFoundException: > org.a

Re: After updating to Tomcat V7.0.78 from V7.0.54 JSP compilation fails due to 65535 bytes limit

2019-01-16 Thread Mark Thomas
On 16/01/2019 11:59, Rahul Singh wrote: > Hi Tomcat Team, > > Thanks for your always support and guidance !! > > In one of the web application Tomcat is migrated from V7.0.54 to V7.0.78. > After update one phenomena is reported regarding JSP file compilation at run > time. > > > From stack tr

After updating to Tomcat V7.0.78 from V7.0.54 JSP compilation fails due to 65535 bytes limit

2019-01-16 Thread Rahul Singh
Hi Tomcat Team, Thanks for your always support and guidence !! In one of the web application Tomcat is migrated from V7.0.54 to V7.0.78. After update one phenomena is reported regarding JSP file compilation at run time. >From stack trace analysis it is evident that JSP to JAVA compilation is

Re: JSP compilation 65535 bytes limit

2017-05-17 Thread Vidyadhar
ild first if not done already. > Project is already setup and same set of build file is working fine with different version of Tomcat. If we remove the import task for this particular project we are seeing some different error which is regarding to ANT and not related with Tomcat or JSP compilat

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

JSP compilation 65535 bytes limit

2017-05-11 Thread Vidyadhar
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 of JSPs org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [231] in the generated java file: [C:\P

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 alte

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 alte

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 a

JSP compilation fails with Java 9

2017-01-08 Thread 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 problem ?

RE: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread D, Dwarakesh
I got it. I have used the ecj-4.4.2.jar from the later tomcat version and try to recompile the application. The JSP compilation issue was resolved now. Thank you. -Original Message- From: D, Dwarakesh [mailto:dwarakes...@xerox.com] Sent: Thursday, August 04, 2016 12:02 PM To: Tomcat

RE: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread D, Dwarakesh
, August 04, 2016 12:23 AM To: Tomcat Users List Subject: Re: Tomcat7 jsp compilation error with java1.8 The problem is with java8 support in ECJ, not tomcat directly. You need at least JDT 4.4 in order to have full java8 support in my experiences. I just tested with 7.0.27 built from sources and

Re: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread Coty Sutherland
dnesday, August 03, 2016 10:58 AM > To: users@tomcat.apache.org > Subject: Re: Tomcat7 jsp compilation error with java1.8 > > On 3 August 2016 08:39:34 GMT-07:00, "D, Dwarakesh" > wrote: >>Dear Tomcat Support, >> >>I have compiled and build one of our

RE: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread D, Dwarakesh
Running on Java 1.8.0_45. Thanks, Dwarak From: Mark Thomas [ma...@apache.org] Sent: Wednesday, August 03, 2016 10:58 AM To: users@tomcat.apache.org Subject: Re: Tomcat7 jsp compilation error with java1.8 On 3 August 2016 08:39:34 GMT-07:00, "D, Dwar

Re: Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread Mark Thomas
On 3 August 2016 08:39:34 GMT-07:00, "D, Dwarakesh" wrote: >Dear Tomcat Support, > >I have compiled and build one of our application using java 1.8.0_45. I >have deployed the war file in tomcat-7.0.27 Running on what version of Java? Mark > and am getting the below >exception. >Is this error

Tomcat7 jsp compilation error with java1.8

2016-08-03 Thread D, Dwarakesh
Dear Tomcat Support, I have compiled and build one of our application using java 1.8.0_45. I have deployed the war file in tomcat-7.0.27 and am getting the below exception. Is this error because of the java version? Does tomcat-7.0.27 supports java1.8.0_45 or do I need to use Java1.7? Please adv

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

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) >

JSP compilation error Tomcat 8.0.27

2015-10-05 Thread Zorro
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 Then no exception occurs anymore. I expected and being proper

Re: Strange JSP compilation issues in tomcat 7 and 8

2015-07-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 7/7/15 5:21 AM, p...@kuruma.co.uk wrote: > Hi Christopher, > > I can confirm that in tomcat 8.0.23 the application does not work > with or without ##'s in the file name, however in tomcat 8.0.15 it > works without the hashes. > > I compil

Re: Strange JSP compilation issues in tomcat 7 and 8

2015-07-07 Thread paul
t that I would not get the version name as part of >>>> the context and so could just use the web app name in the url and in >>>> the past this has worked ok for me. >>>> >>>> ${finalName}##${project.version} >>>> >>&

Re: Strange JSP compilation issues in tomcat 7 and 8

2015-07-06 Thread Violeta Georgieva
has > >> worked ok for me. > >> > >> ${finalName}##${project.version} > >> > >> > >> So my war file build with a name like mywebapp##0.0.0.war, I deploy > >> this with tomcat manager or manually and it deploys ok, no errors I can > >&g

Re: Strange JSP compilation issues in tomcat 7 and 8

2015-07-06 Thread Christopher Schultz
the version name >>> as part of the context and so could just use the web app name >>> in the url and in the past this has worked ok for me. >>> >>> ${finalName}##${project.version} >>> >>> >>> So my war file build with a name like mywebapp##0.

Re: Strange JSP compilation issues in tomcat 7 and 8

2015-07-06 Thread paul
t; ${finalName}##${project.version} >> >> >> So my war file build with a name like mywebapp##0.0.0.war, I deploy >> this with tomcat manager or manually and it deploys ok, no errors I can >> see on deployment. >> >>

Re: Strange JSP compilation issues in tomcat 7 and 8

2015-07-06 Thread Felix Schumacher
>${finalName}##${project.version} > >So my war file build with a name like mywebapp##0.0.0.war, I deploy >this >with tomcat manager or manually and it deploys ok, no errors I can see >on >deployment. > >However when I try to access any pages I get jsp

Strange JSP compilation issues in tomcat 7 and 8

2015-07-04 Thread paul
tomcat manager or manually and it deploys ok, no errors I can see on deployment. However when I try to access any pages I get jsp compilation issues, in both versions of tomcat 7 I get this error: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is

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

2015-03-23 Thread Jürgen Schwarz
ry, we use Java 7 that should have no problem with generics, work dir was emptied... Strange thing is that it works with Tomcat 8.0.11. Was there anything changed from 8.0.11 to 8.0.20 that affects JSP compilation? Majority of changes listed in "Jasper" section of changelog affect JS

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

2015-03-23 Thread Konstantin Kolinko
rectory, e.g. pulled there due to your misconfiguration of a Maven POM. The "The type Set is not generic" error is rather odd, but you cannot run Tomcat 8 with such an old version of Java where the Set class is not generic. Look into generated *.java source code. > Was there anything

JSP compilation fails with Tomcat 8.0.20. Works with 8.0.11

2015-03-23 Thread Jürgen Schwarz
C:\Program Files\Apache Software Foundation\Tomcat 8.0\work\Catalina\localhost\Legato\org\apache\jsp\Info_jsp.java] The type Set is not generic; it cannot be parameterized with arguments . and myn more Was there anything changed from 8.0.11 to 8.0.20 that affects JSP c

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 &g

JSP compilation error with custom classloader

2014-09-20 Thread Michael Trosin
Hi, 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 idea, why it's working in eclipse and not in a normal environment. Thanks in advance, Michael

Re: Need help debugging JSP compilation failure

2011-07-06 Thread Mike Spreitzer
Oh, I see, it was a level confusion. I thought I was being told about an Exception in the compilation process rather than in my source. Thanks, Mike Spreitzer

Re: Need help debugging JSP compilation failure

2011-07-06 Thread Mark Thomas
On 06/07/2011 22:59, Mike Spreitzer wrote: > I just got a pointer into my original JSP (not the Java version); see copy > below. I also looked in my $CATALINA_HOME/work, and found only > directories, no files (at any depth) --- see listing below. I did not > precompile my JSP. > > Here is the

Re: Need help debugging JSP compilation failure

2011-07-06 Thread Mike Spreitzer
na/localhost/manager drwxr-xr-x 2 mspreitz staff 68 Jul 6 17:53 work/Catalina/localhost/rippledriver Thanks, Mike Spreitzer From: Pid To: Tomcat Users List Date: 07/06/2011 05:14 PM Subject:Re: Need help debugging JSP compilation failure On 06/07/2011 21:54, Mike Sprei

Re: Need help debugging JSP compilation failure

2011-07-06 Thread Pid
On 06/07/2011 21:54, Mike Spreitzer wrote: > I install a fresh copy of the latest Tomcat (7.0.16), and deploy my WAR by > copying it into Tomcat's webapps/. Then I startup Tomcat and direct my > browser to my web app's welcome page --- which is a JSP. The compilation > of the JSP fails but wit

Need help debugging JSP compilation failure

2011-07-06 Thread Mike Spreitzer
I install a fresh copy of the latest Tomcat (7.0.16), and deploy my WAR by copying it into Tomcat's webapps/. Then I startup Tomcat and direct my browser to my web app's welcome page --- which is a JSP. The compilation of the JSP fails but with very little information. All I get is the line

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: [OT] jsp compilation fails depending on how WEB-INF classes are build

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joseph, On 2/8/2010 11:23 AM, Joseph Morgan wrote: >>> There is an Ig-Nobel prize waiting to be atributed, >>> if one can ever identify the guy who came up with that idea first. > > You mean it wasn't Bill??? :-) Although the FAT filesystem (introd

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

2010-02-08 Thread Fabian Panthen
ks fine in eclipse or ant. the jsp compilation though fails even on the integration server, which is linux and has no spaces in any directory names - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional comman

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
WEB-INF/classes using eclipse Galileo > everything runs fine. > But if I compile those same classes using ANT, jsp compilation in tomcat > fails with the following stack trace: > > org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException [snip] > at

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
, February 08, 2010 7:30 AM To: users@tomcat.apache.org Subject: jsp compilation fails depending on how WEB-INF classes are build Hello, not sure whether here is the right place to post, but i give it a shot... I have a webapp with JSP's using some classes from WEB-INF/classes in a declaration

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

2010-02-08 Thread Fabian Panthen
Hello, not sure whether here is the right place to post, but i give it a shot... I have a webapp with JSP's using some classes from WEB-INF/classes in a declaration block (<%!%>), running in tomcat 6 on jdk1.6.0_14. The problem is such, if I compile the classes in WEB-INF/classes using eclip

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

Fwd: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Alexander Hartner
Hartner Date: 25 October 2009 09:17:27 GMT To: "Tomcat Users List" Cc: "Caldarale, Charles R" Subject: Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20 Hi Charles, Thanks for your reply. I agree with you about moving tools.jar being a really bad idea, but af

Re: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-25 Thread Alexander Hartner
using : <%...@include file="menu.jspf"%> <%...@include file="sidebar.jspf"%> which is declared as the prelude in the web.xml file. ContentPages *.jsp /header.jspf /footer.jspf I will try your suggestion an add the extra propert

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

RE: JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-24 Thread Martin Gainty
interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: a.

JSP Compilation issue after upgrade from 6.0.18 to 6.0.20

2009-10-24 Thread 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 Tomcat 6.0.20 I get the following

RE: Problem with JSP Compilation

2008-09-17 Thread Martin Gainty
pache.org > Subject: Problem with JSP Compilation > > > I have a webapp which uses Struts 2's taglib and Tomcat 5.5.23 with Java 1.5. > I am not using precompiled JSP pages. Whenever I try to access a JSP page > containing a struts 2 tag, t

Problem with JSP Compilation

2008-09-17 Thread DavidCAIT
s the appropriate tld file for the /struts-tag library). Is there anything that I need to configure to make Tomcat manually compile each JSP page? Or does anyone have any troubleshooting suggestions? Thanks, David -- View this message in context: http://www.nabb

Strange JSP compilation error

2008-07-16 Thread Jonathan Mast
I have jsp that started giving me this error when I added another mundane else if clause to a long section of such clauses: Generated servlet error: Syntax error, insert "}" to complete Block Generated servlet error: Syntax error on token "}", delete this token Generated servlet error: Syntax er

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
pens > first time only. > > If I keep only 1 jsp file inside JSP folder, everything is fine. > > Any clue about internal error here. > I am trying to create java application with embedded tomcat and MYSQL > database. > > Thanks. > -- View this message in context: htt

JSP compilation internal error

2008-01-18 Thread sush0000
to create java application with embedded tomcat and MYSQL database. Thanks. -- View this message in context: http://www.nabble.com/JSP-compilation-internal-error-tp14950383p14950383.html Sent from the Tomcat - User mailing list archive at

RE: Tomcat 6 jsp compilation

2007-06-12 Thread Lakshmi Venkataraman
-Original Message- From: Manca Davide [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 8:37 AM To: Tomcat Users List Subject: Tomcat 6 jsp compilation Hello, how can I say to Tomcat 6 to NOT compile jsp into .class files? This because we have more machines with a Tomcat 6 each one and

Tomcat 6 jsp compilation

2007-06-12 Thread Manca Davide
Hello, how can I say to Tomcat 6 to NOT compile jsp into .class files? This because we have more machines with a Tomcat 6 each one and they should read a read-only nfs file system in which we have precompiled .class files. Thank you. -

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-16 Thread Daniel Gresh
Daniel Gresh wrote: Daniel Gresh wrote: APliszka-Public wrote: Google for "compilerSourceVM", and you should find examples of enabling 1.5. Andrew Pliszka - To start a new topic, e-mail: users@tomcat.apache.org To unsubscri

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
Daniel Gresh wrote: APliszka-Public wrote: Google for "compilerSourceVM", and you should find examples of enabling 1.5. Andrew Pliszka - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PR

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
APliszka-Public wrote: Google for "compilerSourceVM", and you should find examples of enabling 1.5. Andrew Pliszka - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Propes, Barry L [GCG-NAOT]
might require updated jar files for the servlets and jsps? -Original Message- From: Daniel Gresh [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 1:34 PM To: Tomcat Users List Subject: Tomcat 5.5.9 on Sun Solaris: JSP compilation error Hi list, Recently I upgraded Tomcat

RE: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Larry Isaacs
r version of Tomcat 5.5.x and get a version of the Eclipse JDT compiler that does support Java 5.0. Cheers, Larry > -Original Message- > From: Daniel Gresh [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 15, 2007 2:52 PM > To: Tomcat Users List > Subject: Re: Tomcat 5.5

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread APliszka-Public
Google for "compilerSourceVM", and you should find examples of enabling 1.5. Andrew Pliszka Daniel Gresh wrote: APliszka-Public wrote: Try using code that is not 1.5 specific [like for(String x: s)] if it is going to work then your pages are compiled as Java 1.4 source code, you will have c

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
APliszka-Public wrote: Try using code that is not 1.5 specific [like for(String x: s)] if it is going to work then your pages are compiled as Java 1.4 source code, you will have change tomcat config to so jsp compiler is compailing Java 1.5 source. Andrew Pliszka Daniel Gresh wrote: Hi lis

Re: Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread APliszka-Public
Try using code that is not 1.5 specific [like for(String x: s)] if it is going to work then your pages are compiled as Java 1.4 source code, you will have change tomcat config to so jsp compiler is compailing Java 1.5 source. Andrew Pliszka Daniel Gresh wrote: Hi list, Recently I upgraded

Tomcat 5.5.9 on Sun Solaris: JSP compilation error

2007-02-15 Thread Daniel Gresh
Hi list, Recently I upgraded Tomcat from 4.0.5 to 5.5.9, due to some unusual problems I was experiencing with Tomcat 4.0.5. I was getting some Java compilation errors when I used JDK1.5 features, and neither I nor the two who replied to my message could figure out why. Upgrading was suggested

Re: Tomcat 4.0 on UNIX: no /bin directory in $CATALINA_HOME, and JSP compilation errors

2007-02-12 Thread Rashmi Rubdi
ource code of one user from another. -Rashmi - Original Message From: Daniel Gresh <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, February 12, 2007 5:27:26 PM Subject: Re: Tomcat 4.0 on UNIX: no /bin directory in $CATALINA_HOME, and JSP compilation errors Hi, thanks

Re: Tomcat 4.0 on UNIX: no /bin directory in $CATALINA_HOME, and JSP compilation errors

2007-02-12 Thread Daniel Gresh
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel Gresh wrote: I've searched the web for information on Tomcat's directory structure. According to one page I found, Tomcat should have a /bin directory, which contains binary executables, such as startup.

Re: Tomcat 4.0 on UNIX: no /bin directory in $CATALINA_HOME, and JSP compilation errors

2007-02-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, Daniel Gresh wrote: > I've searched the web for information on Tomcat's directory structure. > According to one page I found, Tomcat should have a /bin directory, > which contains binary executables, such as startup.sh, which I can use > to re

  1   2   >