[JCA/JBoss] - Re: Usage of LastResource Inteface leads to warning
by ypsilon
Hi.
first of all thanks for your reply!
"weston.price(a)jboss.com" wrote : To clarify, are you implementing a ResourceAdapter? It sounds like you are doing far too much in your code as JCA takes care of most of this for you.
|
Actually no: I do not implement a ResourceAdapter. I implement an XAResource. As far as I read that should do the job. Eventhough I have to admit that with the described service it is not possible to create a full featured XAResource. I also have to admit that I am fairly new to the JTA topic. I've done some reading an my idea was (just to clarify the terms that) in my scenario we have:
TransactionManager - as provided by JBoss AS
ResourceManager - the external service provider which will deal with the payments.
My XAResource - The interface used to make the TransactionManager work with the ResourceManager (i.e. the Service Provider)
>From my limited knowledge of JCA I cannot really say if it's a smaller efford to write a JCA ResourceAdapter to do my job. (Actually writing the XAResource was fairly simple as it does not do much)
Am I missing a point here?
Thanks in advance!
Greetings
PeeR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023658#4023658
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023658
18Â years, 8Â months
[JBoss Seam] - Re: Back Button Problem
by h.cahyadi
I found something different in the log, when we success to do back button the log is like this :
| 15:51:23,734 362563 DEBUG [org.jboss.seam.jsf.SeamPortletPhaseListener] before phase: RENDER_RESPONSE(6)
| 15:51:23,734 362563 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 15:51:23,734 362563 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6)
| 15:51:23,734 362563 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 15:51:23,734 362563 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Manager] Found conversation id in request parameter: 12
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Manager] No stored conversation, or concurrent call to the stored conversation
| 15:51:23,734 362563 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(14)
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationList
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationList
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.switcher
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.switcher
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationStack
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationStack
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.facesMessages
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.facesMessages
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.facesMessages
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesMessages
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesMessages
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.facesMessages
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.conversation
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.conversation
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.conversation
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.conversation
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversation
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.conversation
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.facesPage
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.facesPage
| 15:51:23,734 362563 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.facesPage
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesPage
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesPage
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.facesPage
| 15:51:23,734 362563 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforePhase
| 15:51:23,750 362579 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: portal_messages
| 15:51:23,750 362579 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: portal_messages
| 15:51:23,750 362579 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
|
and when we fail to do back button the log is like this :
| 15:54:49,890 568719 DEBUG [org.jboss.seam.jsf.SeamPortletPhaseListener] before phase: RENDER_RESPONSE(6)
| 15:54:49,890 568719 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 15:54:49,890 568719 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6)
| 15:54:49,890 568719 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 15:54:49,890 568719 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Manager] Found conversation id in request parameter: 18
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Manager] Restoring conversation with id: 18
| 15:54:49,890 568719 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(18)
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationList
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationList
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.switcher
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.switcher
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preRemoveVariable.org.jboss.seam.core.conversationStack
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postRemoveVariable.org.jboss.seam.core.conversationStack
| 15:54:49,890 568719 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.facesPage
| 15:54:49,890 568719 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.facesPage
| 15:54:49,890 568719 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.facesPage
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesPage
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesPage
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.facesPage
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforePhase
| 15:54:49,890 568719 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: portal_messages
| 15:54:49,890 568719 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: portal_messages
| 15:54:49,890 568719 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 15:54:49,890 568719 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: controller
| 15:54:49,890 568719 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: controller
| 15:54:49,890 568719 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
| 15:54:49,890 568719 DEBUG [org.jboss.seam.intercept.RootInterceptor] intercepted: controller.getFolderName
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.outermostExceptionInterceptor
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.outermostExceptionInterceptor
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.controller
| 15:54:49,890 568719 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.controller
| 15:54:49,890 568719 DEBUG [org.jboss.seam.interceptors.BijectionInterceptor] injecting dependencies of: controller
| 15:54:49,890 568719 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: docstore
| 15:54:49,890 568719 DEBUG [org.jboss.seam.contexts.Contexts] found in session context: docstore
| 15:54:49,890 568719 DEBUG [org.jboss.seam.Component] trying to inject with hierarchical context search: documentId
can that be a clue to my problem? please give me some suggestion
Thanx and Regards,
-haric-
Note : the log is just partial log, because the whole log is very large :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023655#4023655
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023655
18Â years, 8Â months