[jboss-jira] [JBoss JIRA] Commented: (JBVFS-130) VFSUtils.temp(assembledDirectory) cannot create tmp dir

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Dec 17 02:19:31 EST 2009


    [ https://jira.jboss.org/jira/browse/JBVFS-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12500476#action_12500476 ] 

Thomas Diesler commented on JBVFS-130:
--------------------------------------

Ideally, I would like to use

      VirtualFile assemble2 = assembleBundle("bundle2", "/bundles/update/update-bundle2");
      assemble2.openStream();
   


> VFSUtils.temp(assembledDirectory) cannot create tmp dir
> -------------------------------------------------------
>
>                 Key: JBVFS-130
>                 URL: https://jira.jboss.org/jira/browse/JBVFS-130
>             Project: JBoss VFS
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.1.3.SP1
>            Reporter: Thomas Diesler
>            Assignee: Ales Justin
>
> java.lang.IllegalArgumentException: Cannot create directory: /tmp/3j001-vrhokp-g3b6hc7q-1-g3b6hcjv-8
> 	at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.createTempDirectory(AbstractCopyMechanism.java:213)
> 	at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.createCopy(AbstractCopyMechanism.java:190)
> 	at org.jboss.virtual.plugins.copy.ExactCopyMechanism.createCopy(ExactCopyMechanism.java:47)
> 	at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:175)
> 	at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:135)
> 	at org.jboss.virtual.VFSUtils.copy(VFSUtils.java:872)
> 	at org.jboss.virtual.VFSUtils.temp(VFSUtils.java:840)
> 	at org.jboss.test.osgi.bundle.BundleUnitTestCase.testUpdate(BundleUnitTestCase.java:158)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list