Glad you found it.

On Mar 1, 2013, at 7:10, "Alex O'Ree" <[email protected]> wrote:

> Never mind, I figured it out. I was editing the wrong properties file. doh
> 
> On Thu, Feb 28, 2013 at 10:11 PM, Alex O'Ree <[email protected]> wrote:
>> I'm working on a mod to fix the expiration of tokens problem. It's
>> working but I want the setting to be configurable. I.e. duration of
>> time from which to expire tokens.
>> 
>> Is the current configuration setup still using juddiv3.properties?
>> 
>> I'm calling the following code to load the value of the new property
>> int 
>> minutes=AppConfig.getConfiguration().getInt("juddi.authenticate.Expiration");
>> 
>> and this throwing the following
>> 
>> Feb 28, 2013 9:59:48 PM org.apache.juddi.api.impl.UDDISecurityImpl 
>> getAuthToken
>> WARNING: The authentication token expiration setting is missing or
>> invalid, will default to 15 minutes. See juddiv3.prop
>> erties file
>> java.util.NoSuchElementException: 'juddi.authenticate.Expiration'
>> doesn't map to an existing object
>>        at 
>> org.apache.commons.configuration.AbstractConfiguration.getInt(AbstractConfiguration.java:813)
>>        at 
>> org.apache.juddi.api.impl.UDDISecurityImpl.getAuthToken(UDDISecurityImpl.java:139)
>>        at 
>> org.apache.juddi.api.impl.UDDISecurityImpl.getAuthToken(UDDISecurityImpl.java:111)
>>        at 
>> org.apache.juddi.v3.tck.TckSecurity.getAuthToken(TckSecurity.java:33)

Reply via email to