Hi Kostis!
> So i cannot use a
> StandardFileSystemManager.configure("my-providers-only.xml") because
> i'm getting a:
>
> org.apache.commons.vfs.FileSystemException: Multiple providers
> registered for URL scheme "smb".
>        at
> org.apache.commons.vfs.impl.DefaultFileSystemManager.addProvider(DefaultFileSystemManager.java:174)
>
>        at
> org.apache.commons.vfs.impl.StandardFileSystemManager.addProvider(StandardFileSystemManager.java:354)
>
>        at
> org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:254)
>
>        at
> org.apache.commons.vfs.impl.StandardFileSystemManager.configure(StandardFileSystemManager.java:187)
>
>        ... 29 more
>
>
>
> Notice that this error happens EVEN WHEN myproviders-only.xml file
> DOES NOT SPECIFY the smb provider!
This is strange, do you have some time to debug into VFS to see whats
going on?

And no, its not possible to suppress the autoloading of
vfs-providers.xml. Thats the reason why we have done it ;-)
The only way is to remove this file from the jar.

Ciao,
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to