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 t

Fwd: Atcafe.loopmobile.in

2013-09-16 Thread Poonam Vishal
-- Forwarded message -- From: Poonam Vishal 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 http://atcafe.loopmobile.in/ Kindly a

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 unsubsc

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 exc

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 http://tomcat.apache.org/tomcat-7.0-doc/config/htt

Re: use password expiration with datasource realm

2013-09-16 Thread Neven Cvetkovic
On Sep 16, 2013 10:15 PM, "Stefan Frei" 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 every request.

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 /j_security_check ? Cheers Stefan 2013/9/16

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 ne

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 req

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 the

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 solu

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 passw

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

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. > > T

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 applica

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 th

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

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

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

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 : >> 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 digeste

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

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

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 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 linux. I see an myste

Re: too many apache digester logs

2013-09-16 Thread Konstantin Kolinko
2013/9/16 Christopher Schultz : > 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 that your configurati

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

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
On Sep 16, 2013, at 9:43 AM, 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 >

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 T

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 or

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

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 t

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 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 close the loop

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 org.apache.el.lang.ELSupport.coerceToType(ELSupport.

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
On Sep 16, 2013, at 3:03 AM, Xavier Dury 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(); > processor.getELManager().importClass("java.io.File"); > pro

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 wrote: >> >>> >>> >>> >>> On Fri, Sep 13, 2013 at 8:55 PM, Nick Williams < >>> nicho...@nicholaswilliams.net> wrote: >>> On Sep 13, 2013,

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 on

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 wrote: > On 16/09/2013 10:00, Niki Dokovski wrote: > > On Fri, Sep 13, 2013 at 9:27 PM, Niki Dokovski > 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 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 ? C

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 wrote

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 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. W

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

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-16 Thread Cédric Couralet
2013/9/16 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 ? > > Sorry for the top-post, i hav

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 f

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 request,

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 h

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: javax.