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 t

Re: Using EL expressions in an ObjectFactory

2013-09-20 Thread Mark Thomas
ks' request. > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Tuesday, 17 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: >&

Re: Using EL expressions in an ObjectFactory

2013-09-19 Thread Esmond Pitt
er 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: > > java

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 >

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
etCanonicalPath(), f.getCanonicalPath()); } } Dan > > I don't think EL spec does mandate implementations to make their best effort > to find a suitable method when invoking overloaded methods. > > Xavier > > >>

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

2013-09-16 Thread Xavier Dury
it's 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 > F

Re: Using EL expressions in an ObjectFactory

2013-09-16 Thread Daniel Mikusa
rlier). You'll need to either build and use Tomcat trunk or wait until the next RC release is available. Dan > > Regards, > > Xavier > > >> Subject: Re: Using EL expressions in an ObjectFactory >> From: dmik...@gopivota

RE: Using EL expressions in an ObjectFactory

2013-09-16 Thread Xavier Dury
lemented in apache EL? 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 wrote: > >> When

Re: Using EL expressions in an ObjectFactory

2013-09-13 Thread Daniel Mikusa
7;ve noticed the same behavior w/GlassFish's EL 3.0 implementation. Try 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 > > ---- >> Subje

RE: Using EL expressions in an ObjectFactory

2013-09-13 Thread Xavier Dury
ng to class java.net.URI. I'm using 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 >

Re: Using EL expressions in an ObjectFactory

2013-09-12 Thread Daniel Mikusa
n trunk? Point being, 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 express

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

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 th

RE: Using EL expressions in an ObjectFactory

2013-09-12 Thread Xavier Dury
users@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 > "Cache

RE: Using EL expressions in an ObjectFactory

2013-08-30 Thread Xavier Dury
ory if there's one, like  BasicDataSourceFactory... but for exotic and rare cases where no ObjectFactory exist, a generic EL-based one could be helpful). Xavier > Date: Thu, 29 Aug 2013 14:53:31 -0400 > From: ch...@christopherschultz.net > To: u

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

Using EL expressions in an ObjectFactory

2013-08-29 Thread Xavier Dury
Hi, 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 usual types. I always wanted to have an ObjectFactory for URLs but having one for each type is to