- 
        1. Re: Weld 1.1 in GFv3.1 and asynchronous methodsossaert Mar 9, 2011 3:38 AM (in response to ossaert)Anyone? This bug does really impact my project since I cannot fire an asynchronous method anymore, or at least, react on the AFTER_SUCCESS event.
 Greetings
 Jan
- 
        2. Re: Weld 1.1 in GFv3.1 and asynchronous methodsalesj Mar 10, 2011 6:12 AM (in response to ossaert)
 WELD-000401 Failure while notifying an observer of event ....What's the cause of this? 
- 
        3. Re: Weld 1.1 in GFv3.1 and asynchronous methodsossaert Mar 10, 2011 8:39 AM (in response to ossaert)It is caused by the @Asynchronous annotation. When removing this annotation, it works, but of course, the method is not async anymore. I currently rolled back to an older version of Weld where it functioned since my project is relying on the asynchronous method which fires an event. Should this issue be filed as a bug? Greetings 
 Jan
- 
        4. Re: Weld 1.1 in GFv3.1 and asynchronous methodsalesj Mar 10, 2011 12:23 PM (in response to ossaert)
 It is caused by the @Asynchronous annotation. When removing this annotation, it works, but of course, the method is not async anymore.I mean, is there some stacktrace. Or why exactly does this addition break it, or why it works when it's not there. 
- 
        5. Re: Weld 1.1 in GFv3.1 and asynchronous methodsossaert Mar 12, 2011 12:53 PM (in response to ossaert)There is no exception thrown at all. It is just the error-line. Greetings 
 Jan
- 
        6. Re: Weld 1.1 in GFv3.1 and asynchronous methodsalesj Mar 12, 2011 3:36 PM (in response to ossaert)Try and see what that e is in DeferredEventNotification class catch (Exception e) { log.error(ASYNC_OBSERVER_FAILURE, event); xLog.throwing(Level.DEBUG, e); // <--- HERE }
- 
        7. Re: Weld 1.1 in GFv3.1 and asynchronous methodsossaert Mar 14, 2011 5:32 AM (in response to ossaert)I made a small sample project. You can easily see that it functions when the asynchronous annotation is removed. You can download it here: http://www.4eachother.de/AsyncWebApp.zip Greetings 
 Jan
- 
        8. Re: Weld 1.1 in GFv3.1 and asynchronous methodsalesj Mar 14, 2011 11:56 AM (in response to ossaert)Does it work for you in JBoss6? 
- 
        9. Re: Weld 1.1 in GFv3.1 and asynchronous methodsossaert Mar 15, 2011 5:48 AM (in response to ossaert)I do not have the JBoss environment here to test. Could you deploy the project on an instance? J. 
- 
        10. Re: Weld 1.1 in GFv3.1 and asynchronous methodsalesj Mar 15, 2011 10:09 AM (in response to ossaert)
 I do not have the JBoss environment here to test.
- 
        11. Re: Weld 1.1 in GFv3.1 and asynchronous methodsossaert Mar 18, 2011 4:17 AM (in response to ossaert)I do not have the time to install JBoss now. I was hoping one of you could deploy this small WAR file and see what happens. Greetings 
 Jan
- 
        12. Re: Weld 1.1 in GFv3.1 and asynchronous methodsalesj Mar 18, 2011 11:06 AM (in response to ossaert)
 I do not have the time to install JBoss now.Install JBoss --> download + unzip + run "JBOSS_HOME/bin/./run.sh" Test your app --> drop it to JBOSS_HOME/server/default/deploy/ 
- 
        13. Re: Weld 1.1 in GFv3.1 and asynchronous methodsnagelfarweld Apr 12, 2011 8:14 AM (in response to ossaert)I have a similar issue (as posted in its own thread) because I need to use @Observes(during=TransactionPhase.AFTER_COMPLETION which leads to the same error. It worked fine in GFv3.01 and the Weld version that comes with it. So far we haven't found a solutiong for this problem 
 
     
    