Re: [VFS] SFTP exception

2007-01-11 Thread Mario Ivankovits
Hi Mark! Exception in thread org.apache.commons.vfs.cache.SoftRefFilesCache$SoftRefReleaseThread java.lang.NullPointerException at com.jcraft.jsch.Channel.del(Channel.java:79) at com.jcraft.jsch.Channel.disconnect(Channel.java:501) at

[EMAIL] - Charset problem

2007-01-11 Thread Mathias Berg
Hi, i have some problem with charset when i send mail in plain text. The text is in lithuania language, and i set charset property to ISO-8859-4. Yet i get the special characters in ? angliškai - angli?kai This is how i create the mail. -

Re: [VFS] SFTP exception

2007-01-11 Thread Mark Shifman
Hi : Thanks for your quick reply. I downloaded the most recent jsch yesterday jsch-0.1.30.jar and that was the one that generated the error. I was closing my FileObject after I got what I wanted so I could trick the cache. I think this may have been part of the problem. I have refactored

Re: Underscore problem - and parentheses.

2007-01-11 Thread Julio S. G.
Well... Another doubt is about parentheses. The parser of UrlValidator is not allowing the ( and ) at segment section... For example, if we try the URL http://www.abc123.com/test(test)/ the isValid method returns false, but reading the RFC's 3.3 section we can see that the segment block can

log4j path to log - problem

2007-01-11 Thread DECAFFMEYER MATHIEU
Hi, in my log4j file I have the following line : log4j.appender.file.File=log/mylog.log [11/01/07 16:28:32:665 CET] 650c2e13 SystemErr R log4j:ERROR setFile(null,true) call failed. [11/01/07 16:28:32:665 CET] 650c2e13 SystemErr R java.io.FileNotFoundException: log\mylog.log (The system

Re: log4j path to log - problem

2007-01-11 Thread Tom
Log4j does not output relative to the log4j directory but to the start directory of your application. Try naming the log file recognizable (for example mine.log without the log prefix. Oh and BTW I'd advise to use / instead of \, Java will work on all platforms then) and then search for it.

RE: log4j path to log - problem

2007-01-11 Thread DECAFFMEYER MATHIEU
The log4j file is not located into my web application. It is in an external directory Internet communications are not secure and therefore Fortis Banque Luxembourg S.A. does not accept legal responsibility for the contents of this message. The

Re: [VFS] Why is jcifs/smb not part of 1.0/core?

2007-01-11 Thread Mario Ivankovits
Hi! I would like know something about the technical reasons, that jcifs/smb filesystem is not part of core/version 1.0. Was the smb part not ready to be released as 1.0? So far I did not encounter bugs when using it... No, sorry, I used the term technical reasons to not make it public that

[commons-httpclient] 1.x vs. 3.x

2007-01-11 Thread Tony Dean
Hi, I'm using commons-httpclient 3.0.2 successfully on a new project that I'm working on. However, at the moment I'm having to enhance an old project that is dependent on commons-httpclient 1.x. Can someone tell me what functionality is not available at 1.x. - I assume http 1.0 is only

Re: [fileupload] - aborting file upload

2007-01-11 Thread Salman Khattak
I have noticed if user-agent is in the middle of file upload and the user does a refresh (F5) the transmission is aborted. The server craps out with unexpected end of stream. This has lead me to an idea. I am using an Ajax Updater to monitor file upload. And my extended code sets the

How to control conversion of primitives-String in BeanUtils.describe() ??

2007-01-11 Thread Timothy Bessie
Does anyone out there know how to control the conversion of primitives to Strings in calls made to BeanUtils.describe()? I have registered converters to the String class, as follows: ConvertUtils.register(toStringConverter, String.class);

Please disregard my last question (Was: RE: How to control conversion of primitives-String in BeanUtils.describe() ??)

2007-01-11 Thread Timothy Bessie
Please disregard my question, below. After banging my head against the wall enough times, I found that the Converters weren't being registered. They were in an init() method that was being called from servlets and JSPs, and that method (and the BeanUtils related classes) were all being loaded by

Re: [NET] listFiles throws SocketException: Connection reset even in passive mode

2007-01-11 Thread Rory Winston
Cyril In order to definitively identify the problem, what I would do is start a debugging session in your IDE using your FTP client program. Set a breakpoint at an appropriate point in the code (before or on the call to listFiles() for instance) and make sure the commons-net source code is