Re: codec - thread safe

2007-10-07 Thread sebb
On 07/10/2007, simon [EMAIL PROTECTED] wrote: On Sat, 2007-10-06 at 23:31 -0500, Qingtian Wang wrote: Well, it's pick-your-poison kind of a deal. Either block on one instance and take a performance hit, or burn up the memory with lots of instances. But in the case of BCodec, I think

Re: codec - thread safe

2007-10-07 Thread sebb
On 07/10/2007, Qingtian Wang [EMAIL PROTECTED] wrote: Ok, I got the point. So let's say I wanted to work on this. What's the most effective way to do it? You could try running some of the code checking utilities on the library. For example Findbugs and PMD. I've done a quick check with

Re: codec - thread safe

2007-10-08 Thread sebb
On 08/10/2007, Qingtian Wang [EMAIL PROTECTED] wrote: On 10/7/07, sebb [EMAIL PROTECTED] wrote: On 07/10/2007, Qingtian Wang [EMAIL PROTECTED] wrote: Ok, I got the point. So let's say I wanted to work on this. What's the most effective way to do it? You could try running some

Re: codec - thread safe

2007-10-08 Thread sebb
On 08/10/2007, Will Pugh [EMAIL PROTECTED] wrote: David J. Biesack wrote: Date: Mon, 8 Oct 2007 17:01:02 +0200 From: =?iso-8859-1?Q?J=F6rg_Schaible?= [EMAIL PROTECTED] The java.util.concurrent backport http://backport-jsr166.sourceforge.net/ runs on 1.3, for just this kind of use.

Re: codec - thread safe

2007-10-08 Thread sebb
people are using thousands of these per request, probably, more on the order of one or two a request? --Will James Carman wrote: Try using a ThreadLocal variable to store your Encoder/Decoder that you need to be thread safe. On 10/8/07, sebb [EMAIL PROTECTED] wrote: On 08

Re: codec - thread safe

2007-10-08 Thread sebb
in that case (lazy-initialized of course). If you need QCodec, then you'd have in incorporate the encodeBlanks and the charset into the map's key (if you really have cases where you do/do not want to encode blanks). On 10/8/07, sebb [EMAIL PROTECTED] wrote: Which methods do you actually need

Re: codec - thread safe

2007-10-09 Thread sebb
On 09/10/2007, Qingtian Wang [EMAIL PROTECTED] wrote: On 10/8/07, sebb [EMAIL PROTECTED] wrote: Which methods do you actually need? If you only need BCodec, then that (and Base64 which it calls) look to be thread-safe, so you only need to instantiate it once for each different charset

Re: [vfs] FTP File is Not a File?

2007-11-28 Thread sebb
On 29/11/2007, James Carman [EMAIL PROTECTED] wrote: I accidentally posted this on the dev list earlier. I meant to send it to [EMAIL PROTECTED] Sorry for cross-posting. Can someone else try this out, please? I don't know what's going on here. I can access the file by pasting the URL into

Re: [vfs] FTP File is Not a File?

2007-11-28 Thread sebb
issue with their firewall or something. Thank you for looking into it for me. On 11/28/07, sebb [EMAIL PROTECTED] wrote: On 29/11/2007, James Carman [EMAIL PROTECTED] wrote: I accidentally posted this on the dev list earlier. I meant to send it to [EMAIL PROTECTED] Sorry for cross

Re: [vfs] Inconsistent Behavior...

2008-01-29 Thread sebb
Might be an idea to have a look at the code to see what conditions cause the Exception to be thrown ... which version of VFS are you using? I had a quick look at 1.0, and there is no Exception at AbstractFileObject.java:1149 as far as I can tell. On 29/01/2008, James Carman [EMAIL PROTECTED]

Re: removeEnd documentaiton error

2008-03-02 Thread sebb
On 29/02/2008, Stone, Brett [EMAIL PROTECTED] wrote: Hello, In reading the API for how to use the removeEnd method, I noticed one of the examples was wrong: StringUtils.removeEnd(www.domain.com, .com.) = www.domain.com. This should actually return www.domain.com WITHOUT the

Re: No javadoc or source downloads

2008-03-02 Thread sebb
On 02/03/2008, Oliver Heger [EMAIL PROTECTED] wrote: Dennis Lundberg schrieb: Parks, Bill (CDC/CCHIS/NCPHI) wrote: Please add javadoc and source downloads for version 1.5. The files on the ibiblio site are corrupt. You might want to contact ibiblio about that. All Apache artifacts

Re: [ftp] Fail to create FTPFile object on some directories/files when calling listFiles()

2008-03-05 Thread sebb
On 05/03/2008, James Carman [EMAIL PROTECTED] wrote: Look familiar? https://issues.apache.org/jira/browse/NET-188 I'd keep an eye on that JIRA issue. Apparently a lot of folks just ran into this for some reason. :) The good news is we've got 4 years to fix it! :) Not so: we'll have

Re: [cli] method to convert a string (which is a whole command line) into an array (of arguments)

2008-04-02 Thread sebb
What exactly are you looking for that is different from split() and CLI? On 02/04/2008, Daniel Tripp [EMAIL PROTECTED] wrote: Indeed, Eclipse's way takes about 100 lines of code, and it has an option to treat quotes windows-style or not (which I don't claim to understand.) -Original

Re: [EXEC] Help needed for regression testing ...

2008-04-09 Thread sebb
On 09/04/2008, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi folks, commons-exec (see http://commons.apache.org/sandbox/exec/) is about running external processes from within a JVM - and there are a lot of OS and JVM versions out there (plus a lot of code in commons-exec to handle this).

Re: Problem when using ant task SCP

2008-04-27 Thread sebb
This is really an question for the Ant user mailing list. Try posting the question there. 2008/4/27 Daphna Deutsch [EMAIL PROTECTED]: Hello, I'm trying to use the ant task SCP to copy a file from sftp server. I manage to copy a local file to the SFTP server, with no errors. But when

[JEXL] Access to static methods?

2008-05-08 Thread sebb
JEXL can access instance methods via the objects that are passed to the interpreter. Is it possible to access static methods in Jexl? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [JEXL] Access to static methods?

2008-05-12 Thread sebb
for testStaticMethodInvocation and testStaticMethodInvocationOnClasses On Fri, May 9, 2008 at 1:26 AM, sebb [EMAIL PROTECTED] wrote: JEXL can access instance methods via the objects that are passed to the interpreter. Is it possible to access static methods in Jexl

Re: [JEXL] Access to static methods?

2008-05-12 Thread sebb
On 12/05/2008, Trevor Harrison [EMAIL PROTECTED] wrote: On Mon, May 12, 2008 at 7:35 AM, sebb [EMAIL PROTECTED] wrote: I see, thanks, very useful. Presumably Jexl has to be given class objects for any static methods it needs to call? Or are there any objects which are built

Re: [digester] implementation of String-Date for xs:dateTime

2008-05-15 Thread sebb
On 15/05/2008, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Anyone? What is xs:dateTime format? Where it is defined/documented? - -chris Christopher Schultz wrote: | All, | | Hi, I'm looking for an implementation of a

Re: [digester] implementation of String-Date for xs:dateTime

2008-05-19 Thread sebb
On 19/05/2008, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Christopher Schultz wrote: | Hi, I'm looking for an implementation of a String-Date converter for | xs:dateTime, which has an odd format. It's not directly supportable by |

Re: [cli2] Negative number arguments seen as options

2008-05-21 Thread sebb
Dare I say it: this used to be a problem for the Avalon CLI package used by JMeter, but it was fixed a long time ago. [The parser is very different so I doubt the fix would apply to CLI2] The Avalon CLI was added to SVN some while ago; it would be nice if it could be released ;-) On 21/05/2008,

Re: [cli2] Negative number arguments seen as options

2008-05-29 Thread sebb
On 29/05/2008, Emmanuel Bourg [EMAIL PROTECTED] wrote: sebb a écrit : The Avalon CLI was added to SVN some while ago; it would be nice if it could be released ;-) What is the difference between Avalon CLI and CLI1/CLI2 ? JMeter originally used the CLI code from Excalibur/Avalon

Re: [cli2] Negative number arguments seen as options

2008-05-30 Thread sebb
On 31/05/2008, Niall Pemberton [EMAIL PROTECTED] wrote: On Fri, May 30, 2008 at 8:12 PM, Emmanuel Bourg [EMAIL PROTECTED] wrote: Niall Pemberton a écrit : How can Avalon CLI be released - that projects closed? The Avalon CLI code was imported in a branch of Commons CLI:

Re: [cli] Are there any 1.0 - 1.1/1.2-SNAPSHOT upgrade notes

2008-06-03 Thread sebb
On 03/06/2008, Emmanuel Bourg [EMAIL PROTECTED] wrote: Russel Winder a écrit : Actually I think that will give [ 'source=1.5' , 'target=1.5'] but that is fine. The withValueSeparator() method splits the value on the equal sign, that's why the option receives the values 'source' and

Re: VFS zip file on smb

2008-06-10 Thread sebb
On 10/06/2008, Yannick PIERSON [EMAIL PROTECTED] wrote: Hi, I solve my problem. My zip file hadn't the same security that others. I give the same security to it, and now it's working. Sorry for my previous mails. Caused by: jcifs.smb.SmbAuthException: Access is denied. seems to be the

Re: How do i unsubscribe ?

2008-06-11 Thread sebb
On 11/06/2008, Amnon Lahav [EMAIL PROTECTED] wrote: i've tried mailing the unsubscrive address as posted on commons site but it hasn't helped ? thanks . Fixed. By the way, for anyone else reading this message: After sending a message to [EMAIL PROTECTED], you should receive an e-mail

Re: Strange performance issues seen with Log.isDebugEnabled()

2008-06-25 Thread sebb
On 26/06/2008, Jean-Philippe Daigle [EMAIL PROTECTED] wrote: -Original Message- From: Jean-Philippe Daigle [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2008 6:06 PM To: Commons Users List Subject: RE: Strange performance issues seen with Log.isDebugEnabled()

Re: Commons IO FileUtils question

2008-07-01 Thread sebb
On 30/06/2008, Niall Pemberton [EMAIL PROTECTED] wrote: On Mon, Jun 30, 2008 at 8:15 PM, Eric Hamacher [EMAIL PROTECTED] wrote: Hello: I took a file on my filesystem, copied and renamed it. I took the two files and compared them using FileUtils.contentEquals(File, File). In

Re: JDK 1.4 EOL date is October

2008-07-02 Thread sebb
On 02/07/2008, Niall Pemberton [EMAIL PROTECTED] wrote: On Wed, Jul 2, 2008 at 10:16 AM, Brosnan, Michael [EMAIL PROTECTED] wrote: The date for JDK 1.4 bing EOL is October 2008, see http://java.sun.com/j2se/1.4.2/ Are there plans in place to update the commons apache components

Re: (Commons-NET-FTP) Connection closed without indication

2008-07-09 Thread sebb
On 09/07/2008, Giriraj Vengurlekar [EMAIL PROTECTED] wrote: Hi We are using the commons net package 1.4.1 and the FTPClient API. We intermittently see the following - I would appreciate any leads on what can cause this. Thanks -giriraj 2008-06-28 14:16:25,218 FATAL [Timer-1]

Re: [LANG] Add FastUrlEncoder class from Google's Data API

2008-07-10 Thread sebb
On 10/07/2008, Travis Reeder [EMAIL PROTECTED] wrote: Read the javadoc that explains this class. Seems like a good thing for commons-lang to have so any project can benefit from it.

Re: [LANG] Add FastUrlEncoder class from Google's Data API

2008-07-10 Thread sebb
On 10/07/2008, sebb [EMAIL PROTECTED] wrote: On 10/07/2008, Travis Reeder [EMAIL PROTECTED] wrote: Read the javadoc that explains this class. Seems like a good thing for commons-lang to have so any project can benefit from it. http://code.google.com/p/gdata-java-client/source

Re: HttpClient SSL AUTHENTICATION

2008-08-28 Thread sebb
On 28/08/2008, Marco Geirola [EMAIL PROTECTED] wrote: Hi, I'm tring to connect to a server over HTTPS protocol but I cannot authenticate the client. I can reach the server through a proxy without authentication, but the result is that the remote server doesn't accept my connection. This

Re: The java.net.SocketException: No buffer space available (maximum connections reached?): listen failed Exception

2008-09-03 Thread sebb
On 03/09/2008, chitraa [EMAIL PROTECTED] wrote: Yup, sure. Here it is: public class MySocketFactory implements SocketFactory { private int clientTimeout; private int serverTimeout; If the class can be used from multiple threads, then you need to make the instance fields

Re: Using BasicDataSource as a static class-variable, is it thread safe?

2008-09-24 Thread sebb
However, the example public static DataSource getDataSource() is not thread-safe. Access to the static variable ds should be synchronized (e.g. by synch'ing the method) to ensure that different threads see the same value of ds. On 24/09/2008, James Carman [EMAIL PROTECTED] wrote: 1. Yes it's

Fwd: [ANN] ApacheCon US and OFBiz Symposium: Early Bird Discount Expires on 3-Oct

2008-09-26 Thread sebb
-- Forwarded message -- From: ApacheCon US 2008 [EMAIL PROTECTED] Date: 26 Sep 2008 17:05 Subject: [ANN] ApacheCon US and OFBiz Symposium: Early Bird Discount Expires on 3-Oct To: [EMAIL PROTECTED], [EMAIL PROTECTED] ApacheCon US 2008: Open. To Just About Everything! November

Fwd: CFP open for ApacheCon Europe 2009

2008-10-02 Thread sebb
-- Forwarded message -- From: Noirin Shirley [EMAIL PROTECTED] Date: 2 Oct 2008 09:20 Subject: CFP open for ApacheCon Europe 2009 To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] If you only have thirty seconds: The Call for Papers for ApacheCon Europe 2009, to be

Subject: ApacheCon live video streaming available; keynotes and Apache 101 are free

2008-11-04 Thread sebb
Can't make ApacheCon this week in New Orleans? You can still watch all the keynotes, Apache 101 sessions, and system administration track in live video streams: http://streaming.linux-magazin.de/en/program_apacheconus08.htm?ann Keynotes and the Apache 101 lunchtime sessions are free; the

Re: Commons Email - NoSuchMethodError com.sun.mail.util.SocketFetcher.getSocket

2008-11-28 Thread sebb
, sebb [EMAIL PROTECTED] wrote: On 28/11/2008, Robert Campbell [EMAIL PROTECTED] wrote: Hello, I am using Commons Email 1.1 with JavaMail 1.4.1 and Activation Framework 1.1.1 The only documentation I found online about this error was one guy who had a corrupted jar file

Re: error with boolean isMultipart = ServletFileUpload.isMultipartContent(req);

2008-12-12 Thread sebb
On 12/12/2008, Robert Christian robertjchrist...@gmail.com wrote: exception occurs at ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 310 and what are the exception details? using tomcat 6 commons-fileupload-1.2.1 commons-io-1.3.2 code looks like:

Re: error with boolean isMultipart = ServletFileUpload.isMultipartContent(req);

2008-12-19 Thread sebb
On 18/12/2008, Robert Christian robertjchrist...@gmail.com wrote: I fixed the issue by adding servlet-api.jar to the jre/lib/ext directory, but this does not seem like the best solution. Shouldn't Tomcat load its own libs before running the web app? That question is best asked on the Tomcat

Fwd: ApacheCon Training info - please forward to your user lists

2009-02-10 Thread sebb
-- Forwarded message -- From: Lars Eilebrecht l...@apache.org Date: 10 Feb 2009 01:42 Subject: ApacheCon Training info - please forward to your user lists To: p...@apache.org Dear PMC chair and members, please help us advertise ApacheCon and send the following announcement to

Re: FTPClient Stalls on STOR

2009-02-24 Thread sebb
On 25/02/2009, Meeraj Kunnumpurath mkunnumpur...@googlemail.com wrote: Just to add some more information, the same code with same configurations runs fine on OSX. Is that client OSX, server OSX or both? What happens if you run the client on Solaris and the server on OSX? What about another

Re: Commons Net 2.0

2009-02-25 Thread sebb
On 25/02/2009, Meeraj Kunnumpurath mkunnumpur...@googlemail.com wrote: Hi, Does anyone use the above on OSX with Java 5. The code that was running with 1.4.1 version of the library seems to be failing with the following exception, Caused by: java.net.SocketException: Unconnected sockets

Re: Commons Net 2.0

2009-02-25 Thread sebb
25, 2009 at 12:29 PM, sebb seb...@gmail.com wrote: On 25/02/2009, Meeraj Kunnumpurath mkunnumpur...@googlemail.com wrote: Hi, Does anyone use the above on OSX with Java 5. The code that was running with 1.4.1 version of the library seems to be failing with the following

Re: FTPClient Stalls on STOR

2009-02-25 Thread sebb
AM, sebb seb...@gmail.com wrote: On 25/02/2009, Meeraj Kunnumpurath mkunnumpur...@googlemail.com wrote: Just to add some more information, the same code with same configurations runs fine on OSX. Is that client OSX, server OSX or both? What happens if you run the client

Re: FTPClient Stalls on STOR

2009-03-03 Thread sebb
Aren't there two connections involved here - i.e. the control and data connections? Surely the data connection will be kept alive by the STOR command; the NOOP is presumably only needed on the control connection? I would question whether the F5 load balancer is working correctly if it fails to

Re: Uploading multiple files via HttpClient

2009-03-16 Thread sebb
HttpClient has moved from Commons. See http://hc.apache.org/mail-lists.html for mailing lists. (You may get an answer here, but far more people that know HttpClient follow the new list). On 16/03/2009, dan06 dan.king...@yahoo.com wrote: I've put together code that can send one file at at

[COMPRESS] change IOUtils.copy() to return number of bytes copied?

2009-03-28 Thread sebb
IOUtils.copy() currently returns void. If it were changed to return a long of the number of bytes actually copied, then it could be used in the ArchiveInputStream test cases to check that the EOF was reached after the correct number of bytes. E.g. that would show whether any padding was being

Re: StrTokenizer not handling quotes correctly?

2009-04-15 Thread sebb
On 15/04/2009, Jacek Furmankiewicz jace...@gmail.com wrote: I am trying to use StrTokenizer for some parsing and I am probably not using it correctly. Let's say I have this string: 11a,b11,22c,d22 I would like to split it by the comma ,, but ignoring any commas embedded in quotes. I

Re: Commons Mail - how to avoid mail ending up in 'junk'

2009-04-28 Thread sebb
On 28/04/2009, Tom H t...@limepepper.co.uk wrote: Aravinda Dassanayake wrote: Hi guys, I am working on an email application where most of the time the mails are viewed through MS Outlook and Evolution. In most cases, the mails that I send programmatically end up in the junk folder.

Re: Mod_cache+Mod_proxy+Mod_rewrite

2009-05-04 Thread sebb
This appears to be a question for the httpd-user list, see: http://httpd.apache.org/lists.html On 04/05/2009, Merdouille jgerha...@r-advertising.com wrote: Hi! I neeed a proxycache wich receive url like : http://mycache/img=http%3A%2F%2Fhost%2Fpath%2Ffile and send a response with the

Re: TelnetClient in common.net v2.0

2009-05-27 Thread sebb
On 27/05/2009, Dale Harris itsupp...@martinjonkersmotors.com.au wrote: Thanks for the idea, but doesn't appear to work. I've added the following method to my app to disable the socks proxy host to no joy. private void disableSocksProxy() { Properties sysprops = System.getProperties();

Re: TelnetClient in common.net v2.0

2009-05-28 Thread sebb
On 28/05/2009, Dale Harris itsupp...@martinjonkersmotors.com.au wrote: Hi Sebb, I would have thought in an object orientated language like Java, I would have thought that obtaining a reference to a child object and updating it, it would then automatically be reflected through the parent

Re: Question about FTPClient.sendCommand()

2009-06-02 Thread sebb
On 02/06/2009, Kevin Dougan kevindou...@hotmail.com wrote: Hi and thanks for your reply. I'll try and give an example to illustrate... Let's say there's a file that contains the following lines: CWD /home/sampleuser/ PUT localfile.txt remotefile.txt I am building a Java Class

Re: Question about FTPClient.sendCommand()

2009-06-02 Thread sebb
On 02/06/2009, Kevin Dougan kevindou...@hotmail.com wrote: Yes, I saw that specific API method call, but I don't really want to implement a big set of IF THEN clauses in my code...then I just become an interpreter for the FTP specification. Maybe I should be asking a different

Re: Using apache.commons.cli with Java 1.4.2

2009-06-15 Thread sebb
On 15/06/2009, esharris eshar...@mac.com wrote: esharris wrote: beeky wrote: I'm jumping in sort of late on this, but here goes. To locate local config issues do the following. Create a simple script, call it 'view_cpath.bat', to invoke your app and output the

Re: [IO] IOUtils.copy() never completes

2009-07-21 Thread sebb
On 06/07/2009, Will Glass-Husain wglasshus...@gmail.com wrote: Hi, I have a simple servlet that takes an image file from Jackrabbit and sends it to the end user. My servlet retrieves a stream and the uses IOUtils.copy() to send it to the output stream. I'm seeing a number of stuck

Re: [math]: weighted variance?

2009-08-20 Thread sebb
On 20/08/2009, luc.maison...@free.fr luc.maison...@free.fr wrote: - Matthew Rowles rowle...@gmail.com a écrit : 2009/8/20 Phil Steitz phil.ste...@gmail.com: mickey...@taosnet.com wrote: Does the commons math library have a weighted variance? I don't see it, just wanted

Re: [VFS] Minimum Java version

2009-08-22 Thread sebb
1.5 offers a lot of enhancements over 1.4. Does 1.6 offer anything essential to VFS at run-time? If not, then stick with 1.5 to avoid unnecessarily excluding users. On 22/08/2009, Gary Gregory ggreg...@seagullsoftware.com wrote: -Original Message- From: Ted Dunning

Re: Which Apache Commons that are supported by JDK 1.6 ??

2009-12-17 Thread sebb
On 17/12/2009, Jan Galinski janga...@googlemail.com wrote: Does the following jars files supported by JDK 1.6 ? commons-codec-1.3.jar commons-collections-3.1.jar commons-httpclient-2.0.2.jar commons-logging-api.jar commons-logging.jar commons-pool-1.2.jar Note that all of

Re: MapUtils.getInteger

2010-01-14 Thread sebb
On 14/01/2010, E. Michael Akerman m...@exchange.uark.edu wrote: MapUtils.getInteger(Map,Object) sends: Which library are you referring to? There are lots of Commons projects. Please also start the subject line with [componentname], e.g. [ABCD] MapUtils.getInteger if you are referring to

Re: [Collections] MapUtils.getInteger

2010-01-14 Thread sebb
On 14/01/2010, E. Michael Akerman m...@exchange.uark.edu wrote: Which library are you referring to? Collections 3.2.1 --- Commons Collections MapUtils.getInteger(Map,Object) sends: Exception: java.text.ParseException: Unparseable number: To System.out when invoked on an

Re: commons-exec

2010-01-30 Thread sebb
On 30/01/2010, maven apache apachemav...@gmail.com wrote: Hi: What is the reason for using commons-exec? Since I read the tutorial at :http://commons.apache.org/exec/tutorial.html. It seems that the commons-exec just wrap the command string, it can solove the space problem and etc..

Re: Logging into a website issues with 4.0.1

2010-02-12 Thread sebb
On 12/02/2010, rtstone rtst...@gmail.com wrote: I am trying to log into this website with the latest version of commons 4.0.1 and can't seem to get it to work. I checked the forum and all the posts seem to reference the older version. HttpClient is no longer a Commons project, please refer

Re: how to pass data from servlet to httpclient

2010-04-07 Thread sebb
On 07/04/2010, maikeru8 msantos.my...@gmail.com wrote: I know that httpclient is not part of commons project anymore, but I don't know where else to ask but here, so here goes. Please see: http://commons.apache.org/#Related_Components_Apache I wish to get some data from a database, and I

Re: [Net] access denied (java.net.SocketPermission ftpperso.free.fr resolve)

2010-04-08 Thread sebb
On 08/04/2010, Thomas VEQUAUD thomas.vequ...@gmail.com wrote: Hi everybody, This is the first time I have to use Java and build an applet for a specific need : browse images files on a computer and send them on a server in HTP or FTP. Everything works perfectly fine within NetBeans or

Re: [Net] access denied (java.net.SocketPermission ftpperso.free.fr resolve)

2010-04-11 Thread sebb
On 11/04/2010, Thomas Vequaud thomas.vequ...@gmail.com wrote: On 8 avr. 2010, at 16:08, sebb seb...@gmail.com wrote: On 08/04/2010, Thomas VEQUAUD thomas.vequ...@gmail.com wrote: Maybe you also need to sign the Commons Net jar? Yay u gave the correct answer : I signed

Re: Commons Exec not producing the same result as the command line

2010-04-13 Thread sebb
On 13/04/2010, Daniel Wamara daol...@hotmail.com wrote: Good evening all, I am trying to call ffmpeg via the command exec in order to transcode some files and the strange thing happening is that the files produced are not the same as the one I can create when calling the same command via

Re: Commons Exec not producing the same result as the command line

2010-04-14 Thread sebb
the one created by Commons Exec. Then the two invocations are most likely using different classpaths at some point. Regards, Daniel W. -- From: sebb seb...@gmail.com Sent: Wednesday, April 14, 2010 1:18 AM To: Commons Users List user

Re: Commons Exec not producing the same result as the command line

2010-04-14 Thread sebb
On 14/04/2010, sebb seb...@gmail.com wrote: On 14/04/2010, Daniel Wamara daol...@hotmail.com wrote: Thanks but I don't think this will help solve the problem as I can see in the log that the command which is executed is the correct one and as said, copy-pasting the command seen

Re: Commons Exec not producing the same result as the command line

2010-04-14 Thread sebb
. -- From: sebb seb...@gmail.com Sent: Wednesday, April 14, 2010 11:36 AM To: Commons Users List user@commons.apache.org Subject: Re: Commons Exec not producing the same result as the command line On 14/04/2010, sebb seb...@gmail.com wrote: On 14/04/2010, Daniel

Re: [LANG] incompatibility of jar with svn

2010-04-15 Thread sebb
The previous version of LANG is still in SVN: http://svn.apache.org/repos/asf/commons/proper/lang/branches/LANG_2_X SVN trunk contains the lang3 code. On 15/04/2010, Tom Brito brito@gmail.com wrote: But the new svn trunk don't have the lang package, just the lang3. So the code that

Re: Mailing lists page

2010-04-16 Thread sebb
On 15/04/2010, Tom Brito brito@gmail.com wrote: Why do the Mailin Lists Page have a Post button link if I can't post while not subscribed? If it were removed, some who *is* subscribed could ask much the same question: why don't you have a Post button? The lists are moderated (i.e.

Re: RFC: Line Ending Conversion between Unix and Windows ....

2010-04-19 Thread sebb
On 19/04/2010, Siegfried Goeschl siegfried.goes...@it20one.at wrote: Hi folks, I just had to type stupid code to do line ending conversion between Windows and Unix since I couldn't find existing code doing that. Would this be a useful contribution to Commons (e.g. lang, codec, io) Many

Re: Commons Exec not producing the same result as the command line

2010-04-26 Thread sebb
is picked up as it is the only instance of the application installed on the server (a Red Hat EL 3). Daniel -- From: sebb seb...@gmail.com Sent: Wednesday, April 14, 2010 11:46 AM To: Commons Users List user@commons.apache.org

[NET] Is there still any need for a Java 1.3+ release?

2010-05-06 Thread sebb
There are two code lines for NET: * 1.x, current release 1.4.1, which requires a minimum of Java 1.3 * 2.x, current release 2.0, which requires at least Java 1.5. There have been a few changes to the 1.x line since 1.4.1 but these have not been made available in a release. AFAIK all of these

[Travel Assistance] - applications Open for ApacheCon NA 2010

2010-05-17 Thread sebb
The Travel Assistance Committee is now taking in applications for those wanting to attend ApacheCon North America (NA) 2010, which is taking place between the 1st and 5th November in Atlanta. The Travel Assistance Committee is looking for people who would like to be able to attend ApacheCon,

Re: BasicAuthCache and Httpclient 4.0.1

2010-05-20 Thread sebb
On 20/05/2010, Ray Hooker rhoo...@cisco.com wrote: I am trying to do preemptive authentication as per the chapter on authentication: http://hc.apache.org/httpcomponents-client/tutorial/html/authentication.html The problem is that it refers to classes BasicAuthCache and AuthCache. I

Re: Net Telnet and HP Procurve

2010-05-27 Thread sebb
On 27/05/2010, Chris Craven chris.cra...@doane.edu wrote: Hello, I am connecting to a Procurve 2650 switch over telnet. It (the switch) is returning gibberish along the lines of [24;1HPress any key to continue [1;1H [?25h [24;27H [2J [?7l [3;23r [?6l [24;27H [?25h [24;27H [?6l [. Those

Re: [daemon] Failed compiling jsvc on Fedora and CentOS

2010-06-09 Thread sebb
On 09/06/2010, Martin Dubuc martind1...@gmail.com wrote: I can't get the jsvc binary to build on Fedora and CentOS. Here is the output of make: ./configure --with-java=/usr/java (cd native; make all) make[1]: Entering directory

Re: Unconnected sockets not implemented using Commons Net ftps support

2010-06-18 Thread sebb
On 18/06/2010, Bengt Rodehav be...@rodehav.com wrote: Does no one have any ideas about this? There was a similar error reported in JMeter a while ago. [And indeed many other applications] It was caused by a change in Java 1.6 in the way that the sockets are created which meant that some SSL

Re: prunsrv doesn't find main class error

2010-07-21 Thread sebb
On 21 July 2010 14:17, Antonio Angelino angelino.anto...@gmail.com wrote: Hello, I am writing here because I don't know why service daemon don't find the main java class. I am using JAVA6 with classpath wildcard and m2eclipse to: - build my controller.jar - fill the library jar directory

Re: prunsrv doesn't find main class error

2010-07-21 Thread sebb
the wildcards? -Antonio 2010/7/21 sebb seb...@gmail.com On 21 July 2010 14:17, Antonio Angelino angelino.anto...@gmail.com wrote: Hello, I am writing here because I don't know why service daemon don't find the main java class. I am using JAVA6 with classpath wildcard

Re: Building Apache VFS with sandbox

2010-09-13 Thread sebb
On 14 September 2010 02:15, Patel, Ronak Avinash (US SSA) ronak.pa...@baesystems.com wrote: Hi All, I'm getting a lot of problems in trying to build Apache VFS 1.0 from the SVN trunk. The errors I'm getting are about missing dependencies and such which are completely outdated jar files

Re: [VFS][SFTP] access path containing %0

2010-09-14 Thread sebb
On 14 September 2010 14:50, Nicolas Delsaux nicolas.dels...@gmail.com wrote: Hi all, I'm trying to access through SFTP and Commons VFS a file in a path containing the %0 sequence (as an example

Re: [VFS][SFTP] access path containing %0

2010-09-14 Thread sebb
On 14 September 2010 15:27, Nicolas Delsaux nicolas.dels...@gmail.com wrote: On Tue, Sep 14, 2010 at 4:03 PM, sebb seb...@gmail.com wrote: If the path really contains: /mnt/data/data_files/path%0/ Oh yes it does, and I know it's a bad idea. then try using /mnt/data/data_files/path%250

Re: [VFS][SFTP] Unable to navigate to directory

2010-09-15 Thread sebb
On 15 September 2010 09:51, Nicolas Delsaux nicolas.dels...@gmail.com wrote: Hi all following my previous question, I have a new issue regarding navigation to a SFTP directory. I connect to a remote SFTP server by first creating a FileObject linked to its root folder, then I try to open a

Re: How can I get Commons-net-2.1 Source and Binaries

2010-10-14 Thread sebb
On 14 October 2010 13:31, James Carman ja...@carmanconsulting.com wrote: Why does the site list it in the release notes? Because that was correct at the time the site was updated, i.e. before 2.1 was even proposed for release. Note that there is no date associated with the release. However,

Re: when use FTPClient to do server to server file transfer's append failed

2010-10-15 Thread sebb
On 15 October 2010 02:00, chenxuejie chen_xue...@nec.cn wrote: Hi all The action is server to which the client is connected to append to a given file on the other server The result is the new file replaced the remote file. I think FTPClient.java  should change as follows: public boolean

Re: when use FTPClient to do server to server file transfer's append failed

2010-10-15 Thread sebb
On 15 October 2010 09:53, sebb seb...@gmail.com wrote: On 15 October 2010 02:00, chenxuejie chen_xue...@nec.cn wrote: Hi all The action is server to which the client is connected to append to a given file on the other server The result is the new file replaced the remote file. I think

Re: In commons-email, can't display embedded images?

2010-10-19 Thread sebb
I've just tried creating a simple test from the sample on the web-site, and it works fine for me using Commons Email 1.2, activation 1.1, mail 1.4.1 sending to my hotmail address and reading in Outlook Express. Also works fine sending to my GMail address. On 19 October 2010 08:09, Siegfried

Re: In commons-email, can't display embedded images?

2010-10-19 Thread sebb
the images ... I think it's obvious now it's No 2) Hotmail problem, but again Is there standard sure-way to do it , so it can be seen in all browses and clients? -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: 19 أكتوبر, 2010 04:32 م To: Commons Users List Subject: Re

Re: Can HTTP Commons API manage SSL certificates?

2010-11-17 Thread sebb
On 17 November 2010 08:42, Moley Harey moleyha...@gmail.com wrote: Hi folks, I have a some web services installed in Tomcat which must be accessed using HTTPS protocol and I was wondering if it is possible to use Apache Http Commons API for that, I have used this library for simple HTTP

Re: [daemon] Cannot find daemon loader

2010-11-19 Thread sebb
On 19 November 2010 08:55, pieter.br...@gmail.com pieter.br...@gmail.com wrote: This is really weird; I figured out the issue. The jsvc app choked on the name of the jar file. I put the date the jar file is created between parens and on my dev machine I tried to start the file directly and

Re: problems with commons-net-2.2 website

2010-11-22 Thread sebb
On 22 November 2010 21:29, Joe Java cop3...@yahoo.com wrote: Hello The links at: http://commons.apache.org/net/download_net.cgi do not work for the binary downloads of commons-net-2.2.tar.gz or commons-net-2.2.zip Oops! The files are actually called commons-net-2.2-bin.* also the

Re: problems with commons-net-2.2 website

2010-11-22 Thread sebb
On 23 November 2010 00:31, Joe Java cop3...@yahoo.com wrote: also the Javadoc link on that page does not work. By not work I mean that the links give 404 not found pages Agreed - seems to be a sync. issue, because the soft links work on the deployment host.   OK... so any hints on

Re: problems with commons-net-2.2 website

2010-11-22 Thread sebb
On 23 November 2010 00:43, sebb seb...@gmail.com wrote: On 23 November 2010 00:31, Joe Java cop3...@yahoo.com wrote: also the Javadoc link on that page does not work. By not work I mean that the links give 404 not found pages Agreed - seems to be a sync. issue, because the soft links

Re: Math - Fractions 3/2 to 1 1/2

2010-11-23 Thread sebb
On 23 November 2010 13:15, paulbeuk paul.van.beuker...@gmail.com wrote: Hello, Since yesterday I'm using commons-math-2.1.jar to calculate with fractions. It serves my well. There's one last feature I'd like to use, and can not find how. - how do you convert/format fraction 3/2 to 1 1/2 -

  1   2   3   4   >