[
https://issues.apache.org/jira/browse/TUSCANY-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576948#action_12576948
]
ant elder commented on TUSCANY-1974:
------------------------------------
As a quick test i tried debugging through the current trunk code and comparing
it to debugging through the same from the 1.0.1 Tuscany release code. That was
setting break points in various methods in the tuscany-binding-dwr code and
seeing what happens differently in trunk compared with 1.0.1. I start up
tomcat, open two browser windows to http://localhost:8080/sample-chat-webapp/
then enter a name/text in one chat window. The main differenece is in
org.apache.tuscany.sca.binding.dwr.invoke the line
Collection sessions = wctx.getScriptSessionsByPage(currentPage);
returns no sessions with the trunk code and two sessions (one for each open
browser window) with the 1.0.1 code.
So the question is why aren't the sessions being found correctly any more?
> Chat webapp sample misses chat messages
> ---------------------------------------
>
> Key: TUSCANY-1974
> URL: https://issues.apache.org/jira/browse/TUSCANY-1974
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Samples
> Affects Versions: Java-SCA-1.1
> Environment: Tuscany 1.1 RC1
> RHEL5
> IBM JDK 1.5
> Tested Firefox 2.0.0.11 and 3.0 beta2
> Reporter: Jean-Sebastien Delfino
> Assignee: ant elder
> Fix For: Java-SCA-Next
>
>
> To reproduce the issue:
> Deploy the Chat webapp to Tomcat and open it in Firefox
> enter nickname: test1, text: 1
> nothing is logged, the message seems to be lost
> enter text: 2, then 2 is logged
> Another weird issue:
> open another window
> enter nickname: test2, text: a
> again 'a' is lost
> enter text b, this time b is logged
> Go back to the first window
> enter several text messages
> they are logged in the first window but none of them is logged in the second
> window
> The chat application does not seem to really work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]