Re: [VFS2] What is the best way to convert regular FIle to FileObject

2015-07-25 Thread Alexander Nozik
Thank you very much. I completely missed VFS class and only just found it after reading documentation again more thoroughly. With best regards, Alexander Nozik. On 25-Jul-15 18:36, Bernd Eckenfels wrote: Hello, yes you always need a configured FSM for anything VFS. If you do not have special

Re: [VFS2] What is the best way to convert regular FIle to FileObject

2015-07-25 Thread Bernd Eckenfels
Hello, yes you always need a configured FSM for anything VFS. If you do not have special needs you can use the "system global" auto configured one: FileObject fo = VFS.getManager().toFileObject(file); See also http://commons.apache.org/proper/commons-vfs/api.html Gruss Bernd Am Sat, 25 Jul 2

Re: [VFS2] What is the best way to convert regular FIle to FileObject

2015-07-25 Thread Alexander Nozik
Tried that. In order to do so, I need to create that manager first. If I try to create either DefaultFileSystemManager or StandardFileSystemManager and use them, I get "FileSystemException: Could not find a file provider which can handle local files." in both cases. I believe I need to somehow

Re: [dbcp] Abandon Connection - not Logging in standalone

2015-07-25 Thread Bernd Eckenfels
Am Sat, 25 Jul 2015 07:57:57 -0700 schrieb Phil Steitz : > BasicDataSource allows you to directly set the abandoned connection > log writer. Your code uses PoolingDataSource, which requires you to > configure the underlying object pool manually, so you need to use > the setLogWriter method of the

Re: [VFS2] What is the best way to convert regular FIle to FileObject

2015-07-25 Thread Bernd Eckenfels
Hello, you can use FileSystemManager.toFileObject(File): https://commons.apache.org/proper/commons-vfs/apidocs/org/apache/commons/vfs2/FileSystemManager.html#toFileObject%28java.io.File%29 Gruss Bernd Am Sat, 25 Jul 2015 18:13:14 +0300 schrieb Alexander Nozik : > Hello, > I've got a program, p

[VFS2] What is the best way to convert regular FIle to FileObject

2015-07-25 Thread Alexander Nozik
Hello, I've got a program, part of which is based on regular local file system and part is file system independent. So sometimes I need to convert regular local Files to VFS FileObjects. What is the simplest way to do that? It should be very simple, but I haven't found it in the documentations

Re: [dbcp] Abandon Connection - not Logging in standalone

2015-07-25 Thread Phil Steitz
On 7/24/15 7:54 PM, Bernd Eckenfels wrote: > Hello Phil, > > Am Fri, 24 Jul 2015 16:33:41 -0700 > schrieb Phil Steitz : >> DBCP does nothing special itself. It relies on JDBC drivers to open >> and close connections. > The question is, if it uses close(), because that would not work (at > least for

Re: [math] No User Guide for new Optimization methods

2015-07-25 Thread Luc Maisonobe
Hi Nigel, Le 24/07/2015 21:14, Nigel R Murray a écrit : > For those of us who have projects dependent on the deprecated Optimization > methods (using Jacobians for differentiable functions), would someone > consider updating the User Guide to give optimization examples using the > new methods? I'