cancel
Showing results for 
Search instead for 
Did you mean: 

variabilisation of attribute in context.xml ????

Former Member
0 Kudos

i have customise file config\customize\platform\tomcat\conf\context.xml and i like to administrate values for context attribute. for exemple i like to have anything like this :"

memcachedNodes="${memcached.memcachedNodes}"

failoverNodes="${memcached.failoverNodes}"

If i will add this to properties and values in local.properties

memcached.memcachedNodes = xx.xx.xx.xx:yy

memcached.failoverNodes = yes

that's work in hybris ????? Any idea

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi. You are doing it in a wrong place. You should parameterize config/tomcat/conf/context.xml and when you run ant clean all it will replace all properties by their values and copy the resulting file to hybris/bin/platform/tomcat/conf/context.xml

Former Member
0 Kudos

in the first thank you a lot. i hsould customize the xml fil, for this i was create a new one in config\customize\platform\tomcat\conf. this is the only methode to customise it .

Former Member
0 Kudos

Experts , no ideas ???