Blog

  1. Home
  2. Blog

Two-dimensional array JAVA

We can declare a two dimensional array and directly store elements at the time of its declaration as shown below: int numbers[][]={{23,45,57,24,74},{34,67,23,55,23},{34,74,24,46,78},{23, 56,87, 89,96}, {95, 03, 45, 99,56}}; Here int represents integer type elements stored into array and array name is ‘numbers’. ‘int’ is the datatype for all elements represented inside “{” and “}” braces because an array is a […]

Continue Reading

Workbench saved rules not applying to dgraphs

When rules are saved, default behavior of Workbench is to apply update to all dgraphs. All defined dgraph HOST’s EAC Agents are instructed to perform an emgr_update command to request the MDEX configuration files from defined Workbench HOST. Webstudio HOST is configured in webstudio.properties file in the “$ENDECA_CONF/conf” in Linux or “%ENDECA_CONF%\conf” in Windows directory. “com.endeca.webstudio.hostname” variable specifies HOST for Workbench. This […]

Continue Reading

HWDI [How We Do It] Custom Sorting

Let’s implement another business requirement in our series HWDI [How We Do It]. Below is the conversation between business analyst [Steve] and developer [Lisa] team to implement custom sortingOptions using Oracle Endeca Experience Manager. Steve: Good Morning Dev Team, we have a new requirement to give more control over sort options. Here are the requirements: As a merchandizing user I […]

Continue Reading

Transferring thesaurus between environments

There are two ways for transferring thesaurus between environments. 1) Export the site data from one environment and import it to other. 2) Using IFCR command.  From your /<yourendecapath>/<application> /control directory, execute: runcommand.bat IFCR exportNode ..\config\temp\thesaurus thesaurus All thesaurus entry files will be created in the specified directory.  If the directory does not exist in your filesystem, the EAC creates […]

Continue Reading

Common response codes for MDEX Engine

The following are the most common response codes for MDEX Engine: 200: OK. The MDEX Engine successfully processed the query. 404: Not Found. The query sent to the MDEX Engine was in an incomprehensible format (e.g. “/favicon.ico”), or the query specified a navigation descriptor that does not exist. The most common causes of 404s are browser bookmarks/favorites that are no […]

Continue Reading

JBOSS Failed to parse XML descriptor error

Problem: Getting error “Failed to parse XML descriptor” when trying to deploy “discover”application war on JBOSS server. C:\jboss\jboss-eap-6.4\bin>standalone.bat | C:\MVN\ATGLogColorizer_v1_2.exe ATGLogColorizer v1.2. Copyleft 2007-2008 by Kelly Goetsch. http://atglogcolorizer.sourceforge.net Calling “C:\jboss\jboss-eap-6.4\bin\standalone.conf.bat” Setting JAVA property to “C:\Program Files\Java\jdk1.8.0_73\bin\java” =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: “C:\jboss\jboss-eap-6.4” JAVA: “C:\Program Files\Java\jdk1.8.0_73\bin\java” JAVA_OPTS: “-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms1G -Xmx1G -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.policy-permissions=true […]

Continue Reading

Tomcat default administrator password

Tomcat users are defined in XML file “$TOMCAT_HOME/conf/tomcat-users.xml”. There are NO users defined by default, therefore no one can access Tomcat manager page. <tomcat-users> <!– <role rolename=”tomcat”/> <role rolename=”role1″/> <user username=”tomcat” password=”tomcat” roles=”tomcat”/> <user username=”both” password=”tomcat” roles=”tomcat,role1″/> <user username=”role1″ password=”tomcat” roles=”role1″/> –> </tomcat-users> Add below role and user to make it work.

Continue Reading

Reporting Scripts not visible in EAC Admin Console

Problem: When you login to EAC Admin Console in Endeca Experience Manager and find that Reporting scripts are missing as shown in below screenshot. Fix: The issue is with missing “provisioned-script-command” in “ReportGeneration.xml”. If we see missing “provisioned-script-command” for any components as shown below. It will not be displayed in Script tab for Endeca Experience Manager.

Continue Reading
Show Buttons
Hide Buttons