Re: Transaction API, ReadWriteLock

2005-07-07 Thread Oliver Zeigermann
Yes, all participating threads would need to access the same transaction manager. Oliver On 7/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Switching to use a manager to manage lock references eliminates the need to mange lock references, but doesn't this just push this reference

[FileUpload] It's works under Firefox but not on IE, why ?

2005-07-07 Thread Maxime
Hello Everybody, During 2 days, I was testing FileUpload on IE and it never work. After that, I tried on Firefox and it's works perfectly. Can you tell me why and how to resolve this problem ? It's a really pain in an ... :) Thank you. Maxime Here the form : HTML HEAD /HEAD BODY

Re: JELLY: Escaping output of JEXL expression

2005-07-07 Thread Christian Kalkhoff
Hi Dion, thank you very much for this hint. It didn´t solve my problem directly but pointed me into the right direction. Just for reference what the problem was: Situation is, that i use jelly embedded in Java. I create an XMLOutput Stream and run the script with it. I searched through

Re: [jelly] Schema validation problems

2005-07-07 Thread Adrian Herscu
Dion, First, thanks for your reply. Now, I will introduce myself -- well, I am a retard! Really, I am playing with this Jelly stuff for about ten-twenty hours. Anyway, your clues are great! Have a nice day, Adrian. Dion Gillard wrote: On 7/7/05, Adrian Herscu [EMAIL PROTECTED] wrote: Hi

Re: [FileUpload] It's works under Firefox but not on IE, why ?

2005-07-07 Thread Maxime
Well, I am working under Windows XP SP 2 for the test of servlet and JSP. After that , I move all the work on a server Debian station. Strangely, I have no error message (I searched on TomCat logs, I have found nothing). Error logs can be elsewhere ? I am using Netbeans 4.1 and Java 1.5.0.0_4

AW: [FileUpload] It's works under Firefox but not on IE, why ?

2005-07-07 Thread Knezevic, Mihael
if you have not specified an extra logger for the web app the output should go to catalina.out. e.printStackTrace() puts everything on the error output stream which also goes to catalina.out. FileItem.getName() will return different paths for ie and firefox. firefox only returns the name and

Re: [DBUtils] QueryRunner.fillStatement is not static

2005-07-07 Thread Elifarley
Hmm... I see. And what about this: -- protected void fillStatement(PreparedStatement stmt, Object[] params) throws SQLException { defaultFillStatement(stmt, params); } public static void defaultFillStatement(PreparedStatement stmt, Object[] params) throws SQLException { if

Re: [FileUpload] It's works under Firefox but not on IE, why ?

2005-07-07 Thread Maxime
Hello Mihael, Thank you veru much for your answer and the advice about Debian. Now I did some checking like : out.println(fileName); and it's returning all the path of the file under IE. out.println(fileName); IE : D:\DOCUMENTS\photo.jpg FireFox : photo.jpg It's look like the

Re: [jira] Commented: (JELLY-213) Generating xml nodes with attributes in diferente namespaces (for schemas..)

2005-07-07 Thread Paul Libbrecht
Diogo, Le 7 juil. 05, à 11:09, Diogo Bacelar Quintela (JIRA) a écrit : I'll investigate what you said. Btw, I am adding a tag to jelly-xml tags that i'll add as a patch later... A tag to suppport namespace subtitution, i'll explain it's needs then.. That might be then better together. I

Re: Transaction API, ReadWriteLock - RESOLVED

2005-07-07 Thread LeRoy . Yanta
Oliver, Thanks for your help on this issue. LeRoy Oliver Zeigermann oliver.zeigerman

Re: [FileUpload] It's works under Firefox but not on IE, why ?

2005-07-07 Thread Schalk Neethling
Greetings This should help you get started: if(item.getFieldName().equals(uploadPDF)) { int i = item.getName().lastIndexOf('\\'); uploadPDF = servletUtilities.filter(item.getName().substring(i+1)); File savedFile = new

Re: [collections] Name that data structure

2005-07-07 Thread Wendy Smoak
From: Tim O'Brien [EMAIL PROTECTED] Or you could do something that takes more work, but I think it more fun: A belated thank you for the suggestions... I haven't gotten back around to working on this requirement yet, but I'm sure one or more of the things in this thread will help

[DBUtils] Oracle Row Processor

2005-07-07 Thread Henry Voyer
Hi everyone Is there a free implementation of an Oracle Row processor ? Where can i find it ? Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [DBUtils] QueryRunner.fillStatement is not static

2005-07-07 Thread David Graham
The problem is with the setNull() handling. In the latest code we're using Types.VARCHAR because OTHER did not work for all drivers. In fact, the primary reason the method is protected is so you can override the null behavior if it doesn't work for your driver. We could add a

Re: [DBUtils] Oracle Row Processor

2005-07-07 Thread David Graham
I'm not quite sure what you mean. Can you be more specific about why the current implementation doesn't work for Oracle? Thanks, David --- Henry Voyer [EMAIL PROTECTED] wrote: Hi everyone Is there a free implementation of an Oracle Row processor ? Where can i find it ? Regards

RE: [DBUtils] Oracle Row Processor

2005-07-07 Thread Henry Voyer
Hi I just created my oracle row processor. The current implementation of BasicRowProcessor has a method that checks if the field is valid : private boolean isCompatibleType(Object value, Class type) This method ignore dates and most important specific JDBC values. Oracle timestamp is

Re: JVM Crash calling Configuration on 64-Bit Server VM (1.5.0_04-b05) for solaris-amd64

2005-07-07 Thread Oliver Heger
Strange, especially that it happens only sometimes. I would be interested in Sun's answer. But I would guess that this is more likely a problem with the JVM. Normal Java code (that does not directly call native code) should not be able to crash the JVM. Oliver William Evans wrote:

RE: JVM Crash calling Configuration on 64-Bit Server VM (1.5.0_04-b05) for solaris-amd64

2005-07-07 Thread William Evans
I'll let you know Sun's response. -Original Message- From: Oliver Heger [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 10:42 AM To: Jakarta Commons Users List Subject: Re: JVM Crash calling Configuration on 64-Bit Server VM (1.5.0_04-b05) for solaris-amd64 Strange, especially

RE: [DBUtils] Oracle Row Processor

2005-07-07 Thread David Graham
--- Henry Voyer [EMAIL PROTECTED] wrote: Hi I just created my oracle row processor. The current implementation of BasicRowProcessor has a method that checks if the field is valid : private boolean isCompatibleType(Object value, Class type) This method ignore dates and most important

[betwixt] AddDefaultsRule bug in 0.7RC2

2005-07-07 Thread Glenn Goldenberg
I think there may be a bug in the org.apache.commons.betwixt.digester.AddDefaultsRule class. I was testing the add-adders and add-properties flags on the addDefaults element in the .betwixt file. The flags didn't seem to work correctly, so I debugged into AddDefaultsRule and saw on line 69:

[io] experience with phonetical encoders in other languages ?

2005-07-07 Thread Paul Libbrecht
Hi, I would like to know wether the phonetical encoders found in commons-io have been used by someone with different langauges than English. I'm pretty sure they fail for Chinese at least but I'd like to know if Soundex and Metaphone have a chance for, say, european languages... thanks

RE: [DBUtils] Oracle Row Processor

2005-07-07 Thread Henry Voyer
Hi David The version i have is the one that is available as 1.1 i have this in the callSetter method !!! try { // Don't call setter if the value object isn't the right type if (this.isCompatibleType(value, params[0])) { setter.invoke(target, new Object[] { value });

RE: [DBUtils] Oracle Row Processor

2005-07-07 Thread Alfredo Ledezma Melendez
Henry, I had the same problem, but it got fixed downloading a nightly build. The one I have is 1.1-dev and it works pretty well. Regards, Alfredo Ledezma Meléndez. Gerencia de Sistemas CRM Consultor Externo de Sistemas de Atención a Clientes

Re: [codec] experience with phonetical encoders in other languages ?

2005-07-07 Thread Stephen Colebourne
Resending to correct project - [codec] Paul Libbrecht wrote: Hi, I would like to know wether the phonetical encoders found in commons-io have been used by someone with different langauges than English. I'm pretty sure they fail for Chinese at least but I'd like to know if Soundex and