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 […]
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 […]
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.
Sort dimension descending using config
Problem: An alpha-numeric property in Endeca, need to be configured to sort in descending, can we do this using developer studio? For example, we have “Year” dimension and it showing in below format and we want to to set it in descending order from 2016 -1950 Year 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 […]
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.
Endeca bridge API unable to retrieve aggregated records
If you have implemented record rollup on Endeca back-end and it is working correctly looking into Endeca JSP reference app. The documentation says passing Nu param and Np param will return aggregated records.But you are not getting correct results from Endeca bridge API.
What is restartGroup and updateGroup?
What is “restartGroup” and “updateGroup” used for? To control the order in which MDEX restart and applied partial updates, Deployment Template has two properties associated with the MDEX components. The restartGroup property applies to restarting MDEX Engine, while the updateGroup property applies to updating MDEX Engine. Below is the example on how to configure these groups. When restartGroup property is […]
Error in method invocation: Method importDimensionValueIdMappings
Endeca application initialization failed for CAS deployed application. Problem [07.10.16 20:49:12] INFO: [ITLHost] Starting shell utility ‘mkpath_-‘. [07.10.16 20:49:13] INFO: Setting definition for script ‘BaselineUpdate’. [07.10.16 20:49:13] INFO: Setting definition for script ‘PartialUpdate’. [07.10.16 20:49:13] INFO: Setting definition for component ‘Dgidx’. [07.10.16 20:49:13] INFO: Definition updated. [07.10.16 20:49:13] INFO: Provisioning site from prototype… [07.10.16 20:49:14] INFO: Finished provisioning site from […]
What maximum value of a dval ID can be set?
What’s the Maximum value for dval ID is? Ans: 2^32-1 = 4,294,967,295 Why? Because Forge is a 32-bit program and can’t handle integers outside the 32-bit range. In practice, highest ID value that Forge uses (for auto-generated or external dimension values) is actually 2^32 – 2 (4294967294): and not recommended to exceed this. When assigning IDs to auto-generated or external […]
Looping Map in Java
Below code snippet shows how to loop a Map or HashMap in Java. Map<String, String> map = new HashMap<String, String>(); map.put(“1”, “Mon”); map.put(“2”, “Tue”); map.put(“3”, “Wed”); //loop a Map for (Map.Entry<String, String> entry : map.entrySet()) { System.out.println(“Key : ” + entry.getKey() + ” Value : ” + entry.getValue()); } System.out.println(“####################”); //Java 8 only, forEach and Lambda map.forEach((k,v)->System.out.println(“Key : ” + k + […]

