FTPClient.storeFile is very slow

2007-12-10 Thread srinivas_nandula
I am using commons-net FTPClient utility to transfer files, sizes upto 50MB. When i try to transfer the file using the command prompt, the file transfers in 5 seconds. But when i use the FTPClient Utility, it takes about 1 minute. I set the BufferSize etc to about 8MB, but the result is the same.

Re: SCXML

2007-12-10 Thread Rahul Akolkar
On 12/10/07, Shawn Garner <[EMAIL PROTECTED]> wrote: > > Is there a way to declare a global state transition? > > > Not in the way you have above (I understand that was only for clarifying intent). But, there are atleast two ways to achieve this. Say, you have foo.xml as follows:

Re: [SCXML] problems with Data() function in Jexl

2007-12-10 Thread Rahul Akolkar
On 12/8/07, Sudeep Gandhe <[EMAIL PROTECTED]> wrote: > I tried the following scxml file with the StandaloneJexlExpressions. I don't > get the correct value for "Data(d, '//tar/@name')". Can you explain, what's > wrong ? > We use some Xalan APIs internally to be able to resolve prefixes in XPath

Re: [vfs] FTP extremely slow compared to SFTP

2007-12-10 Thread Mark Fortner
Jörg, Do you have any code snippets for these examples? Mark On Dec 10, 2007 5:59 AM, Jörg Schaible <[EMAIL PROTECTED]> wrote: > Hi, > > can somebody explain the following numbers - especially why FTP is that > dead slow compared to SFTP handling a lot of files? I measure a simple copy > action

[vfs] FTP extremely slow compared to SFTP

2007-12-10 Thread Jörg Schaible
Hi, can somebody explain the following numbers - especially why FTP is that dead slow compared to SFTP handling a lot of files? I measure a simple copy action of a directory containing some few files: FTP * Initia

Re: [jelly] certain way to evaluate a document (usecase)

2007-12-10 Thread Evaldas Taroza
Hi, Actually I already have a solution that works (i.e. I have some sort of executable XML which has the needed logic), however, for me it is very important to answer the question, would it be better to refactor that solution in the way that it would use Jelly. What I have is an engine (coinc

Re: JAKARTA COMMONS DIGESTER RULES XML PROBLEM

2007-12-10 Thread Simon Kitching
Hi, It would be appreciated if you could follow these conventions: (1) Please do not use all-capitals for an email subject. IT IS ANNOYING AND HARD TO READ. (2) When using the commons list, put the component name at the start of the subject line, eg [digester] ... because this email list i

JAKARTA COMMONS DIGESTER RULES XML PROBLEM

2007-12-10 Thread twathelet
High I'm using DIGESTER to parse an xml doc but it seems that I don't understang somethig My xml file: 690504 AM

Re: [jelly] certain way to evaluate a document (usecase)

2007-12-10 Thread Paul Libbrecht
Evaldas, the jelly script is loaded in memory then the doTag methods are called. So, of course, it could not scale to kilometers of source, but, indeed, then a fancy branching logic of doTag is doable. hope it helps. paul Le 10 déc. 07 à 09:42, Evaldas Taroza a écrit : Hi, Yes, I think I

Re: [jelly] certain way to evaluate a document (usecase)

2007-12-10 Thread Evaldas Taroza
Hi, Yes, I think I would need to implement something similar to the thread taglib. Because I will need something like: 1. There is a dedicated thread for every tag 2. Some threads are blocked by other threads (waiting to end) 3. Unblocked threads can run I haven't looked deep into Jelly yet, no