commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jax <jax7...@yahoo.com.sg>
Subject Re: Commons Configuration problems
Date Mon, 30 May 2005 12:41:01 GMT
Hi, thanks for the advice.
Prob 1 is indeed a log4j.properties misconfiguration.

Prob 2 is caused by a version conflict. They are 2
different versions of commons collection in my
directory. Removing one of them solves the problem.

Rdgs,
jax


--- Oliver Heger <oliver.heger@t-online.de> wrote:
> jax wrote:
> 
> >Hi, i am incorporating
> >org.apache.commons.configuration.* into my code
> (which
> >uses java.util.Properties) and i face two problems.
> >
> >Prob 1:
> >I have a 
> >
> >compositeconfiguration.add(new
> >PropertiesConfiguration("file path"));
> >
> >which result in the printout of the following non
> >fatel error, "log4j: Error could not find value for
> >key log4j.appender.console.layout"
> >
> >What is this message about? Does it lead to the
> next
> >error below?
> >  
> >
> This message seems to indicate a problem with your
> log4j configuration. 
> I am quite sure that it is not related to commons
> configuration.
> 
> >Prob 2:
> >I have a 
> >
> >Iterator itr = compositeconfiguration.getkeys();
> >
> >which result in the following fatal error,
> >EMPTY_ORDER_ITERATOR
> >
> >
> >I have search the web and forums for
> interpretations
> >but could not find one, please advice.
> >  
> >
> I haven't seen this before either. Could you please
> provide your 
> complete test code and a full exception trace?
> Thanks.
> 
> >Thanks,
> >jax
> >  
> >
> Oliver
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> 
> 


		
__________________________________ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message