You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org> on 2005/06/02 00:45:27 UTC
[jira] Created: (BEEHIVE-781) web service control leaks two input streams when creating a service control
web service control leaks two input streams when creating a service control
---------------------------------------------------------------------------
Key: BEEHIVE-781
URL: http://issues.apache.org/jira/browse/BEEHIVE-781
Project: Beehive
Type: Bug
Components: Controls
Versions: V1, V1Alpha, TBD, V1Beta
Reporter: Eddie O'Neil
Priority: Critical
Fix For: TBD
The web service control leaks two InputStreams in:
ExtensionMaker
genJCXForWSDLFile -- the InputStream passed to the WSDLParser and passed to the XmlBeanWSDLParser are both leaked. They are also both the same, so we should use exactly one input stream instaed of two.
:)
--
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
[jira] Resolved: (BEEHIVE-781) web service control leaks two input streams when creating a service control
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-781?page=all ]
Eddie O'Neil resolved BEEHIVE-781:
----------------------------------
Resolution: Fixed
Fixed in SVN 190648. The InputStreams are no longer leaked as the DefinitionsDocument XMLBean is now created in one place and callers handle closing streams correctly.
> web service control leaks two input streams when creating a service control
> ---------------------------------------------------------------------------
>
> Key: BEEHIVE-781
> URL: http://issues.apache.org/jira/browse/BEEHIVE-781
> Project: Beehive
> Type: Bug
> Components: System Controls
> Versions: v1m1, V1Beta, V1Alpha, TBD
> Reporter: Eddie O'Neil
> Assignee: daryoush mehrtash
> Priority: Critical
> Fix For: TBD
>
> The web service control leaks two InputStreams in:
> ExtensionMaker
> genJCXForWSDLFile -- the InputStream passed to the WSDLParser and passed to the XmlBeanWSDLParser are both leaked. They are also both the same, so we should use exactly one input stream instaed of two.
> :)
--
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
[jira] Commented: (BEEHIVE-781) web service control leaks two input streams when creating a service control
Posted by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-781?page=comments#action_66810 ]
daryoush mehrtash commented on BEEHIVE-781:
-------------------------------------------
The XMLBeanWSDLProcessor and WSDLParser should be modified to use DefinitionsDocument (XMLBean Object) instead of the Stream. It would avoid the duplication in this case, and also improves the code.
> web service control leaks two input streams when creating a service control
> ---------------------------------------------------------------------------
>
> Key: BEEHIVE-781
> URL: http://issues.apache.org/jira/browse/BEEHIVE-781
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1, V1Alpha, TBD, V1Beta
> Reporter: Eddie O'Neil
> Assignee: daryoush mehrtash
> Priority: Critical
> Fix For: TBD
>
> The web service control leaks two InputStreams in:
> ExtensionMaker
> genJCXForWSDLFile -- the InputStream passed to the WSDLParser and passed to the XmlBeanWSDLParser are both leaked. They are also both the same, so we should use exactly one input stream instaed of two.
> :)
--
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
[jira] Updated: (BEEHIVE-781) web service control leaks two input streams when creating a service control
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-781?page=all ]
Eddie O'Neil updated BEEHIVE-781:
---------------------------------
Component: System Controls
(was: Controls)
> web service control leaks two input streams when creating a service control
> ---------------------------------------------------------------------------
>
> Key: BEEHIVE-781
> URL: http://issues.apache.org/jira/browse/BEEHIVE-781
> Project: Beehive
> Type: Bug
> Components: System Controls
> Versions: V1Alpha, TBD, V1Beta, v1m1
> Reporter: Eddie O'Neil
> Assignee: daryoush mehrtash
> Priority: Critical
> Fix For: TBD
>
> The web service control leaks two InputStreams in:
> ExtensionMaker
> genJCXForWSDLFile -- the InputStream passed to the WSDLParser and passed to the XmlBeanWSDLParser are both leaked. They are also both the same, so we should use exactly one input stream instaed of two.
> :)
--
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
[jira] Assigned: (BEEHIVE-781) web service control leaks two input streams when creating a service control
Posted by "daryoush mehrtash (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-781?page=all ]
daryoush mehrtash reassigned BEEHIVE-781:
-----------------------------------------
Assign To: daryoush mehrtash
> web service control leaks two input streams when creating a service control
> ---------------------------------------------------------------------------
>
> Key: BEEHIVE-781
> URL: http://issues.apache.org/jira/browse/BEEHIVE-781
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: V1, V1Alpha, TBD, V1Beta
> Reporter: Eddie O'Neil
> Assignee: daryoush mehrtash
> Priority: Critical
> Fix For: TBD
>
> The web service control leaks two InputStreams in:
> ExtensionMaker
> genJCXForWSDLFile -- the InputStream passed to the WSDLParser and passed to the XmlBeanWSDLParser are both leaked. They are also both the same, so we should use exactly one input stream instaed of two.
> :)
--
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
[jira] Closed: (BEEHIVE-781) web service control leaks two input streams when creating a service control
Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-781?page=all ]
Eddie O'Neil closed BEEHIVE-781:
--------------------------------
Closing as per last comment.
> web service control leaks two input streams when creating a service control
> ---------------------------------------------------------------------------
>
> Key: BEEHIVE-781
> URL: http://issues.apache.org/jira/browse/BEEHIVE-781
> Project: Beehive
> Type: Bug
> Components: System Controls
> Versions: v1m1, V1Beta, V1Alpha, TBD
> Reporter: Eddie O'Neil
> Assignee: daryoush mehrtash
> Priority: Critical
> Fix For: TBD
>
> The web service control leaks two InputStreams in:
> ExtensionMaker
> genJCXForWSDLFile -- the InputStream passed to the WSDLParser and passed to the XmlBeanWSDLParser are both leaked. They are also both the same, so we should use exactly one input stream instaed of two.
> :)
--
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