-
1. Re: Async method not called if @In:ed parameter does not exist
pmuir Apr 14, 2008 12:39 AM (in response to danielc.roth)Which dispatcher are you using? The EJB3 dispatcher helpfully swallows exceptions, just logging the message. Try the thread pool dispatcher...
-
2. Re: Async method not called if @In:ed parameter does not exist
danielc.roth Apr 14, 2008 9:10 AM (in response to danielc.roth)I am using the thread pool.
I am expecting an error message, but it is a totally silent fail, running in info mode. If the parameter doesn't exist in a non-async component one would get the exception
Not-null field is null
, or something equivalent.I could post the debug log if you'd like.
-
3. Re: Async method not called if @In:ed parameter does not exist
pmuir Apr 14, 2008 10:35 AM (in response to danielc.roth)Can you use your debugger to watch for object creation and then trace the problem?
-
4. Re: Async method not called if @In:ed parameter does not exist
danielc.roth Apr 14, 2008 11:39 AM (in response to danielc.roth)Everything looks fine, objects are created as they're supposed to. The output below is with log priority set to ALL, when the timer fires.
It seems like it can't find the url (which is true), but the create=true is disregarded.
10:47:17,624 INFO [STDOUT] 10:47:17,623 DEBUG [Lifecycle] >>> Begin call 10:47:17,628 INFO [STDOUT] 10:47:17,627 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.executingAsynchronousCall 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,628 INFO [STDOUT] 10:47:17,628 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,629 INFO [STDOUT] 10:47:17,629 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,629 INFO [STDOUT] 10:47:17,629 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,629 INFO [STDOUT] 10:47:17,629 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.executingAsynchronousCall 10:47:17,629 INFO [STDOUT] 10:47:17,629 DEBUG [Asynchronous] executing: AsynchronousInvocation(startupTest.run()) 10:47:17,629 INFO [STDOUT] 10:47:17,629 DEBUG [Contexts] found in application context: startupTest 10:47:17,630 INFO [STDOUT] 10:47:17,630 TRACE [RootInterceptor] intercepted: startupTest.run 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.async.AsynchronousIntercepter.REENTRANT 10:47:17,630 INFO [STDOUT] 10:47:17,630 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.async.AsynchronousIntercepter.REENTRANT 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,631 INFO [STDOUT] 10:47:17,631 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.startupTest 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.startupTest 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,632 INFO [STDOUT] 10:47:17,632 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.this 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,633 INFO [STDOUT] 10:47:17,633 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.this 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.method 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,634 INFO [STDOUT] 10:47:17,634 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,634 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.method 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.parameters 10:47:17,635 INFO [STDOUT] 10:47:17,635 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.parameters 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,636 INFO [STDOUT] 10:47:17,636 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.component 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,637 INFO [STDOUT] 10:47:17,637 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.component 10:47:17,637 INFO [STDOUT] 10:47:17,637 TRACE [Component] injecting dependencies of: startupTest 10:47:17,638 INFO [STDOUT] 10:47:17,638 DEBUG [Component] trying to inject with hierarchical context search: url 10:47:17,638 INFO [STDOUT] 10:47:17,638 DEBUG [Component] seam component not found: url 10:47:17,638 INFO [STDOUT] 10:47:17,638 DEBUG [Component] seam component not found: org.jboss.seam.core.url 10:47:17,638 INFO [STDOUT] 10:47:17,638 DEBUG [Component] seam component not found: org.jboss.seam.transaction.url 10:47:17,638 INFO [STDOUT] 10:47:17,638 DEBUG [Component] seam component not found: org.jboss.seam.framework.url 10:47:17,638 INFO [STDOUT] 10:47:17,638 DEBUG [Component] seam component not found: org.jboss.seam.web.url 10:47:17,639 INFO [STDOUT] 10:47:17,638 DEBUG [Component] seam component not found: org.jboss.seam.faces.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.international.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.theme.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.pageflow.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.bpm.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.jms.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.mail.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.security.url 10:47:17,639 INFO [STDOUT] 10:47:17,639 DEBUG [Component] seam component not found: org.jboss.seam.captcha.url 10:47:17,640 INFO [STDOUT] 10:47:17,640 DEBUG [Component] seam component not found: url 10:47:17,640 INFO [STDOUT] 10:47:17,640 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,640 INFO [STDOUT] 10:47:17,640 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,640 INFO [STDOUT] 10:47:17,640 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,640 INFO [STDOUT] 10:47:17,640 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,640 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.async.AsynchronousIntercepter.REENTRANT 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,641 INFO [STDOUT] 10:47:17,641 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.async.AsynchronousIntercepter.REENTRANT 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.executingAsynchronousCall 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.executingAsynchronousCall 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.SESSION 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,660 INFO [STDOUT] 10:47:17,660 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.SESSION 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] instantiating Seam component: org.jboss.seam.transaction.transaction 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.transaction.transaction 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.transaction.transaction 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.transaction.transaction 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.transaction.transaction 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,661 INFO [STDOUT] 10:47:17,661 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,662 INFO [STDOUT] 10:47:17,661 DEBUG [Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.transaction.transaction 10:47:17,663 INFO [STDOUT] 10:47:17,663 DEBUG [Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 10:47:17,665 INFO [STDOUT] 10:47:17,665 DEBUG [Contexts] destroying business process context 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.manager 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.manager 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.manager 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,666 INFO [STDOUT] 10:47:17,666 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,666 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.manager 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Contexts] destroying conversation context 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.CONVERSATION 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.CONVERSATION 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Contexts] flushing server-side conversation context 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Contexts] flushing session context 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Contexts] destroying event context 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,667 INFO [STDOUT] 10:47:17,667 DEBUG [Events] Processing event:org.jboss.seam.preDestroyContext.EVENT 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Contexts] destroying: org.jboss.seam.core.manager 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Contexts] destroying: org.jboss.seam.transaction.transaction 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.transaction.transaction 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Component] done initializing: org.jboss.seam.core.events 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Events] Processing event:org.jboss.seam.postDestroyContext.EVENT 10:47:17,668 INFO [STDOUT] 10:47:17,668 DEBUG [Lifecycle] <<< End call
-
5. Re: Async method not called if @In:ed parameter does not exist
pmuir Apr 14, 2008 12:07 PM (in response to danielc.roth)I can't really tell much from that log I'm afraid.
-
6. Re: Async method not called if @In:ed parameter does not exist
danielc.roth Apr 14, 2008 12:13 PM (in response to danielc.roth)Anything else I could provide, or should I file a JIRA? The code above is the only code I have in this sample project. I use Jboss 4.2.2 nad Seam 2.0.1 .
-
7. Re: Async method not called if @In:ed parameter does not exist
pmuir Apr 14, 2008 12:30 PM (in response to danielc.roth)Try catching all RequiredExceptions in the debugger - I'm pretty sure an exception is getting swallowed somewhere.
-
8. Re: Async method not called if @In:ed parameter does not exist
danielc.roth Apr 14, 2008 1:11 PM (in response to danielc.roth)Yep, RequiredException is thrown(Component.java), but not logged anywhere. Shoudn't it be? Some logging could maybe be added here...:
Asynchronous.java
public void execute(Object timer) { boolean createContexts = !Contexts.isEventContextActive() && !Contexts.isApplicationContextActive(); if (createContexts) Lifecycle.beginCall(); Contexts.getEventContext().set(AbstractDispatcher.EXECUTING_ASYNCHRONOUS_CALL, true); try { executeInContexts(timer); } finally { Contexts.getEventContext().remove(AbstractDispatcher.EXECUTING_ASYNCHRONOUS_CALL); if (createContexts) Lifecycle.endCall(); } }
Thanks for your effort, Pete!