RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
Hi, I switched to org.apache.tomcat:tomcat-jasper-el:8.0.0-RC1 as javax.el 3.0 implementation and tested with the following code: ELProcessor processor = new ELProcessor(); processor.getELManager().importClass(java.io.File); processor.eval(File('./')); but I get the following error:

Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Jim Barber
Hi all. I'm hoping someone on this list can help me since I've been reading docs, mailing lists, FAQs, and so on for hours now, and I'm not having much luck finding an answer to my question. I am using Tomcat version 7.0.42 as packaged in Debian Linux. In front of my Tomcat servers, I am using

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Cédric Couralet
Hi, I'm also interested in a method to filter those OPTIONS. With the same setup, I basically created my own AccessLogValve wich does the filtering, something like : /** * Don't log request when HTTP Method is one of the exclude List */ @Override public void log(Request

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread André Warnier
Apologies for top posting, just following the trend. OPTIONS are used quite a bit by e.g. DAV clients. Won't you want also to add an IP filter then, to be able to block selectively only the requests from the proxies themselves ? Cédric Couralet wrote: Hi, I'm also interested in a method to

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Cédric Couralet
2013/9/16 André Warnier a...@ice-sa.com: Apologies for top posting, just following the trend. OPTIONS are used quite a bit by e.g. DAV clients. Won't you want also to add an IP filter then, to be able to block selectively only the requests from the proxies themselves ? Sorry for the

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Niki Dokovski
On Fri, Sep 13, 2013 at 9:27 PM, Niki Dokovski nick...@gmail.com wrote: On Fri, Sep 13, 2013 at 8:55 PM, Nick Williams nicho...@nicholaswilliams.net wrote: On Sep 13, 2013, at 12:42 PM, Igor Urisman wrote: I couldn't agree more. WebSocket is provided by the container. But the time

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Mark Thomas
On 16/09/2013 10:00, Niki Dokovski wrote: On Fri, Sep 13, 2013 at 9:27 PM, Niki Dokovski nick...@gmail.com wrote: On Fri, Sep 13, 2013 at 8:55 PM, Nick Williams nicho...@nicholaswilliams.net wrote: On Sep 13, 2013, at 12:42 PM, Igor Urisman wrote: I couldn't agree more. WebSocket is

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Jim Barber
On 16/09/2013 4:46 PM, André Warnier wrote: Apologies for top posting, just following the trend. OPTIONS are used quite a bit by e.g. DAV clients. Won't you want also to add an IP filter then, to be able to block selectively only the requests from the proxies themselves ? Cédric Couralet

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread André Warnier
Jim Barber wrote: On 16/09/2013 4:46 PM, André Warnier wrote: Apologies for top posting, just following the trend. OPTIONS are used quite a bit by e.g. DAV clients. Won't you want also to add an IP filter then, to be able to block selectively only the requests from the proxies themselves ?

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Niki Dokovski
On Mon, Sep 16, 2013 at 12:09 PM, Mark Thomas ma...@apache.org wrote: On 16/09/2013 10:00, Niki Dokovski wrote: On Fri, Sep 13, 2013 at 9:27 PM, Niki Dokovski nick...@gmail.com wrote: On Fri, Sep 13, 2013 at 8:55 PM, Nick Williams nicho...@nicholaswilliams.net wrote: On Sep

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Felix Schumacher
Am Montag, den 16.09.2013, 10:01 +0200 schrieb Cédric Couralet: Hi, I'm also interested in a method to filter those OPTIONS. With the same setup, I basically created my own AccessLogValve wich does the filtering, something like : /** * Don't log request when HTTP Method is one of

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Nick Williams
On Sep 16, 2013, at 4:09 AM, Mark Thomas wrote: On 16/09/2013 10:00, Niki Dokovski wrote: On Fri, Sep 13, 2013 at 9:27 PM, Niki Dokovski nick...@gmail.com wrote: On Fri, Sep 13, 2013 at 8:55 PM, Nick Williams nicho...@nicholaswilliams.net wrote: On Sep 13, 2013, at 12:42 PM,

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
On Sep 16, 2013, at 3:03 AM, Xavier Dury kal...@hotmail.com wrote: Hi, I switched to org.apache.tomcat:tomcat-jasper-el:8.0.0-RC1 as javax.el 3.0 implementation and tested with the following code: ELProcessor processor = new ELProcessor();

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
I built tomcat from trunk (rev 1523639) and I'm having the same issue I had with glassfish EL implementation when using overloaded methods: javax.el.ELException: Cannot convert ./ of type class java.lang.String to class java.net.URI at

Re: Apache Tomcat 7.x: Host+Alias and HTTP 301

2013-09-16 Thread jieryn
Greetings, On Sat, Jul 20, 2013 at 12:36 AM, jieryn jie...@gmail.com wrote: I have multiple host names which resolve to the same application context, e.g. app.host1.com (host) and app.host2.com (alias). I have implemented this within conf/server.xml via Host and Alias definitions. Just to

Re: too many apache digester logs

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fachhoch, On 9/13/13 10:08 PM, fachhoch wrote: One more interesting thing I added this server to my eclispe IDE and run from eclipse I don't get digester logs , but when run from console lots of digester logs. This corroborates my sense

Re: Multi-URL Access 1 Webapp

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 9/14/13 7:27 PM, Chris Arnold wrote: Chuck, On 9/13/13 4:38 PM, Caldarale, Charles R wrote: From: Chris Arnold [mailto:carn...@electrichendrix.com] Subject: Multi-URL Access 1 Webapp Tomcat 7.0.3 i believe Not bloody likely -

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Mark Thomas
On 16/09/2013 14:43, Xavier Dury wrote: I built tomcat from trunk (rev 1523639) and I'm having the same issue I had with glassfish EL implementation when using overloaded methods: javax.el.ELException: Cannot convert ./ of type class java.lang.String to class java.net.URI at

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jim, On 9/16/13 3:42 AM, Jim Barber wrote: I'm hoping someone on this list can help me since I've been reading docs, mailing lists, FAQs, and so on for hours now, and I'm not having much luck finding an answer to my question. I am using

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
On Sep 16, 2013, at 9:43 AM, Xavier Dury kal...@hotmail.com wrote: I built tomcat from trunk (rev 1523639) and I'm having the same issue I had with glassfish EL implementation when using overloaded methods: javax.el.ELException: Cannot convert ./ of type class java.lang.String to class

Re: Invalid Jar Index : Java 6/tomcat 5.5/linux

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sabari, On 9/16/13 9:36 AM, Sabari Gandhi wrote: I am sending this error again with more details: I am currently using Java 6 and tomcat 5.5 and my environment is linux. You are about to hear this from every reply: upgrade. Tomcat 5.5 is no

Re: too many apache digester logs

2013-09-16 Thread Konstantin Kolinko
2013/9/16 Christopher Schultz ch...@christopherschultz.net: On 9/13/13 10:08 PM, fachhoch wrote: One more interesting thing I added this server to my eclispe IDE and run from eclipse I don't get digester logs , but when run from console lots of digester logs. This corroborates my sense

Re: Invalid Jar Index : Java 6/tomcat 5.5/linux

2013-09-16 Thread Daniel Mikusa
On Sep 16, 2013, at 9:36 AM, Sabari Gandhi sgan...@kivasystems.com wrote: Hi, I am sending this error again with more details: I am currently using Java 6 and tomcat 5.5 Don't use Tomcat 5.5. It has not been supported for almost a year now. Upgrade ASAP. and my environment is

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 9/16/13 5:09 AM, Mark Thomas wrote: The only requirement on ordering is at the end of section 8.2 which requires that application SCIs are discovered before container SCIs. That is the opposite to what is being requested here. The

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Felix Schumacher
Am Montag, den 16.09.2013, 10:02 -0400 schrieb Christopher Schultz: Jim, On 9/16/13 3:42 AM, Jim Barber wrote: I'm hoping someone on this list can help me since I've been reading docs, mailing lists, FAQs, and so on for hours now, and I'm not having much luck finding an answer to my

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
I found the problem: I was using javax.el:javax.el-api:3.0.0 as EL api jar... now, if I use the el-api provided by tomcat, everything works fine. Xavier Subject: Re: Using EL expressions in an ObjectFactory From: dmik...@gopivotal.com Date: Mon, 16

Re: too many apache digester logs

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 9/16/13 10:17 AM, Konstantin Kolinko wrote: 2013/9/16 Christopher Schultz ch...@christopherschultz.net: On 9/13/13 10:08 PM, fachhoch wrote: One more interesting thing I added this server to my eclispe IDE and run from eclipse I

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felix, On 9/16/13 10:25 AM, Felix Schumacher wrote: Am Montag, den 16.09.2013, 10:02 -0400 schrieb Christopher Schultz: Jim, On 9/16/13 3:42 AM, Jim Barber wrote: I'm hoping someone on this list can help me since I've been reading docs,

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Mark Thomas
On 16/09/2013 15:21, Christopher Schultz wrote: Mark, On 9/16/13 5:09 AM, Mark Thomas wrote: The only requirement on ordering is at the end of section 8.2 which requires that application SCIs are discovered before container SCIs. That is the opposite to what is being requested here.

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Niki Dokovski
On Monday, September 16, 2013, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 9/16/13 5:09 AM, Mark Thomas wrote: The only requirement on ordering is at the end of section 8.2 which requires that application SCIs are discovered before container

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Mark Thomas
On 16/09/2013 16:57, Mark Thomas wrote: The issue is with the lack of clarity from the EG with respect to ordering. I read section 8.2 one way but it is open to interpretation. I've dug back through the Servlet 3.0 mailing list. The text at the end of section 8.2 is aimed at the case where the

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 9/16/13 11:57 AM, Mark Thomas wrote: On 16/09/2013 15:21, Christopher Schultz wrote: Mark, On 9/16/13 5:09 AM, Mark Thomas wrote: The only requirement on ordering is at the end of section 8.2 which requires that application SCIs

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Nick Williams
On Sep 16, 2013, at 11:21 AM, Mark Thomas wrote: On 16/09/2013 16:57, Mark Thomas wrote: The issue is with the lack of clarity from the EG with respect to ordering. I read section 8.2 one way but it is open to interpretation. I've dug back through the Servlet 3.0 mailing list. The text

Re: 8.0.0 RC1: WebSocket ServerContainer servlet context attribute gets set too late.

2013-09-16 Thread Niki Dokovski
On Mon, Sep 16, 2013 at 6:57 PM, Mark Thomas ma...@apache.org wrote: On 16/09/2013 15:21, Christopher Schultz wrote: Mark, On 9/16/13 5:09 AM, Mark Thomas wrote: The only requirement on ordering is at the end of section 8.2 which requires that application SCIs are discovered before

Re: use password expiration with datasource realm

2013-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stefan, On 9/16/13 2:02 PM, Stefan Frei wrote: The user should have a password which should change after a time (eg one month). So how do i intercept a login request after j_security_check which redirects the user to a „change your password“

use password expiration with datasource realm

2013-09-16 Thread Stefan Frei
Hello there Tomcat 7.0.42 Windows 7 64 bit Im searching for a solution here cause i didnt find anything on the internet about it. First i describe the current config: We use a datasource realm to authenticate users with sha encrypted passwords. Everything works well with this

Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-16 Thread Mavenpol Saulon
Good Day! Everything was followed perfectly from this URL: http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html. I've done this setup a lot of times already and mostly I have been successful. Until our security team noticed that the installed root CA is incorrect. Instead of just importing

Re: use password expiration with datasource realm

2013-09-16 Thread Neven Cvetkovic
The problem: The user should have a password which should change after a time (eg one month). So how do i intercept a login request after j_security_check which redirects the user to a „change your password“ page before redirecting him (as it usually would be), to the url he requested

Re: Multi-URL Access 1 Webapp

2013-09-16 Thread Chris Arnold
Chris, If you just need 1 deployed webapp, then simply change your webapp to sniff the client's name from the URL. You don't need to change anything: you still only need one (default) virtual host in Tomcat, and you can do whatever you want (e.g. single virtual host) in httpd. Maybe i need to

Re: use password expiration with datasource realm

2013-09-16 Thread Stefan Frei
Hello Neven Thanks for your reply. I didnt find anything about security filter in the tomcat docs, is this a common filter. important would be that the filter triggers only when users perform a j_security check, and not on every request. should i use filter-mapping/j_security_check/filter-mapping

Re: use password expiration with datasource realm

2013-09-16 Thread Neven Cvetkovic
On Sep 16, 2013 10:15 PM, Stefan Frei stefan.a.f...@gmail.com wrote: Hello Neven Thanks for your reply. I didnt find anything about security filter in the tomcat docs, is this a common filter. important would be that the filter triggers only when users perform a j_security check, and not on

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-16 Thread Jan Vávra
|Hello, on http://support.mozilla.org/cs/questions/952242 there is described smthg about ssl protocol settings for Firefox. It seems like you have configured ||in server.xml||eg. only SSLv2 protocol that is disabled in the client browser

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-16 Thread Mavenpol Saulon
Thanks Jan for replying. Unfortunately, I'm not inclined on going to the direction that it's a browser problem. This server where I imported the certificates and has been encountering errors is just one of the servers that are configured to run SSL. All of the other servers have the same setup

Re: too many apache digester logs

2013-09-16 Thread fachhoch
Thanks a lot for all your help. -- View this message in context: http://tomcat.10.x6.nabble.com/too-many-apache-digester-logs-tp5004609p5004843.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To

Fwd: Atcafe.loopmobile.in

2013-09-16 Thread Poonam Vishal
-- Forwarded message -- From: Poonam Vishal poonam...@gmail.com Date: Tue, Sep 17, 2013 at 11:19 AM Subject: Atcafe.loopmobile.in To: users@tomcat.apache.org Hi I am using Mobile and when ever I open Web browser with our without integer it opens the link page

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Jim Barber
All, On 16/09/2013 10:52 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felix, On 9/16/13 10:25 AM, Felix Schumacher wrote: Am Montag, den 16.09.2013, 10:02 -0400 schrieb Christopher Schultz: Jim, On 9/16/13 3:42 AM, Jim Barber wrote: I'm hoping someone on