jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msl...@email.cz
Subject Re: Re: OraclePersistenceManager does not contain a property named tableSpace
Date Fri, 22 Jun 2012 07:43:02 GMT
Please be aware that when you change repository.xml you must also delete Jackrabbit folders
because it makes copy
or original repository.xml. If you do not clean it is still uses old copy regardless what
you change in repository.xml in root folder. This is usually most probable reason why it fails.

Marek

> ------------ Původní zpráva ------------
> Od: <a href="mailto:deepak.singhvi@gmail.com">deepak.singhvi@gmail.com</a>
&lt;<a href="mailto:deepak.singhvi@gmail.com">deepak.singhvi@gmail.com</a>>
> Předmět: Re: OraclePersistenceManager does not contain a property named
> tableSpace
> Datum: 22.6.2012 06:51:19
> ----------------------------------------
> After trying that only i have posted this message.
> With or without the tableSpace parameter error is coming same.
> I wonder from where its reading.
> When i change anything else it recognizes that but not the change of the
> tableSpace.
> 
> I debug it and understood that it uses the refection....
> 
> public class BeanConfig {
> ....
> 
> ...
> while (enumeration.hasMoreElements()) {
>                 String name = enumeration.nextElement().toString();
>                 *Method setter = setters.get(name);*   //----> Problem is
> here it does not get the name in the                             
>                                                                   //setter
> but name is coming from config as tableSpace
>                                                                   // which
> come even if its not there in config.
>                 if (setter != null) {
>                     if (setter.getAnnotation(Deprecated.class) != null) {
>                         log.warn("Parameter {} of {} has been deprecated",
>                                 name, cname);
>                     }
>                     String value = properties.getProperty(name);
>                     setProperty(instance, name, setter, value);
>                 } else if (validate) {
>                     *throw new ConfigurationException(
>                             "Configured class " + cname
>                             + " does not contain a property named " +
> name);*
>                 }
>             }
> 
> 
> Any way thanks for the help.
> Has anybody faced the similar kind of problem?
> 
> --
> View this message in context:
> <a href="http://jackrabbit.510166.n4.nabble.com/OraclePersistenceManager-does-not-contain-a-property-named-tableSpace-tp4655557p4655572.html">http://jackrabbit.510166.n4.nabble.com/OraclePersistenceManager-does-not-contain-a-property-named-tableSpace-tp4655557p4655572.html</a>
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
> 
> 
> 

Marek Slama
<a href="mailto:mslama@email.cz">mslama@email.cz</a>

Mime
View raw message