Re: [Resin-interest] Order of web-fragment.xml vs .tld

2014-02-19 Thread Mattias Jiderhamn
>> Hi list. It seems that Resin will load and initiate Servlet 3.0 
>> web-fragment.xml before it loads and initiates any .tld files - 
>> including s therein - within the same .jar.
>>
>> This results in the AutoProbe module of 
>> http://messadmin.sourceforge.net/ causing exceptions, because it 
>> assumes the servlet context listener defined in it's 
>> taglib-autoprobe.tld has had it's contextInitialized() called before 
>> the filter in web-fragment.xml has it's init() called.
>>
>> This works fine in JBoss, and I'm wondering if anyone knows what the 
>> specs has to say about this?
>> Is Resin at fault, or could MessAdmin be relying on something that 
>> simply is not defined by specs? 
>
>
> Hi Mattias,
>
> I am filing a bug for this: http://bugs.caucho.com/view.php?id=5659 , 
> thanks for reporting!
>
> Can you try redefining the listener in your application’s web.xml as a 
> work around?

For the record, as a workaround removing the AutoProbe module altogether 
and define both listener and filter in web.xml works fine.

-- 

   


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Order of web-fragment.xml vs .tld

2014-02-17 Thread Alex Rojkov

> Hi list. It seems that Resin will load and initiate Servlet 3.0 
> web-fragment.xml before it loads and initiates any .tld files - including 
> s therein - within the same .jar.
> 
> This results in the AutoProbe module of http://messadmin.sourceforge.net/ 
> causing exceptions, because it assumes the servlet context listener defined 
> in it's taglib-autoprobe.tld has had it's contextInitialized() called before 
> the filter in 
> web-fragment.xml has it's init() called.
> 
> This works fine in JBoss, and I'm wondering if anyone knows what the specs 
> has to say about this?
> Is Resin at fault, or could MessAdmin be relying on something that simply is 
> not defined by specs?

Hi Mattias, 

I am filing a bug for this: http://bugs.caucho.com/view.php?id=5659 , thanks 
for reporting!

Can you try redefining the listener in your application’s web.xml as a work 
around?

Thanks,
Alex

> -- 
> 
>   
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Order of web-fragment.xml vs .tld

2014-02-15 Thread Mattias Jiderhamn
Hi list. It seems that Resin will load and initiate Servlet 3.0 
web-fragment.xml before it loads and initiates any .tld files - 
including s therein - within the same .jar.


This results in the AutoProbe module of 
http://messadmin.sourceforge.net/ causing exceptions, because it assumes 
the servlet context listener defined in it's taglib-autoprobe.tld has 
had it's contextInitialized() called before the filter in

web-fragment.xml has it's init() called.

This works fine in JBoss, and I'm wondering if anyone knows what the 
specs has to say about this?
Is Resin at fault, or could MessAdmin be relying on something that 
simply is not defined by specs?


--

  

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest