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:42:24 UTC

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

     [ 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