CompositeConfiguration.subset() for hierarchical configurations

2005-04-04 Thread Chan, Joseph
Hi all, I have a CompositeConfiguration containing multiple Hierarchical configurations. When I call CompositeConfiguration.subset(), the SubsetConfiguration returned is non hierarchical. Is there any way to extract a merged hierarchical configuration from the CompositeConfiguration?The

Re: NET FTPClient changeWorkingDirectory

2005-04-04 Thread Jeffrey D. Brekke
Gary, I think you may need to give us the context ( ie: more code ) around what you are doing. Constant string or variable shouldn't matter. Sometimes while I'm tracking these types of issues down, I write a small little test case with out my *application* getting in the way. Maybe you've tri

Re: Configuration - Reload Strategy in j2ee containers

2005-04-04 Thread WANG Qingtian
Hello Emmanuel, Thanks very much for the clarification! Can you also shed some light on the performance issue when the reloading mechanism is used versus when not used? Thanks again! Qingtian Emmanuel Bourg wrote: Hello Qingtian, a reloading strategy is passive, it doesn't spawn a thread to mo

LocaleConverter help

2005-04-04 Thread Daniel Lipofsky
Does anyone have some good examples of how to setup BeanUtils to do local-specific conversions. I see LocaleConverter and the associated classes but I am not sure how to use them. One problem I see is it appears that you need to create a LocaleConverter for each Locale. Right now I am doing conve

NET FTPClient changeWorkingDirectory

2005-04-04 Thread Gary Yasuda
I am using the commons-net-1.3.0.jar libraries. The changeWorkingDirectory(String) requires a Class String as the path. If I put the path between double quotes, the directory is changed. If I use a String variable, the directory is not changed. For example, FTPClient ftp = new FTPClient(); ...

Re: Configuration - Reload Strategy in j2ee containers

2005-04-04 Thread Emmanuel Bourg
Hello Qingtian, a reloading strategy is passive, it doesn't spawn a thread to monitor the file, instead it checks if the file changed everytime a property is accessed. So just use it as a replacement for java.util.Properties. Emmanuel Bourg WANG Qingtian wrote: Hi, Is the reload strategy implem

Re: [JEXL] Syntax information

2005-04-04 Thread Dion Gillard
if, foreach and while are defined in the grammar, but not implemented in 1.0. If you need that sort of expression language, something like Rhino from Mozilla would be great. On Apr 5, 2005 9:49 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > I've recently been using JEXL in an attempt

[JEXL] Syntax information

2005-04-04 Thread fomojola
Hi, I've recently been using JEXL in an attempt to incorporate simple scripting and templating into a solution (without going the full blown Velocity route) and I'm having all kinds of difficulties figuring out what the syntax is for if, foreach and while statements. I've looked through the do

BeanUtils and PropertyChangeSupport

2005-04-04 Thread Douglas Kunzman
Hi, I am having a lot of trouble getting PropertyChangeSupport to work with BeanUtils does someone have an example or know it can work? thanks, Douglas Kunzman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Configuration - Reload Strategy in j2ee containers

2005-04-04 Thread WANG Qingtian
Hi, Is the reload strategy implemented by creating a thread that periodically checks the time stamp of the configuration file? If so, how do I make sure that thread is started/stopped properly when I use it in a j2ee container? Like, will the thread be killed when I shut down the web/ejb contai

[ANNOUNCEMENT] Commons Configuration 1.1 released

2005-04-04 Thread Oliver Heger
The Commons Community is proud to announce the release 1.1 of Commons Configuration. Commons Configuration provides a generic configuration interface which enables an application to read configuration data from a variety of sources. This release introduces some new features like basic support f

RE: [JSVC] mkdir and copy files not working

2005-04-04 Thread Derek Lohnes
So after further investigation I discovered that it is related to the set_cap call in the jsvc-unix.c code. If I change this to always set the cap to CAPALL it works fine. I haven't traced through it much but my guess is that it is being set to CAP. I would think if the user is root then the ap

Telnet question

2005-04-04 Thread Litton, Tom - CEPM
I'm using the telnet client from commons-net. I'm getting the error: -SET-I-UNKTERM, unknown terminal type Does this mean the telnet client doesn't support the terminal type being set by the server or the other way around? Or does it mean something completely different? Thanks, Tom ---

Re: chains: refering to another chain in my chain

2005-04-04 Thread Craig McClanahan
On Apr 4, 2005 6:06 AM, Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote: > Vinicius Caldeira Carvalho wrote: > > > PS: I'm using org.apache.commons.chain.CONFIG_WEB_RESOURCE I thought > > this may add some extra info :-) > > > >

Next official release of commons-io

2005-04-04 Thread Anibal Jodorcovsky
Hi there, I tried the commons-io package from the release 1.0 and I found that one of the classes I'd like to use, org.apache.commons.io.filefilter.DirectoryFileFilter, is broken with Bug 30992 (DirectoryFileFilter does not work, the AbstractFileFilter bug). The bug was fixed : --- /Additio

Re: chains: refering to another chain in my chain

2005-04-04 Thread Vinicius Caldeira Carvalho
Vinicius Caldeira Carvalho wrote: PS: I'm using org.apache.commons.chain.CONFIG_WEB_RESOURCE I thought this may add some extra info :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[JSVC] mkdir and copy files not working

2005-04-04 Thread Derek Lohnes
I have a java java application that I'm launching with jsvc. The program is throwing exceptions if I try to 'mkdirs' directories or copy files. If the files I'm trying to copy to already exists then copy will succeed if the file does not already exist then the copy fails (Permission Denied). I

Re: chains: refering to another chain in my chain

2005-04-04 Thread Vinicius Caldeira Carvalho
PS: I'm using org.apache.commons.chain.CONFIG_WEB_RESOURCE I thought this may add some extra info :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: chains: refering to another chain in my chain

2005-04-04 Thread Vinicius Caldeira Carvalho
Nice... I tried this: but I get this when running the command: java.lang.IllegalArgumentException: Cannot find default catalog My catalog is registred as "catalog". I didn't get how could it not find it... Thanks Craig McClanahan wrote: On Apr 1, 2005 9:

Re: running jsvc problem

2005-04-04 Thread Onkar Singh
Hi Jason, You apply following patch. it will  work then. Best Regards Onkar Singh neo anderson <[EMAIL PROTECTED]> 04/04/2005 06:01 PM Please respond to "Jakarta Commons Users List"                 To:        commons-user@jakarta.apache.org         cc:                 Subject:      

running jsvc problem

2005-04-04 Thread neo anderson
hi, lately i use jsvc in order to run web container as service, in which i build jsvc from source with version 1.0 (http://www.apache.org/dist/jakarta/commons/daemon/binaries/commons-daemon-1.0.tar.gz). and then run commond like "./jsvc -pidfile ofbiz.pid -user user_on_system -debug -cp /path/to/to

Re: [transaction.locking] Modify the behaviour of the ReadWriteUpgradeLockManager

2005-04-04 Thread [EMAIL PROTECTED]
Hi, Selon Oliver Zeigermann <[EMAIL PROTECTED]>: > If so that's exactly what the read/write lock and then the read/write > lock manager does. Thanks this seems to be what I need. Mel > On Apr 1, 2005 6:30 PM, Oliver Zeigermann <[EMAIL PROTECTED]> > wrote: > > Still not quite clear, most likely