“Nofollow” is a way for webmasters to tell search engines Don’t follow this specific link or Don’t follow links on this page. With earlier version of nofollow which is added to page level meta tag, is used to instruct search engine not the follow all the links on the page. For example <meta name=”robots” content=”nofollow” /> We can now add nofollow as […]
Spring – Bean Scopes
When we define a bean in Spring, we declare a scope for that bean. For example, if we want Spring to return same bean instance each time one is required, we should declare bean’s scope attribute to be singleton. Similar way to force Spring to produce a new bean instance each time one is required, we should declare bean’s scope attribute to be prototype. Spring Framework supports following […]
Oracle Commerce Droplets
Droplets Droplet is a Servlet Bean to dynamically generate HTML from a Java Object. It minimizes the amount of Java code that has to appear in HTML and amount of HTML that has to be hard-coded into Java classes. DAF (Dynamo Application Framework) comes with a set of out-of-the-box droplets that can be used. The user can also create their […]
ERROR: Could not open acquire_lock.status.
While performing few “emgr_update”operations, sometimes we get “Could not open acquire_lock.status.” error. For example performing dimension upgrade or performing set_template and other for Endeca Experience Manager. emgr_update –host localhost:172.20.187.149 –action set_templates –prefix MyDemo –dir /opt/endeca/apps/MyDemo/config/cartridge_templates -app_name MyDemo In the above example, we miss to add port entry, adding correct port will fix the above issue. C:\Endeca\PlatformServices\11.1.0\bin>emgr_update.bat –host localhost:8888 –app_name <appname> –prefix <appprefix> […]
Resolve ConcurrentModificationException
This tutorial gives details on “ConcurrentModificationException” and how to avoid it. As per Javadoc, “ConcurrentModificationException” may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. An example, it is not generally permissible for one thread to modify a Collection while another thread is iterating over it. Let’s see things in action. Create class “DemoArray.java” […]
ATG 11.1 Forge-based deploy pattern
When working with ATG 11.1, if we are looking to support forge-based deployment template, we have to configure “IndexingApplicationConfiguration ” ATG component. CAS-based deployment template, record store names have format applicationName-recordStoreType. Example: EAC application named Demoen, dimension values record store is named Demoen-dimvals. Forge-based deployment template, format of record store names is applicationName_languageCode_recordStoreType. Example: EAC application named Demoen that indexes records in […]
Changing DNS and IP not picked up by MDEX/ITL
If there is change in DNS and IP address for MDEX/ITL servers, we update those in configuration flies which will not work unless, we restart Endeca HTTP Service. This is because JAVA caches hostname resolution information and therefore changes will not be picked up/recognized. So, simple resolution is to restart Endeca HTTP Service on ITL box and MDEX box, this will allow JAVA […]
Difference between RequestDispatcher’s forward(ServletRequest request, ServletResponse response) and HttpServletResponse’s sendRedirect(String location)
Forward method of RequestDispatcher will forward ServletRequest and ServletResponse that it is passed to path that was specified in getRequestDispatcher(String somePath). Response will not be sent back to client and so client will not know about change of resource on server. This method is useful for communicating between server resources (servlet to servlet). Because request and response are forwarded to […]
Hierarchical dimension values are not displaying in XM Boost and Bury cartridge editor
Hierarchical dimension values are not displaying in an expected way in the “Available Refinements” window of the Boost/Bury editor. It is expected that Parent/Child hierarchy structure should be preserved, but instead values from multiple levels are all seen in a single list in this window.
Oracle Endeca Commerce Record Boost And Burry
Records Boost and Burry feature allow you to show products at the top or bottom depending on the values set for boost and burry. Endeca also allows you to set multiple sorting parameters when querying MDEX engine. For example “N=0&Ns=Price|1||Location(27,72)”. We can use this during Boost and Burry as well. How to add other sort parameter to records Boost and Burry ? Boost […]

