GroupSelector jpos 1.6.0

View: New views
6 Messages — Rating Filter:   Alert me  

GroupSelector jpos 1.6.0

by bugzee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,

I must be having a bad jpos day :).
since the i could not get jetty6 to work with axis and jpos 1.6.3 , i
have decided to solve my problem using the GroupSelector, it does not
seem to work well also in jpos 1.6.0

i have a transaction manager configured so

<txnmgr name="switch_core_tm" logger="Q2"
class="org.jpos.transaction.TransactionManager">
<property name="space" value="tspace:default" />
<property name="queue" value="c_queue" />
<property name="sessions" value="5" />
<property name="debug" value="true"/>
<property name="timeout" value="60000"/>

<participant class="org.switch.core.tranbridge.participants.Switch"
logger="Q2">
        <property name="tranbridge" value="Route LogRequest QueryHost
LogResponse"/>
....
</participant>
<group name="Route">
<participant class="org.switch.core.tranbridge.participants.GetRoute"
logger="Q2" />
</group>
......
</txnmgr>

the group selector is called alright but once it executes, it does not
execute the participants of the selected group
this is the output
<log realm="org.jpos.transaction.TransactionManager" at="Thu Jun 19
12:19:50 GMT
 2008.621">
  <debug>
    paypath_core_tm-1:1
            prepare: org.switch.core.tranbridge.participants.Switch
REA
DONLY NO_JOIN
      groupSelector: tranbridge
    elapsed time: 1ms
  </debug>

and it just stops there

btw i am using the context implementation in 1.6.0


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: GroupSelector jpos 1.6.0

by Alejandro Revilla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> this is the output
> <log realm="org.jpos.transaction.TransactionManager" at="Thu Jun 19
> 12:19:50 GMT
>  2008.621">
>   <debug>
>     paypath_core_tm-1:1
>             prepare: org.switch.core.tranbridge.participants.Switch
> REA
> DONLY NO_JOIN
>       groupSelector: tranbridge
>     elapsed time: 1ms
>   </debug>
>
> and it just stops there
>
Can you show us the full transaction manager configuration?

--Alejandro


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: GroupSelector jpos 1.6.0

by bugzee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Here you go
<txnmgr name="switch_core_tm" logger="Q2"
class="org.jpos.transaction.TransactionManager">
<property name="space" value="tspace:default" />
<property name="queue" value="c_queue" />
<property name="sessions" value="5" />
<property name="debug" value="true"/>
<property name="timeout" value="60000"/>

<participant class="org.switch.core.tranbridge.participants.Switch"
logger="Q2">
        <property name="tranbridge" value="Route LogRequest QueryHost
LogResponse"/>
        <property name="splitbridge" value="Routes LogRequest
SplitTransaction QueryHosts LogResponse"/>
</participant>
<group name="Route">
<participant class="org.switch.core.tranbridge.participants.GetRoute"
logger="Q2" />
</group>
<group name="LogRequest">
<participant
class="org.switch.core.tranbridge.participants.LogRequest"
logger="Q2" />
<participant
class="org.switch.core.tranbridge.participants.QueryTransaction"
logger="Q2" />
</group>
<group name="QueryHost">
<participant class="org.switch.core.tranbridge.participants.QueryHost"
logger="Q2" />
</group>
<group name="LogResponse">
<participant
class="org.switch.core.tranbridge.participants.LogResponse"
logger="Q2" />
<participant
class="org.switch.core.tranbridge.participants.SendResponse"
logger="Q2" />
</group>
<group name="SplitTransaction">
<participant
class="org.switch.core.splitbridge.participants.SplitTransaction"
logger="Q2" />
</group>
<group name="Routes">
<participant
class="org.switch.core.splitbridge.participants.GetRoutes"
logger="Q2" />
</group>
<group name="QueryHosts">
<participant
class="org.switch.core.splitbridge.participants.QueryHosts"
logger="Q2" />
</group>

</txnmgr>

On Jun 19, 2:18 pm, Alejandro Revilla <a...@...> wrote:

> > this is the output
> > <log realm="org.jpos.transaction.TransactionManager" at="Thu Jun 19
> > 12:19:50 GMT
> >  2008.621">
> >   <debug>
> >     paypath_core_tm-1:1
> >             prepare: org.switch.core.tranbridge.participants.Switch
> > REA
> > DONLY NO_JOIN
> >       groupSelector: tranbridge
> >     elapsed time: 1ms
> >   </debug>
>
> > and it just stops there
>
> Can you show us the full transaction manager configuration?
>
> --Alejandro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: GroupSelector jpos 1.6.0

by Alejandro Revilla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


It seems that your GroupSelector is returning 'tranbridge' instead
of de-referencing it off the Configuration and returning
"Route LogRequest QueryHost LogResponse"

On Thu, Jun 19, 2008 at 07:23:05AM -0700, bugzee wrote:

>
> Here you go
> <txnmgr name="switch_core_tm" logger="Q2"
> class="org.jpos.transaction.TransactionManager">
> <property name="space" value="tspace:default" />
> <property name="queue" value="c_queue" />
> <property name="sessions" value="5" />
> <property name="debug" value="true"/>
> <property name="timeout" value="60000"/>
>
> <participant class="org.switch.core.tranbridge.participants.Switch"
> logger="Q2">
> <property name="tranbridge" value="Route LogRequest QueryHost
> LogResponse"/>
> <property name="splitbridge" value="Routes LogRequest
> SplitTransaction QueryHosts LogResponse"/>
> </participant>
> <group name="Route">
> <participant class="org.switch.core.tranbridge.participants.GetRoute"
> logger="Q2" />
> </group>
> <group name="LogRequest">
> <participant
> class="org.switch.core.tranbridge.participants.LogRequest"
> logger="Q2" />
> <participant
> class="org.switch.core.tranbridge.participants.QueryTransaction"
> logger="Q2" />
> </group>
> <group name="QueryHost">
> <participant class="org.switch.core.tranbridge.participants.QueryHost"
> logger="Q2" />
> </group>
> <group name="LogResponse">
> <participant
> class="org.switch.core.tranbridge.participants.LogResponse"
> logger="Q2" />
> <participant
> class="org.switch.core.tranbridge.participants.SendResponse"
> logger="Q2" />
> </group>
> <group name="SplitTransaction">
> <participant
> class="org.switch.core.splitbridge.participants.SplitTransaction"
> logger="Q2" />
> </group>
> <group name="Routes">
> <participant
> class="org.switch.core.splitbridge.participants.GetRoutes"
> logger="Q2" />
> </group>
> <group name="QueryHosts">
> <participant
> class="org.switch.core.splitbridge.participants.QueryHosts"
> logger="Q2" />
> </group>
>
> </txnmgr>
>
> On Jun 19, 2:18 pm, Alejandro Revilla <a...@...> wrote:
> > > this is the output
> > > <log realm="org.jpos.transaction.TransactionManager" at="Thu Jun 19
> > > 12:19:50 GMT
> > >  2008.621">
> > >   <debug>
> > >     paypath_core_tm-1:1
> > >             prepare: org.switch.core.tranbridge.participants.Switch
> > > REA
> > > DONLY NO_JOIN
> > >       groupSelector: tranbridge
> > >     elapsed time: 1ms
> > >   </debug>
> >
> > > and it just stops there
> >
> > Can you show us the full transaction manager configuration?
> >
> > --Alejandro
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: GroupSelector jpos 1.6.0

by bugzee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


is there a way to change that


On Jun 19, 3:47 pm, Alejandro Revilla <a...@...> wrote:

> It seems that your GroupSelector is returning 'tranbridge' instead
> of de-referencing it off the Configuration and returning
> "Route LogRequest QueryHost LogResponse"
>
> On Thu, Jun 19, 2008 at 07:23:05AM -0700, bugzee wrote:
>
> > Here you go
> > <txnmgr name="switch_core_tm" logger="Q2"
> > class="org.jpos.transaction.TransactionManager">
> > <property name="space" value="tspace:default" />
> > <property name="queue" value="c_queue" />
> > <property name="sessions" value="5" />
> > <property name="debug" value="true"/>
> > <property name="timeout" value="60000"/>
>
> > <participant class="org.switch.core.tranbridge.participants.Switch"
> > logger="Q2">
> >    <property name="tranbridge" value="Route LogRequest QueryHost
> > LogResponse"/>
> >    <property name="splitbridge" value="Routes LogRequest
> > SplitTransaction QueryHosts LogResponse"/>
> > </participant>
> > <group name="Route">
> > <participant class="org.switch.core.tranbridge.participants.GetRoute"
> > logger="Q2" />
> > </group>
> > <group name="LogRequest">
> > <participant
> > class="org.switch.core.tranbridge.participants.LogRequest"
> > logger="Q2" />
> > <participant
> > class="org.switch.core.tranbridge.participants.QueryTransaction"
> > logger="Q2" />
> > </group>
> > <group name="QueryHost">
> > <participant class="org.switch.core.tranbridge.participants.QueryHost"
> > logger="Q2" />
> > </group>
> > <group name="LogResponse">
> > <participant
> > class="org.switch.core.tranbridge.participants.LogResponse"
> > logger="Q2" />
> > <participant
> > class="org.switch.core.tranbridge.participants.SendResponse"
> > logger="Q2" />
> > </group>
> > <group name="SplitTransaction">
> > <participant
> > class="org.switch.core.splitbridge.participants.SplitTransaction"
> > logger="Q2" />
> > </group>
> > <group name="Routes">
> > <participant
> > class="org.switch.core.splitbridge.participants.GetRoutes"
> > logger="Q2" />
> > </group>
> > <group name="QueryHosts">
> > <participant
> > class="org.switch.core.splitbridge.participants.QueryHosts"
> > logger="Q2" />
> > </group>
>
> > </txnmgr>
>
> > On Jun 19, 2:18 pm, Alejandro Revilla <a...@...> wrote:
> > > > this is the output
> > > > <log realm="org.jpos.transaction.TransactionManager" at="Thu Jun 19
> > > > 12:19:50 GMT
> > > >  2008.621">
> > > >   <debug>
> > > >     paypath_core_tm-1:1
> > > >             prepare: org.switch.core.tranbridge.participants.Switch
> > > > REA
> > > > DONLY NO_JOIN
> > > >       groupSelector: tranbridge
> > > >     elapsed time: 1ms
> > > >   </debug>
>
> > > > and it just stops there
>
> > > Can you show us the full transaction manager configuration?
>
> > > --Alejandro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: GroupSelector jpos 1.6.0

by bugzee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


thanks Alejandro, got it now. think im going to sleep and hope
tomorrow is a better jpos day :)

On Jun 19, 4:47 pm, bugzee <seonw...@...> wrote:

> is there a way to change that
>
> On Jun 19, 3:47 pm, Alejandro Revilla <a...@...> wrote:
>
> > It seems that your GroupSelector is returning 'tranbridge' instead
> > of de-referencing it off the Configuration and returning
> > "Route LogRequest QueryHost LogResponse"
>
> > On Thu, Jun 19, 2008 at 07:23:05AM -0700, bugzee wrote:
>
> > > Here you go
> > > <txnmgr name="switch_core_tm" logger="Q2"
> > > class="org.jpos.transaction.TransactionManager">
> > > <property name="space" value="tspace:default" />
> > > <property name="queue" value="c_queue" />
> > > <property name="sessions" value="5" />
> > > <property name="debug" value="true"/>
> > > <property name="timeout" value="60000"/>
>
> > > <participant class="org.switch.core.tranbridge.participants.Switch"
> > > logger="Q2">
> > >    <property name="tranbridge" value="Route LogRequest QueryHost
> > > LogResponse"/>
> > >    <property name="splitbridge" value="Routes LogRequest
> > > SplitTransaction QueryHosts LogResponse"/>
> > > </participant>
> > > <group name="Route">
> > > <participant class="org.switch.core.tranbridge.participants.GetRoute"
> > > logger="Q2" />
> > > </group>
> > > <group name="LogRequest">
> > > <participant
> > > class="org.switch.core.tranbridge.participants.LogRequest"
> > > logger="Q2" />
> > > <participant
> > > class="org.switch.core.tranbridge.participants.QueryTransaction"
> > > logger="Q2" />
> > > </group>
> > > <group name="QueryHost">
> > > <participant class="org.switch.core.tranbridge.participants.QueryHost"
> > > logger="Q2" />
> > > </group>
> > > <group name="LogResponse">
> > > <participant
> > > class="org.switch.core.tranbridge.participants.LogResponse"
> > > logger="Q2" />
> > > <participant
> > > class="org.switch.core.tranbridge.participants.SendResponse"
> > > logger="Q2" />
> > > </group>
> > > <group name="SplitTransaction">
> > > <participant
> > > class="org.switch.core.splitbridge.participants.SplitTransaction"
> > > logger="Q2" />
> > > </group>
> > > <group name="Routes">
> > > <participant
> > > class="org.switch.core.splitbridge.participants.GetRoutes"
> > > logger="Q2" />
> > > </group>
> > > <group name="QueryHosts">
> > > <participant
> > > class="org.switch.core.splitbridge.participants.QueryHosts"
> > > logger="Q2" />
> > > </group>
>
> > > </txnmgr>
>
> > > On Jun 19, 2:18 pm, Alejandro Revilla <a...@...> wrote:
> > > > > this is the output
> > > > > <log realm="org.jpos.transaction.TransactionManager" at="Thu Jun 19
> > > > > 12:19:50 GMT
> > > > >  2008.621">
> > > > >   <debug>
> > > > >     paypath_core_tm-1:1
> > > > >             prepare: org.switch.core.tranbridge.participants.Switch
> > > > > REA
> > > > > DONLY NO_JOIN
> > > > >       groupSelector: tranbridge
> > > > >     elapsed time: 1ms
> > > > >   </debug>
>
> > > > > and it just stops there
>
> > > > Can you show us the full transaction manager configuration?
>
> > > > --Alejandro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To post to this group, send email to jpos-users@...
To unsubscribe from this group, send email to jpos-users-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/jpos-users?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price