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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to