You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jürgen Schumacher (JIRA)" <tu...@ws.apache.org> on 2008/03/13 17:40:25 UTC

[jira] Created: (TUSCANY-2079) workspace-admin tests fail with IOException

workspace-admin tests fail with IOException
-------------------------------------------

                 Key: TUSCANY-2079
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2079
             Project: Tuscany
          Issue Type: Test
    Affects Versions: Java-SCA-1.2
         Environment: Windows XP, Sun Java 1.5
            Reporter: Jürgen Schumacher
            Priority: Minor
             Fix For: Java-SCA-1.2


org.apache.tuscany.sca.workspace.admin.impl.AdminTestCase fails with an IOException:

org.osoa.sca.ServiceRuntimeException: java.io.FileNotFoundException: D:\Works\Ja
va\Tuscany\java\sca\modules\workspace-admin\target\test-classes\workspace.xml (D
er Vorgang ist bei einer Datei mit einem geöffneten Bereich, der einem Benutzer
zugeordnet ist, nicht anwendbar)
        at org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImp
l.writeWorkspace(ContributionCollectionImpl.java:423)
        at org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImp
l.post(ContributionCollectionImpl.java:210)
        at org.apache.tuscany.sca.workspace.admin.impl.AdminTestCase.setUp(Admin
TestCase.java:75)

The geman message means something like "This process is not applicable on a file with a open part associated to a user" (actually, it does not make too much sense in german ...)

There are two places in the code where writers/streams are not explicitly close. Closing them seems to help. See attached patch file.


-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-2079) workspace-admin tests fail with IOException

Posted by "Jürgen Schumacher (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jürgen Schumacher updated TUSCANY-2079:
---------------------------------------

    Attachment: tuscany-workspace-admin.patch

> workspace-admin tests fail with IOException
> -------------------------------------------
>
>                 Key: TUSCANY-2079
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2079
>             Project: Tuscany
>          Issue Type: Test
>    Affects Versions: Java-SCA-1.2
>         Environment: Windows XP, Sun Java 1.5
>            Reporter: Jürgen Schumacher
>            Priority: Minor
>             Fix For: Java-SCA-1.2
>
>         Attachments: tuscany-workspace-admin.patch
>
>
> org.apache.tuscany.sca.workspace.admin.impl.AdminTestCase fails with an IOException:
> org.osoa.sca.ServiceRuntimeException: java.io.FileNotFoundException: D:\Works\Ja
> va\Tuscany\java\sca\modules\workspace-admin\target\test-classes\workspace.xml (D
> er Vorgang ist bei einer Datei mit einem geöffneten Bereich, der einem Benutzer
> zugeordnet ist, nicht anwendbar)
>         at org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImp
> l.writeWorkspace(ContributionCollectionImpl.java:423)
>         at org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImp
> l.post(ContributionCollectionImpl.java:210)
>         at org.apache.tuscany.sca.workspace.admin.impl.AdminTestCase.setUp(Admin
> TestCase.java:75)
> The geman message means something like "This process is not applicable on a file with a open part associated to a user" (actually, it does not make too much sense in german ...)
> There are two places in the code where writers/streams are not explicitly close. Closing them seems to help. See attached patch file.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-2079) workspace-admin tests fail with IOException

Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-2079.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Java-SCA-1.2)
                   Java-SCA-Next

Patch applied in r636811, thaks for the fix Jürgen.

> workspace-admin tests fail with IOException
> -------------------------------------------
>
>                 Key: TUSCANY-2079
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2079
>             Project: Tuscany
>          Issue Type: Test
>    Affects Versions: Java-SCA-1.2
>         Environment: Windows XP, Sun Java 1.5
>            Reporter: Jürgen Schumacher
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>         Attachments: tuscany-workspace-admin.patch
>
>
> org.apache.tuscany.sca.workspace.admin.impl.AdminTestCase fails with an IOException:
> org.osoa.sca.ServiceRuntimeException: java.io.FileNotFoundException: D:\Works\Ja
> va\Tuscany\java\sca\modules\workspace-admin\target\test-classes\workspace.xml (D
> er Vorgang ist bei einer Datei mit einem geöffneten Bereich, der einem Benutzer
> zugeordnet ist, nicht anwendbar)
>         at org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImp
> l.writeWorkspace(ContributionCollectionImpl.java:423)
>         at org.apache.tuscany.sca.workspace.admin.impl.ContributionCollectionImp
> l.post(ContributionCollectionImpl.java:210)
>         at org.apache.tuscany.sca.workspace.admin.impl.AdminTestCase.setUp(Admin
> TestCase.java:75)
> The geman message means something like "This process is not applicable on a file with a open part associated to a user" (actually, it does not make too much sense in german ...)
> There are two places in the code where writers/streams are not explicitly close. Closing them seems to help. See attached patch file.

-- 
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org