Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-31 Thread Matthias Wessendorf
Jakub, this does NOT happen on windows, right ? -Matthias On Tue, Aug 24, 2010 at 4:11 PM, Jakub Kahovec jakub.kaho...@googlemail.com wrote: Hi Matthias, thanks for your reply. Well, brief steps how to reproduce this are already in the ticket (not much descriptive though :-). The scenario

Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-31 Thread Matthias Wessendorf
Tried with TRINIDAD-1.2.15-SNAPSHOT (our 12x trunk) + MyFaces 1.2.9 could not reproduce it with the Trinidad demo On Tue, Aug 31, 2010 at 12:12 PM, Matthias Wessendorf mat...@apache.org wrote: Jakub, this does NOT happen on windows, right ? -Matthias On Tue, Aug 24, 2010 at 4:11 PM, Jakub

Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-31 Thread Jakub Kahovec
Hi Matthias, It happens on Windows as well. After some investigation I found out that the trouble maker is method org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl#init(javax.faces.context.ExternalContext), and the critical section is if (!_initialized) { try {

[Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-24 Thread Jakub Kahovec
Hi there, in our application (tomcat 6.0.28+ trinidad 1.2.13+facelets) we are time to time experiencing java.lang.IllegalStateException: Factory already available for this class loader, which seems to be happening when there are two (or more) requests sent very quickly to the server (which IMHO

Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-24 Thread Matthias Wessendorf
HEllo Jakub, can you update the ticket with how to reproduce? I'll take a look next week (currently on vacation) -M On Tue, Aug 24, 2010 at 2:48 PM, Jakub Kahovec jakub.kaho...@googlemail.com wrote: Hi there, in our application (tomcat 6.0.28+ trinidad 1.2.13+facelets) we are time to time

Re: [Trinidad] java.lang.IllegalStateException: Factory already available for this class loader

2010-08-24 Thread Jakub Kahovec
Hi Matthias, thanks for your reply. Well, brief steps how to reproduce this are already in the ticket (not much descriptive though :-). The scenario consist just from creating two JSF pages and sending them simultaneously immediately when the server has just started. As regards the patch, I've