Hi Philippe
>
> I did the following patch and this seems to work well on GAE:
>
> public final <T> T resolve(final String entryName, final Class<T> clz) {
>
> Object obj = null;
> try {
> if (entryName != null) {
> InitialContext ic = new InitialContext();
> try {
> obj = ic.lookup(entryName);
> } finally {
> ic.close();
> }
> }
> // BEFORE } catch (NamingException e) {
> } catch (Throwable t) {
> //do nothing
> }
>
> I am keeping the original code and just catching Throwable instead of
> NamingException.
OK, thanks for this confirmation - for the moment I reverted the
reflection-based code but retained the Throwable catch - we can add
the reflection code
back if needed later on
Cheers, Sergey
>
> A+
> Philippe
>
>>
>> Cheers, Sergey
>>
>>> A+
>>> Philippe Merle
>>>
>
>
--
Sergey Beryozkin
http://sberyozkin.blogspot.com
Talend - http://www.talend.com