Skip to Content
author's profile photo Former Member
Former Member

variabilisation of attribute in context.xml ????

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 30, 2016 at 05:56 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2016 at 04:08 PM
    -1

    Experts , no ideas ???

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.