Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Mike Sparr - www.goomzee.com
Hi Rahul, Everything seems to be working except for API Calls. I changed line 455 of SCXMLDigester to setNamespaceAware(false) instead of true and it fixed my XSL transform issues. Like we discussed, that was true by default but each implementation can decide what's best. The API Call issue is

[collections] Proposal - Multiindex Container

2006-06-19 Thread David López Muñoz
Hello, this is a proposal for Jakarta Commons developers. It's related to the inconvenient proliferation of complex types of containers: LRUMap, List, ArrayList, Sets, OrderedLists, OrderedSets, BidiMaps, and son on. I find that every simple customization to a minimal requirement often results

Re: [collections] Proposal - Multiindex Container

2006-06-19 Thread Torsten Curdt
Comments are welcome. Well, start to elaborate :) cheers -- Torsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

HttpClient : Sending Multipart request from applet

2006-06-19 Thread shiv shankar
Hello all, I need help on the httpclient . I have used this api in a JFrame and sending mutipart request to servlet, which is doing a fine job of uploading the the file. But when the same is done using applet, it is gving me java.Security.AccessConlroleException. The problem come when it

RE: HttpClient : Sending Multipart request from applet

2006-06-19 Thread Kedar Panse
OutputStream oc = new FileOutputStream(c:/shiv/filewrite.txt); You may need to add this file in to acl for reading http://java.sun.com/sfaq/#read Kedar -Original Message- From: shiv shankar [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 3:57 PM To:

RE: HttpClient : Sending Multipart request from applet

2006-06-19 Thread shiv shankar
Hello Kedar, Let me put in this way, Below is a applet where I have given the statemnt PostMethod pMethod = new PostMethod(targetUrl); public class FileStreamApplet extends Applet { public void init() { try { String targetURL =

RE: HttpClient : Sending Multipart request from applet

2006-06-19 Thread Kedar Panse
I assume this is the only code and no logging enabled? From trace it looks like its trying to log somewhere and don't have access. But I may be wrong Kedar -Original Message- From: shiv shankar [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 5:30 PM To: Jakarta Commons Users

Common VFS jdk 1.5

2006-06-19 Thread patrick regina
Hi, i've somme problems using jar vfs, indeed this jar was compiled with the jdk 1.5 so i've UnsupportedClassVersionError exception. I'wouldd like to get the commons-vfs jar compiled with the JDK 1.4 or the source file with the ant script in order to compiled the source. Indeed I don't succeed

RE: HttpClient : Sending Multipart request from applet

2006-06-19 Thread Tahir Akhtar
It looks like Access control exception occurs when HTTPClient tries to open a local file for logging. Try to confirm by disabling the logging. -Original Message- From: shiv shankar [mailto:[EMAIL PROTECTED] Sent: Monday, June 19, 2006 5:00 PM To: Jakarta Commons Users List Subject: RE:

Re: Common VFS jdk 1.5

2006-06-19 Thread Mario Ivankovits
Hi! Indeed I don't succeed in getting the jar file or source wiht this url http://people.apache.org/builds/jakarta-commons/nightly/commons-vfs/ Ummm ... I wasn't aware that the nightly no longer builds, sorry. For now (we have to check what happens) you could checkout the latest vfs using svn

RE: HttpClient : Sending Multipart request from applet

2006-06-19 Thread shiv shankar
Hello Tahir, can u tell me how can I disable the logging. Can u also tell me how can I implement java security manager in this case. R.Shiv Shankar --- Tahir Akhtar [EMAIL PROTECTED] wrote: It looks like Access control exception occurs when HTTPClient tries to open a local file for

Re: Common VFS jdk 1.5

2006-06-19 Thread patrick regina
ok thanks, but the server http://svn.apache.org/ seem to be down indeed i've the following error : Error: PROFIND request failed on '* repos/asf/jakarta/commons/proper/vfs/trunk/*' Error: PROFING of '*repos/asf/jakarta/commons/proper/vfs/trunk/*' could not connect to the server

relative path in a jar

2006-06-19 Thread Eitan Gur
Hi all I have a question regarding the include element, specifically when I want to include a file in a jar-packed application. I'm using JBoss application server, and I want to use digester in my application. As it's packed in a jar (which is packed in an ear), I need to use relative

[jexl] EL-style string evaluations

2006-06-19 Thread Hubert Rabago
Is the sample in this message valid: http://marc.theaimsgroup.com/?l=jakarta-commons-userm=111974074105369w=2 SomeObject thingy = new SomeObject(); thingy.setFoo( Blah ); String expr = JEXL let's you do everything you'd do with EL. ${thingy.foo};

Re: commons fileupload

2006-06-19 Thread Robert J. Carr
Well, I set my 'setSizeThreshold()' to a fairly large number (2^24 or 16,777,216 or 16MB, far larger than the size of my file), but it is still doubling in size when uploaded. Again, strangely, I'm getting two files written, one automatically (which I thought would be gone now?) and one

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Rahul Akolkar
On 6/18/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hi Rahul, Thanks for the detailed response. I found that the build succeeds but for some reason, I lose the target declaration of the send tag in ctx params (JEXL). Still debugging. With the JEXLEvaluator I get null response.

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Rahul Akolkar
On 6/19/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: Hi Rahul, Everything seems to be working except for API Calls. I changed line 455 of SCXMLDigester to setNamespaceAware(false) instead of true and it fixed my XSL transform issues. Like we discussed, that was true by default

Re: commons fileupload

2006-06-19 Thread Martin Cooper
On 6/19/06, Robert J. Carr [EMAIL PROTECTED] wrote: Well, I set my 'setSizeThreshold()' to a fairly large number (2^24 or 16,777,216 or 16MB, far larger than the size of my file), but it is still doubling in size when uploaded. Again, strangely, I'm getting two files written, one automatically

Re: commons fileupload

2006-06-19 Thread Robert J. Carr
Thanks for the quick response. The one written automatically (upload_002.xml) is correct (about 1MB); a copy of the file I uploaded. Are you sure that's the name of the file being written? It doesn't match the pattern for temp files created by FileUpload, so I'm not sure where that

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Mike Sparr - www.goomzee.com
Hi Rahul, I was unaware that after you digest you could inject params (thought it was static) hence my meddling with your source. I will definitely try the mentioned approach as I like that much better - agreed that was what I was shooting for during initial conversation. Mike On 6/19/06

Re: commons fileupload

2006-06-19 Thread Martin Cooper
On 6/19/06, Robert J. Carr [EMAIL PROTECTED] wrote: Thanks for the quick response. You can attribute that to me being in a brief break between employers right now. ;-) The one written automatically (upload_002.xml) is correct (about 1MB); a copy of the file I uploaded. Are you

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Mike Sparr - www.goomzee.com
:) Doh! Nevermind. I see you set the params BEFORE digestion. That is resolved and thankfully I don't have to branch the library. :) Regarding the EL issue, yes I stuck with EL instead of JEXL (reverted rather). I need to look at JSTL as you recommended to handle string functions. Yes, the

Re: [SCXML] migration from old source to current - digest, exec, context handling

2006-06-19 Thread Rahul Akolkar
On 6/19/06, Mike Sparr - www.goomzee.com [EMAIL PROTECTED] wrote: :) Doh! Nevermind. I see you set the params BEFORE digestion. That is resolved and thankfully I don't have to branch the library. :) snip/ Definitely a good thing, for both of us :-) Regarding the EL issue, yes I stuck

Re: [jexl] EL-style string evaluations

2006-06-19 Thread Rahul Akolkar
On 6/19/06, Hubert Rabago [EMAIL PROTECTED] wrote: Is the sample in this message valid: http://marc.theaimsgroup.com/?l=jakarta-commons-userm=111974074105369w=2 snip/ No, its not. SomeObject thingy = new SomeObject(); thingy.setFoo( Blah ); String expr =

FTPClient works on Windows, not on FC4

2006-06-19 Thread Rizwan Merchant
Hi, I have an application that uses the FTPClient class to connect to a server and download some files. This application is being developed on a Windows box and it works fine from there. But when I port the application to a Fedora Core 4 env, it seems to not work. FTPClient lets the

Re: Common VFS jdk 1.5

2006-06-19 Thread Mario Ivankovits
Hi! ok thanks, but the server http://svn.apache.org/ seem to be down indeed i've the following error : Error: PROFIND request failed on '* repos/asf/jakarta/commons/proper/vfs/trunk/*' Error: PROFING of '*repos/asf/jakarta/commons/proper/vfs/trunk/*' could not connect to the server