commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39434] New: - Thread-safety in Executor
Date Thu, 27 Apr 2006 19:00:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39434>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39434

           Summary: Thread-safety in Executor
           Product: Commons
           Version: 1.0 Alpha
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: SCXML
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: fasihullah.askiri@gmail.com


Hi
I am trying to send an event "connection.connected" to the state-machine which
is in a parallel state. Look at the logs (Removed unnecessary statements), note
the thread name at the beginning and the final transitions.

[CALLBACK.4] Current States: [wait-for-orig-connect, wait-for-ivr-connect]
[CALLBACK.4] Firing
{name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.SIPEndPoint:
orig-line[100]}
[CALLBACK.5] Firing
{name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.IVREndPoint:
ivr-line[msml]}
[CALLBACK.4] transition (event = connection.connected, cond = _eventdata.ID eq
'ivr-line', from =
/setup-call/create-call/ivr-interaction/ivr-leg/wait-for-ivr-connect, to =
/setup-call/create-call/ivr-interaction/ivr-leg/ivr-connected)
[CALLBACK.4] Current States: [wait-for-orig-connect, ivr-connected]
[CALLBACK.5] Current States: [wait-for-orig-connect, wait-for-ivr-connect]
[DATAI.0] Current States: [wait-for-orig-connect, wait-for-ivr-connect]


Three problems:
1. The last three lines above: the change that CALLBACK.4 did is overridden by
CALLBACK.5.
2. Callback 4 has a payload of type:orig-line, 
[CALLBACK.4] Firing
{name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.SIPEndPoint:
orig-line[100]}
But
[CALLBACK.4] transition (event = connection.connected, cond = _eventdata.ID eq
'ivr-line', from =
/setup-call/create-call/ivr-interaction/ivr-leg/wait-for-ivr-connect, to =
/setup-call/create-call/ivr-interaction/ivr-leg/ivr-connected)
it thinks that it has an 'ivr-line'???
3. Where did the orig line disappear??

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message