Re: embeded tomcat apache-jasper dependency

2022-08-15 Thread Rob Sargent
On 8/15/22 19:55, Shakila Rajaiah wrote: Earlier Noelette replied: It looks like you have multiple locations/instances of the same jar file (jasper-el.jar by the looks of the error message). This is typically included with tomcat. Are you also including a version with your application? I

embeded tomcat apache-jasper dependency

2022-08-15 Thread Shakila Rajaiah
Earlier Noelette replied:It looks like you have multiple locations/instances of the same jar file (jasper-el.jar by the looks of the error message). This is typically included with tomcat. Are you also including a version with your application? I think that I accidently did. Please look at the

Re: AW: embeded tomcat apache-jasper dependency

2022-05-18 Thread Mark Thomas
@tomcat.apache.org Betreff: embeded tomcat apache-jasper dependency I'm seeing a new-to-me deployment failure and am at a loss to explain. Using tomcat 9-0-63 (and getting Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [org_apache_jasper_el] was

Re: AW: embeded tomcat apache-jasper dependency

2022-05-18 Thread Rob Sargent
apache-jasper dependency I'm seeing a new-to-me deployment failure and am at a loss to explain. Using tomcat 9-0-63 (and getting Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [org_apache_jasper_el] was found. This is not legal with rel

Re: AW: embeded tomcat apache-jasper dependency

2022-05-18 Thread Rob Sargent
On 5/17/22 01:24, Mark Thomas wrote: On 17/05/2022 08:13, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Rob Sargent Gesendet: Dienstag, 17. Mai 2022 00:38 An: users@tomcat.apache.org Betreff: embeded tomcat apache-jasper dependency I'm see

Re: AW: embeded tomcat apache-jasper dependency

2022-05-17 Thread Mark Thomas
On 17/05/2022 08:13, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello, -Ursprüngliche Nachricht- Von: Rob Sargent Gesendet: Dienstag, 17. Mai 2022 00:38 An: users@tomcat.apache.org Betreff: embeded tomcat apache-jasper dependency I'm seeing a new-to-me deployment failure and am

AW: embeded tomcat apache-jasper dependency

2022-05-17 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, > -Ursprüngliche Nachricht- > Von: Rob Sargent > Gesendet: Dienstag, 17. Mai 2022 00:38 > An: users@tomcat.apache.org > Betreff: embeded tomcat apache-jasper dependency > > I'm seeing a new-to-me deployment failure and am at a loss to explain. >

embeded tomcat apache-jasper dependency

2022-05-16 Thread Rob Sargent
nager (gradle) finds mention of jasper as an explicit dependency \--- project :webapp   +--- project :transport (*)   +--- com.fasterxml.jackson.core:jackson-databind:2.11.4 (*)   +--- com.fasterxml.jackson.core:jackson-core:2

Re: Tomcat Jasper Compiler ant task not working - missing tag lib validator

2021-12-05 Thread Builder Lynx Demo
r would have guessed that. Updating the separator addresses that issue.  However now the jasper task throws an exception: BUILD FAILED /home/alex/cc/build.xml:534: The following error occurred while executing this line: /home/alex/cc/build.xml:397: The following error occurred while executing t

Re: Tomcat Jasper Compiler ant task not working - missing tag lib validator

2021-07-09 Thread Mark Thomas
On 08/07/2021 23:12, Builder Lynx Demo wrote: Hi Chris, Mark, Thank you for pointing that out.  I never would have guessed that. Updating the separator addresses that issue.  However now the jasper task throws an exception: BUILD FAILED /home/alex/cc/build.xml:534: The following error

Re: Tomcat Jasper Compiler ant task not working - missing tag lib validator

2021-07-08 Thread Builder Lynx Demo
ant tasks is to compile all the .jsp files.  This is done using the following task:     This used to work on a tomcat 7.  A while ago, we upgraded to 8.5.15 and I think at that stage, the above ant task stopped working. When running the ant task, I get the following error:     [jasper] Jul 07

Re: Java 10 var support in Jasper JSP engine

2018-04-28 Thread Nathan Williams
Thanks for the answers.  That's good to know! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Java 10 var support in Jasper JSP engine

2018-04-28 Thread Mark Thomas
On 28/04/18 17:57, Nathan Williams wrote: > 1.  Is the Java version supported by JSP something that's tracking a > spec and has to wait for the spec to advance before it will be added? No. > 2.  With Java "moving forward faster", is there a realistic motivation > for JSP implementations to int

Java 10 var support in Jasper JSP engine

2018-04-28 Thread Nathan Williams
I'm using Tomcat's Jasper JSP engine via an embedded Jetty environment. I've recently updated this process to run on OpenJDK 10, but I found that Java 10 features weren't available in JSP scriptlet syntax.  I had not paid much attention to how Jasper was compiling JSPs, but

Re: jasper ant task classpath

2018-02-26 Thread Juan Florez
guessing it is because this project is structured in a weird way. This is my ant target: I have the compiled classes at "${webapp.path}/build", so if there is a way to set the classpath or put the classes in a place where jasper will find them, I think it

Re: jasper ant task classpath

2018-02-26 Thread M. Manna
validateXml="false" > uriroot="${webapp.path}/WebRoot" > webXmlFragment="${webapp.path}/WebRoot/WEB-INF/generated_web.xml" > outputDir="${webapp.path}/WEB-INF/src" > > > > > > I have the compiled clas

Re: jasper ant task classpath

2018-02-26 Thread Mark Thomas
t;     > >   > > I have the compiled classes at "${webapp.path}/build", so if there is a > way to set the classpath or put the classes in a place where jasper will > find them, I think it would work. I don't need to run the project, I > just need the JSPs pr

jasper ant task classpath

2018-02-26 Thread Juan Florez
build", so if there is a way to set the classpath or put the classes in a place where jasper will find them, I think it would work. I don't need to run the project, I just need the JSPs precompiled to run some static analysis on the code. Thank you. -- Juan Manuel Florez Software Engineering PhD Student

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-12 Thread Christopher Schultz
mons-logging-1.0.4.jar -rw-r-. 1 root root 87776 Jan >>>> 11 15:05 commons-io-1.3.2.jar -rw-r-. 1 root root >>>> 22379 Jan 11 15:05 commons-fileupload.jar -rw-r-. 1 root >>>> root 57779 Jan 11 15:05 commons-fileupload-1.2.1.jar >>>> -rw-r-. 1 ro

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-12 Thread Sean Brett
> root 58735 Jan 11 15:05 common-piims-src.jar -rw-r-. 1 root >>> root 175113 Jan 11 15:05 common-piims.jar -rw-r-----. 1 root root >>> 55147 Jan 11 15:05 activation.jar >> >>Everything else looks okay. With Java 8, I'm not sure activation.jar >&g

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-12 Thread Sean Brett
ay. With Java 8, I'm not sure activation.jar >is necessary anymore. But JavaMail and the activation framework should >together (if activation.jar is still required). > >>>> I've also tried changing the index.jsp into a simpler >>>> (HelloWorld) form - r

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-11 Thread Christopher Schultz
lloWorld.jsp? >> >> I'm wondering if you have some odd syntax or are expecting to use >> a "custom base JSP servlet class" or something like that which is >> no longer compatible with Tomcat's current JSP servlet. If so, >> we'll try to figure

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-11 Thread Sean Brett
Sep 27 18:32 tomcat-api.jar -rw-r-. 1 tomcat tomcat 277812 Sep 27 18:32 servlet-api.jar -rw-r-. 1 tomcat tomcat 61763 Sep 27 18:32 jsp-api.jar -rw-r-. 1 tomcat tomcat 26859 Sep 27 18:32 jaspic-api.jar -rw-r-. 1 tomcat tomcat 547928 Sep 27 18:32 jasper.jar -rw-r-. 1 tomcat

Re: Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sean, (Thanks for moving to the mailing list; it's a much better forum for getting into a protracted discussion. See below for more, inline.) On 1/10/18 9:08 AM, Sean Brett wrote: > I've been tasked with migrating a site from one institution to > a

Jasper Exception when using Tomcat 9 but works with Tomcat 5.5

2018-01-10 Thread Sean Brett
I've been tasked with migrating a site from one institution to another. As part of the process we are attempting to update the versions the site uses. Initially I was asked to use Java 8 with Tomcat 5.5 (on Linux), which led to issues - not to mention Tomcat 5 being 'out of support¹. I have sinc

Re: Tomcat Jasper (Jspc) compilation - Excluding list of JSPs from Jasper Compilation

2017-08-11 Thread M. Manna
te: > On 11/08/17 13:57, M. Manna wrote: > > Hello, > > > > i am not sure if Jasper (JSPC) currently supports excluding a list of > JSP > > files using typical or directive. > > > > Jpsc is a directory based task so it does have pathname include/excudes

Re: Tomcat Jasper (Jspc) compilation - Excluding list of JSPs from Jasper Compilation

2017-08-11 Thread Mark Thomas
On 11/08/17 13:57, M. Manna wrote: > Hello, > > i am not sure if Jasper (JSPC) currently supports excluding a list of JSP > files using typical or directive. > > Jpsc is a directory based task so it does have pathname include/excudes but > i think those are classes

Tomcat Jasper (Jspc) compilation - Excluding list of JSPs from Jasper Compilation

2017-08-11 Thread M. Manna
Hello, i am not sure if Jasper (JSPC) currently supports excluding a list of JSP files using typical or directive. Jpsc is a directory based task so it does have pathname include/excudes but i think those are classes and compile classpath options (for jars/libs etc.). Could somepone please

Re: Tomcat 8.5 : Jasper errors

2017-02-27 Thread Amit Pande
Any help on this as this worked in 8.0.x as expected but broke in 8.5.x (Checked with 8.5.9 and 8.5.11). This is preventing us from upgrade to Tomcat 8.5. I see Jasper binaries have updated in 8.5.x. Is this a bug in catalina-jasper component? To elaborate further, we have a customTag.jar

Tomcat 8.5 : Jasper errors

2017-02-25 Thread Amit Pande
When upgraded from Tomcat 8.0.x to 8.5.x, while building our custom tags, the build is failing with below stack trace. The exception file not found does not give any clue on what’s the problem with the custom tag definition. I tried setting verbose attribute in jspc ant task as well as tried ru

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-14 Thread Christopher Schultz
not sure what you mean, here. > > -chris > >>>> On Tue, Dec 13, 2016, 03:34 Christopher Schultz < >>>> ch...@christopherschultz.net> wrote: >>>> >>>> Raviraj, >>>> >>>> On 12/10/16 12:21 AM, RAVIRAJ SHA

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-14 Thread RAVIRAJ SHAH
n Tue, Dec 13, 2016, 03:34 Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > > Raviraj, > > > > On 12/10/16 12:21 AM, RAVIRAJ SHAH wrote: > >>>> We develop jrxml file using jasper Studio and then use java > >>>> code

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-13 Thread Christopher Schultz
not sure what you mean, here. - -chris > On Tue, Dec 13, 2016, 03:34 Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Raviraj, > > On 12/10/16 12:21 AM, RAVIRAJ SHAH wrote: >>>> We develop jrxml file using jasper Studio and then use java >&

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-12 Thread RAVIRAJ SHAH
j, > > On 12/10/16 12:21 AM, RAVIRAJ SHAH wrote: > > We develop jrxml file using jasper Studio and then use java code > > to display that jrxml file which opens in new browser tab and by > > right click on that file we are able to download this as pdf file > > in t

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raviraj, On 12/10/16 12:21 AM, RAVIRAJ SHAH wrote: > We develop jrxml file using jasper Studio and then use java code > to display that jrxml file which opens in new browser tab and by > right click on that file we are able to downloa

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-11 Thread RAVIRAJ SHAH
> as the behavior of web browsers is inconsistent in the absence of the > Content-type header. Some browsers will attempt to determine the > appropriate content-type by sniffing > Regards Frank > > > Am 10.12.2016 um 06:22 schrieb RAVIRAJ SHAH : > > > > We develop

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-10 Thread Frank.Pientka
the behavior of web browsers is inconsistent in the absence of the Content-type header. Some browsers will attempt to determine the appropriate content-type by sniffing Regards Frank > Am 10.12.2016 um 06:22 schrieb RAVIRAJ SHAH : > > We develop jrxml file using jasper Studio and

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-09 Thread RAVIRAJ SHAH
We develop jrxml file using jasper Studio and then use java code to display that jrxml file which opens in new browser tab and by right click on that file we are able to download this as pdf file in tomacat 8.0.14 but some how in Tomcat 8.0.39 the same code doesn't works, it does not a

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raviraj, On 12/9/16 11:24 AM, RAVIRAJ SHAH wrote: > I am using jasper reports the library using jasper report > development studio No, you're not. The development studio is a GUI for building reports. - From the Tomcat perspective, y

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-09 Thread RAVIRAJ SHAH
I am using jasper reports the library using jasper report development studio I mean to say i can see pdf file on browser but when i try to save that pdf i dont see file type as adobe acrobat file and saving pdf giving error I am generating pdf file on runtime i am not storing file physically One

Re: Issue with tomcat 8.0.39 and Jasper reports

2016-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Raviraj, On 12/9/16 3:35 AM, RAVIRAJ SHAH wrote: > Dear Support, > > Currently, I am using Tomcat 8.0.14 in my all production and test > server I am using Jasper reports to generate pdf runtime and my > clients download it Now

Issue with tomcat 8.0.39 and Jasper reports

2016-12-09 Thread RAVIRAJ SHAH
Dear Support, Currently, I am using Tomcat 8.0.14 in my all production and test server I am using Jasper reports to generate pdf runtime and my clients download it Now i am planing to upgrade tomcat version to tomcat 8.0.39 in which i am able to generate pdf on runtime but not able to download

Re: jasper

2016-11-08 Thread Jason Hall
va code to compile if you wish, unless you know what versions of tomcat with the associated jasper changes that may have caused this ? thanks, Jason - Original Message - From: "Jason Hall" To: "Tomcat Users List" Sent: Tuesday, November 8, 2016 7:22:57 A

Re: jasper

2016-11-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Violeta, On 11/4/16 2:47 PM, Violeta Georgieva wrote: > Hi, > > 2016-11-04 19:40 GMT+02:00 Jason Hall : >> >> Possible issue with generated source from jsp(s). >> >> I current installed Tomcat 8.5.6 and use it with netbeans. >> >> On one of

Re: jasper

2016-11-04 Thread Violeta Georgieva
Hi, 2016-11-04 19:40 GMT+02:00 Jason Hall : > > Possible issue with generated source from jsp(s). > > I current installed Tomcat 8.5.6 and use it with netbeans. > > On one of my JSP files, it is creating a source file with a try/catch block that is MUCH greater than the 64K limit set by the JV

jasper

2016-11-04 Thread Jason Hall
Possible issue with generated source from jsp(s). I current installed Tomcat 8.5.6 and use it with netbeans. On one of my JSP files, it is creating a source file with a try/catch block that is MUCH greater than the 64K limit set by the JVM. On glassfish and websphere, this does not occur.

Re: Tomcat 8.5.5 jasper and method sizes

2016-09-13 Thread Wang, Andy
On Tue, 2016-09-13 at 15:15 +0100, Mark Thomas wrote: >  > This might help: > https://bz.apache.org/bugzilla/show_bug.cgi?id=60126 > That does make sense as I'm pretty sure alot of the pages are close to the limit already.  When I get time to dig, if it looks like something way off-base I'll post

Re: Tomcat 8.5.5 jasper and method sizes

2016-09-13 Thread Mark Thomas
exceeding the 65535 bytes limit > > I know we have alot of not-recommended practices around our JSPs and > many that are likely already very close to the method size limit. I > took a quick look at the changelog and jasper changes and don't see > anything that leaps out to

Tomcat 8.5.5 jasper and method sizes

2016-09-12 Thread Wang, Andy
f not-recommended practices around our JSPs and many that are likely already very close to the method size limit.  I took a quick look at the changelog and jasper changes and don't see anything that leaps out to me immediately that would have impacted this. I admit, I've not looked into it closely e

Re: Tomcat running against Java 1.7 barfs with Java < 1.7 Jasper error

2016-04-08 Thread Lyallex
On 8 April 2016 at 13:12, Mark Thomas wrote: > On 8 April 2016 12:43:56 BST, Lyallex wrote: >>On 8 April 2016 at 12:31, Violeta Georgieva wrote: >>> Hi, > > Jasper is configured to default to the minimum Java version required by the > version of the JSP specifica

Re: Tomcat running against Java 1.7 barfs with Java < 1.7 Jasper error

2016-04-08 Thread David kerber
itching on Strings in jsp and got the following compiler error org.apache.jasper.JasperException Unable to compile class for JSP etc etc Cannot switch on a value of type String for source level below 1.7 ... Hmm, interesting Configured Jasper to compile against 1.7 and it all worked fine It seem

Re: Tomcat running against Java 1.7 barfs with Java < 1.7 Jasper error

2016-04-08 Thread Mark Thomas
;> >>> org.apache.jasper.JasperException Unable to compile class for JSP >>> etc etc >>> Cannot switch on a value of type String for source level below 1.7 >... >>> >>> Hmm, interesting >>> >>> Configured Jasper to compile against 1.7

Re: Tomcat running against Java 1.7 barfs with Java < 1.7 Jasper error

2016-04-08 Thread Lyallex
n the above with no problems at >> all. >> >> This morning I tried switching on Strings in jsp and got the following >> compiler error >> >> org.apache.jasper.JasperException Unable to compile class for JSP >> etc etc >> Cannot switch on a value of typ

Re: Tomcat running against Java 1.7 barfs with Java < 1.7 Jasper error

2016-04-08 Thread Violeta Georgieva
ngs in jsp and got the following > compiler error > > org.apache.jasper.JasperException Unable to compile class for JSP > etc etc > Cannot switch on a value of type String for source level below 1.7 ... > > Hmm, interesting > > Configured Jasper to compile against 1.7 and it all worked

Tomcat running against Java 1.7 barfs with Java < 1.7 Jasper error

2016-04-08 Thread Lyallex
etc Cannot switch on a value of type String for source level below 1.7 ... Hmm, interesting Configured Jasper to compile against 1.7 and it all worked fine It seems a little strange that running Tomcat against 1.7 wouldn't automatically configure Jasper to compile against 1.7 ... doesn't it

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-16 Thread Mark Thomas
On 15/03/2016 17:18, jimi.hulleg...@svensktnaringsliv.se wrote: > On Friday, March 11, 2016 10:03 PM, ma...@apache.org wrote: >> >> Monday works. I might try experimenting with some ideas between now and then >> anyway. > > Hi again, > > A bit shorter reply this time, because of time shortage. I

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-15 Thread jimi.hullegard
On Friday, March 11, 2016 10:03 PM, ma...@apache.org wrote: > > Monday works. I might try experimenting with some ideas between now and then > anyway. Hi again, A bit shorter reply this time, because of time shortage. I preferred to focus the little time I managed to "break free" on testing th

Re: ***UNCHECKED*** RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-11 Thread Mark Thomas
On 11/03/2016 19:00, jimi.hulleg...@svensktnaringsliv.se wrote: > On Friday, March 11, 2016 6:07 PM, ma...@apache.org wrote: > I'm wasn't talking about gathering information regarding performance. I was > talking about gathering information about what jsp/tag code and what EL > variable names

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-11 Thread jimi.hullegard
On Friday, March 11, 2016 6:07 PM, ma...@apache.org wrote: > > And a debug log message is unlikely to tell you any more than the thread dump > did. That depends on what is actually being logged. If the class name is printed, then one could immediately figure out the name of the EL variable (li

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-11 Thread Mark Thomas
On 11/03/2016 14:17, jimi.hulleg...@svensktnaringsliv.se wrote: > On Thursday, March 10, 2016 10:44 PM, ma...@apache.org wrote: >> >> We'll have to agree to disagree on that one. If you are concerned >> about a performance issue then you need to know where to look to >> enable debug logging. A prof

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-11 Thread jimi.hullegard
On Thursday, March 10, 2016 10:44 PM, ma...@apache.org wrote: > > We'll have to agree to disagree on that one. If you are concerned > about a performance issue then you need to know where to look to > enable debug logging. A profiler will tell you where to look and > at that point you don't need t

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-11 Thread Mark Thomas
On 10/03/2016 22:16, Christopher Schultz wrote: > Mark, > > On 3/10/16 4:43 PM, Mark Thomas wrote: >> On 10/03/2016 21:16, jimi.hulleg...@svensktnaringsliv.se wrote: >>> On Thursday, March 10, 2016 11:20 AM, ma...@apache.org wrote: > 3. Why is the problem not limited to the first request

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/10/16 4:43 PM, Mark Thomas wrote: > On 10/03/2016 21:16, jimi.hulleg...@svensktnaringsliv.se wrote: >> On Thursday, March 10, 2016 11:20 AM, ma...@apache.org wrote: >>> 3. Why is the problem not limited to the first request for a

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread Mark Thomas
On 10/03/2016 21:16, jimi.hulleg...@svensktnaringsliv.se wrote: > On Thursday, March 10, 2016 11:20 AM, ma...@apache.org wrote: >> >>> 3. Why is the problem not limited to the first request for a jsp >>> page? >> >> Because EL imports may be dynamic so the EL has to be evaluated on >> execution.

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread jimi.hullegard
On Thursday, March 10, 2016 11:20 AM, ma...@apache.org wrote: > > > 3. Why is the problem not limited to the first request for a jsp page? > > Because EL imports may be dynamic so the EL has to be evaluated on execution. I'm not really sure I follow you now. Can you explain what you mean with

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread Mark Thomas
On 10/03/2016 10:19, Mark Thomas wrote: > On 10/03/2016 08:12, jimi.hulleg...@svensktnaringsliv.se wrote: >> Then surely one can look at the other implementations, and what they did to >> avoid this problem. But one thing off the top of my head would be to at >> least avoid doing that class lo

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread Mark Thomas
, request, >> application, session) to your attributes. > > Is this an official recommendation, stemming from the EL 3.0 specifications? > If so, can you point me to that paragraph in the specification document, or > some other paper of similar nature? Because when I look

RE: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-10 Thread jimi.hullegard
ome other paper of similar nature? Because when I look at the 3.0 specification document, all I see is examples without scope. Or is this just a pragmatic response to the Tomcat/Jasper implementation of the specifications? The reason I ask is that a simple search in our code base show that we have a

Re: Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-09 Thread Mark Thomas
On 09/03/2016 18:20, jimi.hulleg...@svensktnaringsliv.se wrote: > Has anyone seen this problem before? What could be the cause of it? It is a known 'feature' of the new EL requirements added in 3.0. The EL parser can't differentiate between an attribute without a scope and a reference to an stati

Intermittent ClassNotFoundException in Jasper EL evaluation

2016-03-09 Thread jimi.hullegard
Hi, We recently upgraded Tomcat from version 7 to version 8 (8.0.32 to be precise), and we immediately noticed a deterioration in the performance. Page load time increased from about 500ms to 2500-5000 ms. One thing we noticed when we looked at some thread dumps, is that quite often a ClassNot

Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Thusitha Thilina Dayaratne
Hi, > Hi > >> >> Could someone tell me what is the difference between tomcat-embed-jasper >> and tomcat-jasper? >> I have checked the both jars. tomcat-embed-jasper contains >> javax.servlet.jsp package. Is that the only difference between those 2? >>&

Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Mark Thomas
On 05/05/2015 16:55, Thusitha Thilina Dayaratne wrote: > Hi > >> >> Could someone tell me what is the difference between tomcat-embed-jasper >> and tomcat-jasper? >> I have checked the both jars. tomcat-embed-jasper contains >> javax.servlet.jsp package. Is th

Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Thusitha Thilina Dayaratne
Hi > > Could someone tell me what is the difference between tomcat-embed-jasper > and tomcat-jasper? > I have checked the both jars. tomcat-embed-jasper contains > javax.servlet.jsp package. Is that the only difference between those 2? >>Yes. Thanks for quick reply. 1. If so

Re: tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Mark Thomas
On 05/05/2015 16:40, Thusitha Thilina Dayaratne wrote: > Hi, > > Could someone tell me what is the difference between tomcat-embed-jasper > and tomcat-jasper? > I have checked the both jars. tomcat-embed-jasper contains > javax.servlet.jsp package. Is that the only differen

tomcat-embed-jasper vs tomcat-jasper

2015-05-05 Thread Thusitha Thilina Dayaratne
Hi, Could someone tell me what is the difference between tomcat-embed-jasper and tomcat-jasper? I have checked the both jars. tomcat-embed-jasper contains javax.servlet.jsp package. Is that the only difference between those 2? Thanks --

Re: How to use Jasper to Parse JSP

2015-03-16 Thread Mark Thomas
On 16/03/2015 09:19, kaori hattanda wrote: > Dear Jasper > > I develop a tool for JSP's static code analysis. > > I would like to use parse result of jsp files for my tool. > I am assuming that the result is a syntax tree. Assumptions are never a good idea. Take a look

How to use Jasper to Parse JSP

2015-03-16 Thread kaori hattanda
Dear Jasper I develop a tool for JSP's static code analysis. I would like to use parse result of jsp files for my tool. I am assuming that the result is a syntax tree. Would you tell me how to use the syntax tree from external programs? Best Regards, Kaori Hat

Re: How to use Jasper to Parse JSP

2015-02-03 Thread t-zhang
wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Zhang, > > On 1/29/15 7:22 AM, t-zhang wrote: > > I need a JSP codecheck tool (like PMD) But PMD's JSP parser is not > > enouth. So I need a better JSPparser and I want to try Jasper as a > > p

Re: How to use Jasper to Parse JSP

2015-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Zhang, On 1/29/15 7:22 AM, t-zhang wrote: > I need a JSP codecheck tool (like PMD) But PMD's JSP parser is not > enouth. So I need a better JSPparser and I want to try Jasper as a > parser. What do you want your checker to do? Anyt

Re: How to use Jasper to Parse JSP

2015-01-29 Thread t-zhang
Thanks for your reply. I need a JSP codecheck tool (like PMD) But PMD's JSP parser is not enouth. So I need a better JSPparser and I want to try Jasper as a parser. Best Regards Tao Zhang On Tue, 27 Jan 2015 11:56:42 + Mark Thomas wrote: > On 27/01/2015 11:36, t-zhang wrote: >

Re: How to use Jasper to Parse JSP

2015-01-27 Thread Mark Thomas
On 27/01/2015 11:36, t-zhang wrote: > Hi guys > > I am looking for a tool which can parse the JSP code(parse and generate > the AST) Why? What problem are you trying to solve? (There may be a better solution). Mark > If anyone use Jasper to parse the JSP, > Could you share

How to use Jasper to Parse JSP

2015-01-27 Thread t-zhang
Hi guys I am looking for a tool which can parse the JSP code(parse and generate the AST) If anyone use Jasper to parse the JSP, Could you share your experience to me? I guess the class "org.apache.jasper.compiler.Parser" in Jasper is able to generate the AST. But I can't get t

Questions about how to use the Jasper

2014-10-08 Thread Sho Hatanaka
Hi All. Does Jasper parse a JSP page into a DOM-like objects? And if so, is it possible to use those object by my program? I think that it might be can get those object by "org.apache.jasper.compiler.Parser". Sho. このメールは、本来の宛先の方のみに限定された機密情報が含まれてい る場合が

Re: How to use Jasper class?

2014-07-31 Thread Daniel Mikusa
2:05 AM, Christopher Schultz > wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > Daniel, > > > > On 7/30/14, 8:16 AM, Daniel Mikusa wrote: > >> On Wed, Jul 30, 2014 at 3:43 AM, Aaron Lewis > >> wrote: > >> >

Re: How to use Jasper class?

2014-07-30 Thread Aaron Lewis
one >>> http://winstone.sourceforge.net/#commandLine >>> >>> But with tc 7.0.55 it doesn't seem to work, so I had to find my >>> own ways around the Jasper class: Error initializing web >>> application: prefix [] java.lang.NoClassDefFoundError: >&g

Re: How to use Jasper class?

2014-07-30 Thread Christopher Schultz
ourceforge.net/#commandLine >> >> But with tc 7.0.55 it doesn't seem to work, so I had to find my >> own ways around the Jasper class: Error initializing web >> application: prefix [] java.lang.NoClassDefFoundError: >> org/apache/juli/logging/LogFactory >>

Re: How to use Jasper class?

2014-07-30 Thread Daniel Mikusa
On Wed, Jul 30, 2014 at 3:43 AM, Aaron Lewis wrote: > Hi, > > I'm trying to build a minimal JSP container, just like winstone > http://winstone.sourceforge.net/#commandLine > > But with tc 7.0.55 it doesn't seem to work, so I had to find my own > ways a

How to use Jasper class?

2014-07-30 Thread Aaron Lewis
Hi, I'm trying to build a minimal JSP container, just like winstone http://winstone.sourceforge.net/#commandLine But with tc 7.0.55 it doesn't seem to work, so I had to find my own ways around the Jasper class: Error initializing web application: prefix [] java.lang.NoClassDefFound

RE: How to add jstl.jar to the jasper task

2014-06-10 Thread Jeff Cai
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, June 10, 2014 12:54 AM To: Tomcat Users List Subject: Re: How to add jstl.jar to the jasper task * PGP Signed by an unknown key Jeff, On 6/9/14, 1:39 AM, Jeff Cai wrote: > S

Re: How to add jstl.jar to the jasper task

2014-06-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeff, On 6/9/14, 1:39 AM, Jeff Cai wrote: > Snip ... > > > Try setting "classPath" attribute on element. > > http://svn.apache.org/viewvc/tomcat/tc7.0.x/tags/TOMCAT_7_0_54/java/org/apache/jasper/JspC.java?view=m

RE: How to add jstl.jar to the jasper task

2014-06-08 Thread Jeff Cai
Snip ... Try setting "classPath" attribute on element. http://svn.apache.org/viewvc/tomcat/tc7.0.x/tags/TOMCAT_7_0_54/java/org/apache/jasper/JspC.java?view=markup#l766 Best regards, Konstantin Kolinko Konstantin, Thanks for your information. Now I can include the jar fi

Re: How to add jstl.jar to the jasper task

2014-06-06 Thread Konstantin Kolinko
2014-06-06 14:33 GMT+04:00 Jeff Cai : >>> >>> Jstl.jar should be added to the classpath of jasper task which is defined >>> in ${tomcat_home}/bin/catalina-tasks.xml. >>> >>> How can I add the jstl.jar to the task’s classpath in Ant? >>> >&g

RE: How to add jstl.jar to the jasper task

2014-06-06 Thread Jeff Cai
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Friday, June 06, 2014 6:19 PM To: Tomcat Users List Subject: Re: How to add jstl.jar to the jasper task 2014-06-06 14:06 GMT+04:00 Jeff Cai : > Since my source directory is not under the webapp, I have

Re: How to add jstl.jar to the jasper task

2014-06-06 Thread Konstantin Kolinko
-- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Friday, June 06, 2014 5:43 PM > To: Tomcat Users List > Subject: Re: How to add jstl.jar to the jasper task > > 2014-06-06 13:36 GMT+04:00 Jeff Cai : >> >> Hi, >> >> Jstl.jar shou

RE: How to add jstl.jar to the jasper task

2014-06-06 Thread Jeff Cai
, June 06, 2014 5:43 PM To: Tomcat Users List Subject: Re: How to add jstl.jar to the jasper task 2014-06-06 13:36 GMT+04:00 Jeff Cai : > > Hi, > > Jstl.jar should be added to the classpath of jasper task which is defined in > ${tomcat_home}/bin/catalina-tasks.xml. > > How can

Re: How to add jstl.jar to the jasper task

2014-06-06 Thread Konstantin Kolinko
2014-06-06 13:36 GMT+04:00 Jeff Cai : > > Hi, > > Jstl.jar should be added to the classpath of jasper task which is defined in > ${tomcat_home}/bin/catalina-tasks.xml. > > How can I add the jstl.jar to the task’s classpath in Ant? > 1. What for? 2. Put jstl.jar into WE

How to add jstl.jar to the jasper task

2014-06-06 Thread Jeff Cai
Hi, Jstl.jar should be added to the classpath of jasper task which is defined in ${tomcat_home}/bin/catalina-tasks.xml. How can I add the jstl.jar to the task's classpath in Ant? Best Regards Jeff Cai NBU Appliance Beijing, Symantec Corporation www.symantec.com<http://www.syma

Jasper compilation

2013-03-06 Thread Adrien RUFFIE
Hello All I search to fail following ant task, if an error occurs like this: [jasper] GRAVE: file:C:/Java/Workspaces/Indigo/webapp/targetwebapp-Head-SNAPSHOT/admin/actor/edit.jsp (line: 487, column: 82) Attribute qualified names must be unique within an element But the ant task doesn't

RE: Jasper compiler for included jsp

2013-01-17 Thread Adrien RUFFIE
x27;t work correctly: 1 solution (exclude in jasper generation): 2 solution (exclude in

Re: Jasper compiler for included jsp

2013-01-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Adrien, On 1/17/13 9:38 AM, Adrien RUFFIE wrote: > Hello all I have following pages : displayPerson.jsp and > displaySocialNetwork.jsp > > my first displayPerson.jsp include the second by following tag: > <%@include file="./displaySocialNetwork.js

  1   2   3   >