You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kaushik Mukherjee (JIRA)" <de...@tuscany.apache.org> on 2009/08/27 15:13:59 UTC

[jira] Created: (TUSCANY-3240) SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml

SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml
-------------------------------------------------------------------------------------

                 Key: TUSCANY-3240
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3240
             Project: Tuscany
          Issue Type: Bug
            Reporter: Kaushik Mukherjee


org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.loadFromXML() leaves a file handle open to
the application-context.xml causing an exception when trying to write back to the file.

Patch adds a reader.close() to the loadFromXML method.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-3240) SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml

Posted by "Kaushik Mukherjee (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kaushik Mukherjee updated TUSCANY-3240:
---------------------------------------

    Attachment: TUSCANY-3240.patch

Patch is for 1.5.1 branch.

Files modified:
https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java

> SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3240
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3240
>             Project: Tuscany
>          Issue Type: Bug
>            Reporter: Kaushik Mukherjee
>         Attachments: TUSCANY-3240.patch
>
>
> org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.loadFromXML() leaves a file handle open to
> the application-context.xml causing an exception when trying to write back to the file.
> Patch adds a reader.close() to the loadFromXML method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TUSCANY-3240) SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml

Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende resolved TUSCANY-3240.
--------------------------------------

    Resolution: Fixed
      Assignee: Luciano Resende

Thanks for the patch Kaushik Mukherjee. Fix applied in 1.x, 2.x and 1.5.1 

> SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3240
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3240
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-1.5.1, Java-SCA-2.0
>            Reporter: Kaushik Mukherjee
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-1.5.1, Java-SCA-2.0, Java-SCA-Next
>
>         Attachments: TUSCANY-3240.patch
>
>
> org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.loadFromXML() leaves a file handle open to
> the application-context.xml causing an exception when trying to write back to the file.
> Patch adds a reader.close() to the loadFromXML method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TUSCANY-3240) SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml

Posted by "Luciano Resende (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende updated TUSCANY-3240:
-------------------------------------

          Component/s: Java SCA Spring Implementation Extension
    Affects Version/s: Java-SCA-2.0
                       Java-SCA-1.5.1
        Fix Version/s: Java-SCA-Next
                       Java-SCA-2.0
                       Java-SCA-1.5.1

> SpringXMLComponentTypeLoader leaves open a file handle to the application-context.xml
> -------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3240
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3240
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Spring Implementation Extension
>    Affects Versions: Java-SCA-1.5.1, Java-SCA-2.0
>            Reporter: Kaushik Mukherjee
>             Fix For: Java-SCA-1.5.1, Java-SCA-2.0, Java-SCA-Next
>
>         Attachments: TUSCANY-3240.patch
>
>
> org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.loadFromXML() leaves a file handle open to
> the application-context.xml causing an exception when trying to write back to the file.
> Patch adds a reader.close() to the loadFromXML method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.