You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/11 05:28:52 UTC
[jira] Commented: (AXISCPP-180) Make the LibWWW based transport thread safe
The following comment has been added to this issue:
Author: Samisa Abeysinghe
Created: Sun, 10 Oct 2004 8:27 PM
Body:
I have been trying my best to get the threads working with the pseudo
thread model of LibWWW. But even with lib level init within Axis C++, when used with a real pthrerad application, the LibWWW
library fails. Looks like we have to modify LibWWW to make it really
thread safe (putting locks etc.) - see http://lists.w3.org/Archives/Public/www-lib/1998JanMar/0033.html for more details (looking at the mail threads on thread safety of LibWWW mail list archives, it looks like many have unresolved problems with LibWWW thread safety.
It is too much to include thread safe locks in LibWWW code and use it in Axis C++. I do not think it is worth consodering to use LibWWW based transport with our own modifications to LibWWW source, to make it thread safe.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/AXISCPP-180?page=comments#action_53892
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-180
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-180
Summary: Make the LibWWW based transport thread safe
Type: Bug
Status: Open
Priority: Major
Project: Axis-C++
Components:
Transport (Server)
Versions:
current (nightly)
Assignee: Samisa Abeysinghe
Reporter: Samisa Abeysinghe
Created: Thu, 30 Sep 2004 3:54 AM
Updated: Sun, 10 Oct 2004 8:27 PM
Due: Fri, 8 Oct 2004 12:00 AM
Environment: Linux platfrom
Description:
The test program in tests/client/threadSafe fails randomly with LibWWW based transport.
It was expected that lib level init made possible by Axis::initialize would have made this transport thread safe, however, there are some undefined behaviours at times.
This problem could not be solved even with the pseudo locking model implemented to guard against event loop conflicts.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira