Re: Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Konstantin Kolinko
2011/10/4 Nestor Urquiza : > > Downloading latest jasper-el > http://repo1.maven.org/maven2/org/apache/tomcat/jasper-el/6.0.33/jasper-el-6.0.33.jar > (from August 2011 which I consider latest - please correct me if I am > wrong) or even copying the jar from a previous tomcat installation > allows $

Re: Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Nestor Urquiza
Hi Konstantin, Please bare with me. I did not get the answer to my question in Stack overflow by email as I was expecting. In fact my original question was deleted by a moderator and when I asked why, providing the info I am providing below, my question was cut. I understand I can change my code

Re: IllegalStateException using CompressionFilter with Tomcat 7.0.21/22

2011-10-03 Thread Konstantin Kolinko
2011/10/4 Kari Scott : > SEVERE: Servlet.service() for servlet [jsp] in context with path [] threw > exception [java.lang.IllegalStateException: getWriter() has already been > called for this response] with root cause > java.lang.IllegalStateException: getWriter() has already been called for this

Re: Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Konstantin Kolinko
2011/10/4 Nestor Urquiza : > Hi Mark, > > So you are suggesting Spring pet clinic application is broken? There are many implementations of Pet Clinic out there. Yes, that one is broken. > What > would be the correct syntax then for the expresion that is failing? You are not reading your answers,

Re: Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Nestor Urquiza
Hi Mark, So you are suggesting Spring pet clinic application is broken? What would be the correct syntax then for the expresion that is failing? Why tge latest version of jasper-el does not exhibit the problem when deployed in tomcat 7? On Oct 3, 2011, at 5:40 PM, Mark Thomas wrote: > On 03/1

IllegalStateException using CompressionFilter with Tomcat 7.0.21/22

2011-10-03 Thread Kari Scott
Hi, We are running Tomcat 6. 0.32 with jdk1.6.0_26 on Solaris 10, mod_ajp and Apache 2.2.21 in our production environment and are looking to upgrade to Tomcat 7 but have run into a problem with the CompressionFilter (an older version of the Amy Roh one) causing this exception: SEVERE: Serv

Pre Compiling jsp

2011-10-03 Thread aparna bejugam
Hi All, Can some one tell me where to put the jsp precompilation build file(build.xml) in the Tomcat 7 structure. I have a web application called myapp which is inside webapps folder and has bunch of jsp files, I want to precompile them using the following script.

Re: Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Mark Thomas
On 03/10/2011 13:58, Nestor Urquiza wrote: > Hello, > > I was having this issue > http://stackoverflow.com/questions/3879794/spring-3-petclinic-owner-new-invalid-expression-in-tomcat-7/7640435#7640435 > > So I decided to try a couple of quick fixes and I solved it replacing the > jasper-el.jar. I

Tomcat 7 jasper-el fails to parse boolean EL statement

2011-10-03 Thread Nestor Urquiza
Hello, I was having this issue http://stackoverflow.com/questions/3879794/spring-3-petclinic-owner-new-invalid-expression-in-tomcat-7/7640435#7640435 So I decided to try a couple of quick fixes and I solved it replacing the jasper-el.jar. I have blogged about the issue in http://thinkinginsoftwar

Re: Logging properties of attributes in the HttpSession

2011-10-03 Thread Konstantin Kolinko
2011/10/3 Christopher Schultz : > On 9/30/2011 2:18 PM, Konstantin Kolinko wrote: >> 2011/9/30 Christopher Schultz : >>> The OP should be able to put the Filter into the in >>> such a way that the Filter wraps the AccessLogValve, no? >>> >> >> 1. You cannot put a Filter into Context. > > Mmm. Why

[OT] JavaOne

2011-10-03 Thread Mark Thomas
Anyone at JavaOne this week and fancy meeting up for a drink and/or a chat about Tomcat. Cheers, Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Look what i found here...

2011-10-03 Thread Edlira Kumbarce
Hey, hey!I refused to keep living that way it would be insane to ignore this now I stay on top of my game you can have a chance toohttp://rolvet.times.lv/DavidArmstrong18.html";>http://rolvet.times.lv/DavidArmstrong18.htmltalk to you soon.

Re: WebApps sharing uploaded files

2011-10-03 Thread André Warnier
Léa Massiot wrote: Hello, I solved my problem: 1) in WebApp "w1", upload files to the directory "w1\uf1\", 2) in WebApp "w2", upload files to the directory "w1\uf2\", 3) then you can have the same JSP "foo.jsp" for both WebApps. Put one JSP in "w1" and another one in "w2". The JSP itself contain

Re: please help me how i can test that whether tomcat is up and running on

2011-10-03 Thread André Warnier
Coming late to the party, hm ? Jeffrey Janner wrote: And the key to the proper answer is this bit from the OP: please help me how i can test that whether tomcat is up and running on a remote machine from a client machine. The proper answer is "he can't", as the server is only listening to the

RE: please help me how i can test that whether tomcat is up and running on

2011-10-03 Thread Jeffrey Janner
And the key to the proper answer is this bit from the OP: >>> please help me how i can test that whether tomcat is up and running >>> on a remote machine from a client machine. The proper answer is "he can't", as the server is only listening to the port via the localhost IP (aka loopback). There

Re: WebApps sharing uploaded files

2011-10-03 Thread Léa Massiot
Hello Tim, Ok. - I have only one copy of "f.txt". - "uf1" and "uf2" are two distinct directories, the first in "w1", the second in "w2". - I have one JSP (same code) but two copies of it, the first in "w1", the second in "w2". "f.txt" either lives under "uf1" xor "uf2". Maybe I'm not clear enough.

Re: WebApps sharing uploaded files

2011-10-03 Thread Tim Watts
It does? Doesn't that mean you have two distinct copies of f.txt? I thought that's what you were trying to avoid. Or are uf1 and uf2 aliases for the same directory? Or was your goal really to have one JSP that would work in w1 and w2? On Mon, 2011-10-03 at 10:15 -0700, Léa Massiot wrote: > Hello,

Re: WebApps sharing uploaded files

2011-10-03 Thread Léa Massiot
Hello, I solved my problem: 1) in WebApp "w1", upload files to the directory "w1\uf1\", 2) in WebApp "w2", upload files to the directory "w1\uf2\", 3) then you can have the same JSP "foo.jsp" for both WebApps. Put one JSP in "w1" and another one in "w2". The JSP itself contains a switch:

Re: Defining JDBC resource and AutoDeploy

2011-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arttu, On 10/1/2011 6:04 PM, Arttu Tanner wrote: > Ok, figured it out. I needed to use InitialContext.lookupLink() > instead of InitialContext.lookup() what I was using before. That should not be necessary. Here is the code I have been using for year

Re: Tomcat 6.0 Custom Realm with Digest Authentication

2011-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sailendra, On 10/2/2011 3:44 PM, sailendra karthik wrote: > I am able to develop a custom realm with basic type Great. > But when i change this to DIGEST it is not digesting the password. I think maybe you are misunderstanding how DIGEST authentica

Re: Logging properties of attributes in the HttpSession

2011-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 9/30/2011 2:18 PM, Konstantin Kolinko wrote: > 2011/9/30 Christopher Schultz : >> The OP should be able to put the Filter into the in >> such a way that the Filter wraps the AccessLogValve, no? >> > > 1. You cannot put a Filter into

Re: WebApps sharing uploaded files

2011-10-03 Thread Léa Massiot
Hello André, Thank you for all these useful advices. Best regards, -- Léa -- View this message in context: http://old.nabble.com/WebApps-sharing-uploaded-files-tp32570911p32582797.html Sent from the Tomcat - User mailing list archive at Nabble.com. -