[attributes] ISSUE : 2.2 cause Missing optional package Extension[ant in tomcat

2006-12-19 Thread nicolas de loof
Hello, I'm using commons-attributes with Spring on a Java 1.4 application. I've included commons-attributes-api 2.2 (from maven repo) I get this Tomcat exception on startup : LifecycleException: Missing optional package Extension[ant,

[EMAIL] - Sending both text plain and html.

2006-12-19 Thread Mathias Berg
Hi, if im not misstaken common-email can send both a body part with a plain text and a body part of html in one mail. So the reciever either get the text or html depending on the recievers email client settings. Is this true? Then second question how to i impl that. Like this? Tx for any

Re: [EMAIL] - Sending both text plain and html.

2006-12-19 Thread C . Grobmeier
Hi, Hi, if im not misstaken common-email can send both a body part with a plain text and a body part of html in one mail. So the reciever either get the text or html depending on the recievers email client settings. Is this true? Then second question how to i impl that. Like this? You

Configuration - getList Issue

2006-12-19 Thread DECAFFMEYER MATHIEU
Hi, I try to get a list of elements of My XML file, see below, The two first elements are returned, but not the two lasts. (Actually all the elemnts must have a format like the two lasts, I added the first two just to test) List list1 = reader.getList(list); for(int i=0; ilist1.size(); ++i)

Re: [EMAIL] - Sending both text plain and html.

2006-12-19 Thread Mathias Berg
tx. it works :-) Do you know any more sites other then apache that have tutorials for common-email? /Mathias 2006/12/19, C. Grobmeier [EMAIL PROTECTED]: Hi, Hi, if im not misstaken common-email can send both a body part with a plain text and a body part of html in one mail. So the

Re: [EMAIL] - Sending both text plain and html.

2006-12-19 Thread C . Grobmeier
Do you know any more sites other then apache that have tutorials for common-email? Well actually i don't know any other sites. I always thought the example section is quite complete :-) Cheers Chris /Mathias 2006/12/19, C. Grobmeier [EMAIL PROTECTED]: Hi, Hi, if im not misstaken

Re: [EMAIL] - Sending both text plain and html.

2006-12-19 Thread Mathias Berg
Yes apaches tutorial is great, but it think it could be a bit more deeper infos. Do you know how to add many attachemnts using EmailAttachemnt class for one mail? I can see how to make for one attachment, but not multiple. Regards, Mathias. 2006/12/19, C. Grobmeier [EMAIL PROTECTED]: Do you

Re: [EMAIL] - Sending both text plain and html.

2006-12-19 Thread C . Grobmeier
Hi, Yes apaches tutorial is great, but it think it could be a bit more deeper infos. you mean UML or stuff like this? As far as i know is Commons Email is based on the Sun Email classes so going deeper into commons means going deeper into the suns mail api. Do you know how to add many

[Jelly] Exiting a jelly script w/wo exitcode

2006-12-19 Thread Anders Kofoed
Hi Jelly users, I'm a newbie to Jelly script and are in the process of evaluating Jelly script for future use in deployment of our systems. Question: How to I exit a jelly-script if want to - maybe with an exit status (like exit(0);) ? A snippet of the my test script: j:catch

Re: [Jelly] Exiting a jelly script w/wo exitcode

2006-12-19 Thread Paul Libbrecht
Anders, there's no tag for that, it would be easy to make, but you use invokeStatic tag for this in the meantime, or? paul Anders Kofoed wrote: Hi Jelly users, I'm a newbie to Jelly script and are in the process of evaluating Jelly script for future use in deployment of our systems.

Re: [Jelly] Exiting a jelly script w/wo exitcode

2006-12-19 Thread Mark Tombs
One way of doing something similar is to put a j:forEach around the whole script, and then use j:break to jump out of the loop, but then you don't get an exit code. The forEach should only loop once of course :) /mark On 12/19/06, Paul Libbrecht [EMAIL PROTECTED] wrote: Anders, there's no

Re: SV: TelnetClient problem?

2006-12-19 Thread Michael Erskine
On Wednesday 13 December 2006 21:13, Daniel Wikman wrote: Well Michael, I do not see how that can solve my problem... Sorry Daniel, I wasn't offering a solution: just some information :) Unfortunately I'm not at all familiar with TelnetClient, or even the telnet protocol: I just remember

Re: [Jelly] Exiting a jelly script w/wo exitcode

2006-12-19 Thread Anders Kofoed
Thanks for your fast replies I did consider the break method, but I need something that will exit completely. It worked using the invokeStatic ! j:invokeStatic className=java.lang.System method=exit var=0 j:arg type=int value=0/ /j:invokeStatic Thanks Paul (and Mark) Kind rgds

[ANNOUNCEMENT] Commons SCXML 0.6 released

2006-12-19 Thread Rahul Akolkar
Commons SCXML 0.6 is now available. Commons SCXML provides a Java State Chart XML (W3C Working Draft) engine. Anything that can be represented as a UML state chart -- business process flows, view navigation bits, interaction or dialog management, and many more -- can leverage the Commons SCXML

BigDecimalLocaleConverter is not working as expected

2006-12-19 Thread Rodrigo Canabrava
The class org.apache.commons.beanutils.locale.converters.BigDecimalLocaleConverter is not converting to BigDecimal, but instead, it converts to Long or Double. It seems the problem is that the class distributed (in releases 1.7.0 and 1.6.1) do not correspond to the code found at

Re: BigDecimalLocaleConverter is not working as expected

2006-12-19 Thread Niall Pemberton
On 12/19/06, Rodrigo Canabrava [EMAIL PROTECTED] wrote: The class org.apache.commons.beanutils.locale.converters.BigDecimalLocaleConverter is not converting to BigDecimal, but instead, it converts to Long or Double. This was reported as a bug and fixed a couple of years ago - but there hasn't

[VFS] File System Roots

2006-12-19 Thread Mark A Fortner
Is there any easy way to get file system roots? Also, is there a way to get the equivalents of the Application, Documents, Music, Movies, and Pictures directories on other operating systems? Thanks in advance, Mark Fortner

[jelly] What happens if sql:update isn't wrapped with a sql:transaction element?

2006-12-19 Thread Karr, David
I have a large dbinit script written in Jelly. I ended up having my insert tag have a sql:update tag inside of a sql:transaction tag. This works, but my script is quite large, and I'm wondering about ways to optimize it. I imagine I could restructure the entire script so that a single

Re: [jelly] What happens if sql:update isn't wrapped with a sql:transaction element?

2006-12-19 Thread Mark Tombs
On Tuesday 19 December 2006 19:22, Karr, David wrote: I have a large dbinit script written in Jelly. I ended up having my insert tag have a sql:update tag inside of a sql:transaction tag. This works, but my script is quite large, and I'm wondering about ways to optimize it. I imagine I

Re: [Jelly] Exiting a jelly script w/wo exitcode

2006-12-19 Thread Paul Libbrecht
Remember, remember... java-under-the-hood! var=0 is not useful by the way. paul Anders Kofoed wrote: Thanks for your fast replies I did consider the break method, but I need something that will exit completely. It worked using the invokeStatic ! j:invokeStatic

Re: [VFS] File System Roots

2006-12-19 Thread Mario Ivankovits
Hi Mark! Is there any easy way to get file system roots? Not yet, but this is planned to implement somehow, it would be great if you could open a JIRA ticket with it to not forget it. The same API could/should be used to browse the network with SMB/JCIFS. Also, is there a way to get the

Re: [VFS] File System Roots

2006-12-19 Thread Mark A Fortner
Hi Mario, Is your idea about implementing this to modify the FileSystem interface so that each file system can return it's own roots? I noticed that it currently returns a single root as most Unix file systems do. As far as the second part of the question is concerned, I implemented something

Re: [VFS] File System Roots

2006-12-19 Thread Mark Fortner
Mario, I've created an issue for this and added a sample implementation. http://issues.apache.org/jira/browse/VFS-103 Let me know if you need anything else. Regards, Mark On Tuesday, December 19, 2006, at 12:07 PM, Mark A Fortner wrote: Hi Mario, Is your idea about implementing this to

RE: [jelly] What happens if sql:update isn't wrapped with a sql:transaction element?

2006-12-19 Thread Karr, David
-Original Message- From: Karr, David Sent: Tuesday, December 19, 2006 11:23 AM To: Jakarta Commons Users List Subject: [jelly] What happens if sql:update isn't wrapped with a sql:transaction element? I have a large dbinit script written in Jelly. I ended up having my insert

dbcp exception on dead network

2006-12-19 Thread Campanella Matteo
Hello, I would like to use DBCP in an enterprise application I am working on. What I need though is an exception to be raised in case I get connectivity problem with the database, as for example if my oracle get disconnected from the network. I prepared a testbed like this: I run my application