commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [VFS] Problem with creating a file system manager.
Date Tue, 06 Feb 2007 07:02:54 GMT
Hi Tony,

Tony Cooke wrote on Tuesday, February 06, 2007 2:49 AM:

> Hi all.
> 
> 
> 
> I've created an application that monitors an ftp site and downloads
> files when they change. 
> 
> 
> 
> This works well when the application runs as a stand-alone app.
> 
> 
> 
> When I incorporate the application into a portlet as a jar I get the
> following error: 
> 
> 
> 
> Could not create a file system manager of class
> "org.apache.commons.vfs.impl.StandardFileSystemManager".
> 
> 
> 
> I gather it cannot find the class but the jars of the
> providers and VFS
> exist in the portlet's WEB-INF/lib directory.


I rather bet, you have an active SecurityManager that prohibits the access to the file system
... ;-)


> Is this the right place for the jars?
> 
> I thought it would because the portlet loads the application jar from
> WEB-INF/lib (or WEB-INF/classes) and the application should
> have access
> to the portlets classpath which include these 2 paths.
> 
> 
> 
> Any help would be greatly appreciated.

Try to enable security logs. There was a property mensioned in the JDK, but I don't know by
heart.

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message