You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "jeff ling (JIRA)" <ji...@apache.org> on 2006/08/09 21:29:13 UTC
[jira] Created: (AXIS2-994) web service stub generator
populateAxisService() and populateFaults() should not be called from
constructor
web service stub generator populateAxisService() and populateFaults() should not be called from constructor
-----------------------------------------------------------------------------------------------------------
Key: AXIS2-994
URL: http://issues.apache.org/jira/browse/AXIS2-994
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: Tools
Affects Versions: 1.0
Reporter: jeff ling
These two methods initialize static variables. in a multi-threaded environment, one thread is using the variables while another is in constructor that cleared them out. My fix is to have a "static" block for the class and call them from there.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-994) web service stub generator
populateAxisService() and populateFaults() should not be called from
constructor
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-994?page=all ]
Davanum Srinivas updated AXIS2-994:
-----------------------------------
Priority: Blocker (was: Major)
> web service stub generator populateAxisService() and populateFaults() should not be called from constructor
> -----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-994
> URL: http://issues.apache.org/jira/browse/AXIS2-994
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.0
> Reporter: jeff ling
> Priority: Blocker
>
> These two methods initialize static variables. in a multi-threaded environment, one thread is using the variables while another is in constructor that cleared them out. My fix is to have a "static" block for the class and call them from there.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-994) web service stub generator
populateAxisService() and populateFaults() should not be called from
constructor
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-994?page=all ]
Deepal Jayasinghe resolved AXIS2-994.
-------------------------------------
Resolution: Fixed
We had the same procedure sometimes ago , but that gave us some problems. So I removed the static block and all the static variables.
There was only one static variable called operations , now I removed that too.
P:S - Axis2 client API is not thread safe
> web service stub generator populateAxisService() and populateFaults() should not be called from constructor
> -----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-994
> URL: http://issues.apache.org/jira/browse/AXIS2-994
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.0
> Reporter: jeff ling
> Priority: Blocker
>
> These two methods initialize static variables. in a multi-threaded environment, one thread is using the variables while another is in constructor that cleared them out. My fix is to have a "static" block for the class and call them from there.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Reopened: (AXIS2-994) web service stub generator
populateAxisService() and populateFaults() should not be called from
constructor
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-994?page=all ]
Davanum Srinivas reopened AXIS2-994:
------------------------------------
The build fails. reverted the change i made for this bug for now.
-- dims
> web service stub generator populateAxisService() and populateFaults() should not be called from constructor
> -----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-994
> URL: http://issues.apache.org/jira/browse/AXIS2-994
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.0
> Reporter: jeff ling
>
> These two methods initialize static variables. in a multi-threaded environment, one thread is using the variables while another is in constructor that cleared them out. My fix is to have a "static" block for the class and call them from there.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-994) web service stub generator
populateAxisService() and populateFaults() should not be called from
constructor
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-994?page=all ]
Davanum Srinivas resolved AXIS2-994.
------------------------------------
Resolution: Fixed
Done. Thanks.
-- dims
> web service stub generator populateAxisService() and populateFaults() should not be called from constructor
> -----------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-994
> URL: http://issues.apache.org/jira/browse/AXIS2-994
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.0
> Reporter: jeff ling
>
> These two methods initialize static variables. in a multi-threaded environment, one thread is using the variables while another is in constructor that cleared them out. My fix is to have a "static" block for the class and call them from there.
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org