Re: Using EL expressions in an ObjectFactory

2013-09-20 Thread Mark Thomas
September 2013 12:02 AM To: Tomcat Users List Subject: Re: Using EL expressions in an ObjectFactory 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

RE: Using EL expressions in an ObjectFactory

2013-09-20 Thread Xavier Dury
/ From: kal...@hotmail.com To: users@tomcat.apache.org Subject: RE: Using EL expressions in an ObjectFactory Date: Mon, 16 Sep 2013 16:34:20 +0200 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

Re: Using EL expressions in an ObjectFactory

2013-09-19 Thread Esmond Pitt
:02 AM To: Tomcat Users List Subject: Re: Using EL expressions in an ObjectFactory 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

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
Subject: Re: Using EL expressions in an ObjectFactory From: dmik...@gopivotal.com Date: Fri, 13 Sep 2013 15:38:29 -0400 To: users@tomcat.apache.org On Sep 13, 2013, at 3:27 AM, Xavier Dury kal...@hotmail.com wrote: When I try the following: ELProcessor processor = new ELProcessor

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
Regards, Xavier Subject: Re: Using EL expressions in an ObjectFactory From: dmik...@gopivotal.com Date: Fri, 13 Sep 2013 15:38:29 -0400 To: users@tomcat.apache.org On Sep 13, 2013, at 3:27 AM, Xavier Dury kal...@hotmail.com wrote: When I try

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
normal behaviour, isn't it? I don't think EL spec does mandate implementations to make their best effort to find a suitable method when invoking overloaded methods. Xavier Subject: Re: Using EL expressions in an ObjectFactory From: dmik...@gopivotal.com

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: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
effort to find a suitable method when invoking overloaded methods. Xavier Subject: Re: Using EL expressions in an ObjectFactory From: dmik...@gopivotal.com Date: Mon, 16 Sep 2013 07:48:33 -0400 To: users@tomcat.apache.org On Sep 16, 2013, at 3:03

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: Using EL expressions in an ObjectFactory

2013-09-13 Thread Xavier Dury
glassfish javax.el 3.0 implementation for my tests. Maybe the problem comes from this specific implementation. Xavier Subject: Re: Using EL expressions in an ObjectFactory From: dmik...@gopivotal.com Date: Thu, 12 Sep 2013 17:10:21 -0400 To: users

Re: Using EL expressions in an ObjectFactory

2013-09-13 Thread Daniel Mikusa
building Tomcat trunk and using it's implementation or using the next Tomcat 8 RC when it's available. Neither should have that problem. Dan Subject: Re: Using EL expressions in an ObjectFactory From: dmik...@gopivotal.com Date: Thu, 12 Sep 2013

RE: Using EL expressions in an ObjectFactory

2013-09-12 Thread Xavier Dury
@tomcat.apache.org Subject: RE: Using EL expressions in an ObjectFactory Date: Fri, 30 Aug 2013 09:41:09 +0200 Hi, I don't think you understood me. The point here is not about the ${catalina.base}, it's about the whole expression CacheManager.newInstance(URI('file:${catalina.base}/conf

Re: Using EL expressions in an ObjectFactory

2013-09-12 Thread Mark Thomas
On 12/09/2013 11:49, Xavier Dury wrote: Hi, I implemented a simple ExpressionFactory @ https://github.com/kalgon/expression-factory. I would love to see this ExpressionFactory next to org.apache.naming.factory.BeanFactory in tomcat. No objections in principle. Haven't looked at the new

RE: Using EL expressions in an ObjectFactory

2013-09-12 Thread Xavier Dury
Ok, I fixed the styling and the documentation. If anything else must be changed, don't hesitate. Thanks, Xavier. Date: Thu, 12 Sep 2013 12:01:26 +0100 From: ma...@apache.org To: users@tomcat.apache.org Subject: Re: Using EL expressions

Re: Using EL expressions in an ObjectFactory

2013-09-12 Thread Daniel Mikusa
, if you're seeing an issue with EL 3.0, we should try to fix it. Dan Date: Thu, 12 Sep 2013 12:01:26 +0100 From: ma...@apache.org To: users@tomcat.apache.org Subject: Re: Using EL expressions in an ObjectFactory On 12/09/2013 11:49, Xavier Dury wrote

RE: Using EL expressions in an ObjectFactory

2013-08-30 Thread Xavier Dury
exist, a generic EL-based one could be helpful). Xavier Date: Thu, 29 Aug 2013 14:53:31 -0400 From: ch...@christopherschultz.net To: users@tomcat.apache.org Subject: Re: Using EL expressions in an ObjectFactory -BEGIN PGP SIGNED MESSAGE- Hash

Re: Using EL expressions in an ObjectFactory

2013-08-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xavier, On 8/29/13 3:06 AM, Xavier Dury wrote: Could it be possible for the tomcat team to include a javax.naming.spi.ObjectFactory which would use EL3.0 expressions? It would be great if you want to have resource-ref which are not of the