[JBoss jBPM] - Re: Custom TaskInstance as EJB3 entity, how to?
by vladimir.kovalyuk
It seems that Hibernate does not allow to derive custom TaskInstance as EJB3 entity. And jBPM queries its own TaskIntanceS, so we have to derive from TaskInstance. My guess is I won't succeed with that.
Nevertheless how to get my custom TaskInstance beeing EJB3 entity or referencing another EJB3 entity?
Case 1. Deriving @Entity from TaskInstance. It requires to override all properties with appropriate annotations. In this case the problem is in TaskMgmtInstance which queries just TaskInstance.
Case 2. Deriving class from TaskInstance and add it to hibernate.cfg.xml. In this case hibernate does not know EJB3 entities referenced from introduced custom taskinstance.
Case 3. Splitting jbpm-jpdl.jar into two jars, particularly extract entity classes from it. Then introducing @Entity version of all the jbpm entities (another version of second jar). Looks optimistic at the first glance. But I'm not sure that there is no pitfalls connected to Session on which jBPM implementation relies.
What you would suggest?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077590#4077590
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077590
18Â years, 8Â months
[JBoss Seam] - Re: Page takes too long to load
by mgrouch
Here is a timeline of one request
anonymous wrote : 2007-08-23 19:12:40,160 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase RESTORE_VIEW 1
| 2007-08-23 19:12:40,160 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: RESTORE_VIEW 1
| 2007-08-23 19:12:40,160 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW 1
| 2007-08-23 19:12:40,176 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: RESTORE_VIEW 1
| 2007-08-23 19:12:40,222 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process after phase RESTORE_VIEW 1
| 2007-08-23 19:12:40,222 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase APPLY_REQUEST_VALUES 2
| 2007-08-23 19:12:40,222 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: APPLY_REQUEST_VALUES 2
| 2007-08-23 19:12:41,254 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: APPLY_REQUEST_VALUES 2
| 2007-08-23 19:12:41,254 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process after phase APPLY_REQUEST_VALUES 2
| 2007-08-23 19:12:41,254 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase PROCESS_VALIDATIONS 3
| 2007-08-23 19:12:41,254 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: PROCESS_VALIDATIONS 3
| 2007-08-23 19:12:41,472 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: PROCESS_VALIDATIONS 3
| 2007-08-23 19:12:41,472 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process after phase PROCESS_VALIDATIONS 3
| 2007-08-23 19:12:41,472 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase UPDATE_MODEL_VALUES 4
| 2007-08-23 19:12:41,472 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: UPDATE_MODEL_VALUES 4
| 2007-08-23 19:12:41,551 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: UPDATE_MODEL_VALUES 4
| 2007-08-23 19:12:41,551 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process after phase UPDATE_MODEL_VALUES 4
| 2007-08-23 19:12:41,551 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase INVOKE_APPLICATION 5
| 2007-08-23 19:12:41,551 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: INVOKE_APPLICATION 5
| 2007-08-23 19:12:41,566 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: INVOKE_APPLICATION 5
| 2007-08-23 19:12:41,566 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] committing transaction after phase: INVOKE_APPLICATION 5
| 2007-08-23 19:12:41,582 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process after phase INVOKE_APPLICATION 5
| 2007-08-23 19:12:41,582 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase RENDER_RESPONSE 6
| 2007-08-23 19:12:41,582 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: RENDER_RESPONSE 6
| 2007-08-23 19:12:41,582 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE 6
| 2007-08-23 19:12:45,504 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: RENDER_RESPONSE 6
| 2007-08-23 19:12:45,519 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] committing transaction after phase: RENDER_RESPONSE 6
| 2007-08-23 19:12:45,535 DEBUG [org.jboss.seam.contexts.Contexts] destroying: teamdev.jsf.util.AjaxRequestsPhaseListener:phase_passed:4
| 2007-08-23 19:12:45,535 DEBUG [org.jboss.seam.contexts.Contexts] destroying: teamdev.jsf.util.AjaxRequestsPhaseListener:phase_passed:1
| 2007-08-23 19:12:45,535 DEBUG [org.jboss.seam.contexts.Contexts] destroying: teamdev.jsf.util.AjaxRequestsPhaseListener:phase_passed:3
| 2007-08-23 19:12:45,535 DEBUG [org.jboss.seam.contexts.Contexts] destroying: teamdev.jsf.util.AjaxRequestsPhaseListener:phase_passed:2
| 2007-08-23 19:12:45,535 DEBUG [org.jboss.seam.contexts.Contexts] destroying: teamdev.jsf.util.AjaxRequestsPhaseListener:phase_passed:5
| 2007-08-23 19:12:45,535 DEBUG [org.jboss.seam.contexts.Contexts] destroying: teamdev.jsf.util.AjaxRequestsPhaseListener:phase_passed:6
| 2007-08-23 19:12:45,535 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process after phase RENDER_RESPONSE 6
anonymous wrote : 2007-08-23 19:12:46,285 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter] Parsing html total time 672ms
| 2007-08-23 19:12:46,285 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Finished request processing total time 6141ms for uri:
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077578#4077578
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077578
18Â years, 8Â months