commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Fortner <phidia...@yahoo.com>
Subject Re: [VFS] Problem with creating a file system manager.
Date Fri, 09 Feb 2007 15:26:32 GMT
Hmm. The classpath seems right.  Do you have a complete stack trace?

Are you running the portlet on the same box that you ran your 
application?

Mark

On Monday, February 5, 2007, at 05:49 PM, Tony Cooke wrote:

> 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.
>
>
>
> 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.
>
>
>
> All the best,
>
> Tony
>


---------------------------------------------------------------------
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