Showing posts with label CRS. Show all posts
Showing posts with label CRS. Show all posts

Wednesday, 12 October 2016

ATG 11.1 CRS | SEVERE: Unable to retrieve sites - unable to locate root node

After starting weblogic server, tried to hit CRS home page. But got the blank page.

Below is the exception from logs.

==========================================================================
Oct 12, 2016 9:46:58 PM com.endeca.infront.site.SiteManager getSite
SEVERE: Unable to retrieve sites - unable to locate root node
**** Error      Wed Oct 12 21:47:00 IST 2016    1476289020935   /atg/endeca/assembler/droplet/InvokeAssembler   A problem occurred assembling the content for content item /content/Web/Home Pages. The response received was {previewModuleUrl=http://localhost:8006/ifcr, @type=ContentSlot, atg:currentSiteProductionURL=/crs/homeus, canonicalLink=com.endeca.infront.cartridge.model.NavigationAction@2a2248a2, ruleLimit=1, @error=com.endeca.infront.content.ContentException: com.endeca.navigation.ENEConnectionException: Error establishing connection to retrieve Navigation Engine request 'http://localhost:15000/graph?node=0&profiles=site.homeSite|sitegroup.siteGroupUS|NoPriceRange&offset=0&nbins=0&merchdebug=1&irversion=640'. Tried all: '1' addresses, but could not connect over HTTP to server: 'localhost', port: '15000' Check MDEX Logs and specified query parameters. , contentCollection=/content/Web/Home Pages}. Servicing the error open parameter.
==========================================================================

Solution : Start\re-start MDEX Engine.

Saturday, 9 July 2016

ATG 11.1 | Create Endeca application based on CRS

Sometime you need to create Endeca application based on CRS.

Follow below steps as command line log to create new application [Here Store application created].

CRS deploy.xml location : <CRS Installation Folder>\Store\Storefront\deploy\deploy.xml
=========================================================================
C:\Endeca\ToolsAndFrameworks\11.1.0\deployment_template\bin>deploy.bat --app C:\ATG\ATG11.1\CommerceReferenceStore\Store\Storefront\deploy\deploy.xml

 ------------------------------------------------------------------------------
   Found a supported version of Platform Services installed in directory
   C:\Endeca\PlatformServices\11.1.0. If the location is incorrect, type 'Q' to
   quit and adjust your ENDECA_ROOT environment variable. Press enter to
   continue with these settings.

   Continue?
 ------------------------------------------------------------------------------
     Deployment Template installation script.

     This script creates the directory structure for your
     deployment and installs configuration files and scripts
     into the directory structure.

07/06/2016 17:02:47 [deploy.pl] INFO:  Starting deployment template installation.

 ------------------------------------------------------------------------------
   The following app modules were specified on the command line argument:

   C:\ATG\ATG11.1\CommerceReferenceStore\Store\Storefront\deploy\deploy.xml


   Modules may be deployed standalone or on top of a base deployment type. Do
   you want to install a base deployment with the specified module(s)?

   Install base deployment? [Y/N]:
Y
07/06/2016 17:02:51 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\ATG\ATG11.1\CommerceReferenceStore\Store\Storefront\deploy\deploy.xml.
07/06/2016 17:02:51 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\Endeca\ToolsAndFrameworks\11.1.0\deployment_template\app-templates\base_descriptor.xml.

 ------------------------------------------------------------------------------
   Enter a short name for your application.

   Note: The name must conform to this regular expression: ^[a-zA-Z0-9]+$
    [default: CRS]

   Choosing a different application name may require additional configuration on
   your web application.

   Application name:
Store

 ------------------------------------------------------------------------------
   Specify the path into which the application will be deployed. The specified
   directory must exist and cannot contain spaces.

   For example, to deploy into c:\apps\Store, specify the path as c:\apps.

   Deployment directory:
C:\Endeca\apps

 ------------------------------------------------------------------------------
   Specify the port on which the Endeca Application Controller is running. This
   is configured in the server.xml file in the workspace of the Endeca software
   install and should be the same for all applications deployed in this
   environment. Ports must be in the range 1024-65535 [default: 8888].

   EAC port:

07/06/2016 17:03:26 [deploy.pl] INFO:  Deploying application into
   C:\Endeca\apps\Store

 ------------------------------------------------------------------------------
   Enter the port where workbench is running. [Default: 8006]

 ------------------------------------------------------------------------------
   Enter the port to use for Dgraph1. [Default: 15000]


 ------------------------------------------------------------------------------
   Enter the port to use for AuthoringDgraph. [Default: 15002]


 ------------------------------------------------------------------------------
   Enter the port to use for LogServer. [Default: 15010]

 ------------------------------------------------------------------------------
   Please enter the CAS install directory using Unix-style forward slashes,
   including the version number (e.g. C:/Endeca/CAS/11.1.0).
C:/Endeca/CAS/11.1.0

 ------------------------------------------------------------------------------
   Please enter the version for CAS jar files (or hit 'enter' to use the
   default).  [Default: 11.1.0]

 ------------------------------------------------------------------------------
   Please enter the hostname where CAS is running (or hit 'enter' to use the
   default). [Default: localhost]

 ------------------------------------------------------------------------------
   Please enter the port where CAS is running (or hit 'enter' to use the
   default). [Default: 8500]

 ------------------------------------------------------------------------------
   Please enter the language code to use (or hit 'enter' to use the default).
   [Default: en]

 ------------------------------------------------------------------------------
   Please enter the fully-qualified Workbench hostname, including domain.
localhost

 ------------------------------------------------------------------------------
   Please enter the production application server hostname. [Default: localhost]


 ------------------------------------------------------------------------------
   Please enter the production application server port number, Typical values
   are 7003 for WebLogic, 8080 for JBoss and Tomcat, and 9080 for WebSphere.
7003

 ------------------------------------------------------------------------------
   Please enter the preview hostname. [Default: localhost]

 ------------------------------------------------------------------------------
   Please enter the preview port number. Typical values are 7003 for WebLogic,
   8080 for JBoss and Tomcat, and 9080 for WebSphere.
7003

 ------------------------------------------------------------------------------
   Please enter the context root of the preview application. [Default: crs]
Store

 ------------------------------------------------------------------------------
   Enter the hostname of the user segment server. Oracle recommends using the
   Publishing server for this purpose. If your environment does not have a
   Publishing server, enter the Production server host name and refer to the
   Guided Search Integration Guide for additional configuration requirements.
   [Default: localhost]


 ------------------------------------------------------------------------------
   Enter the HTTP port of the user segment server. Oracle recommends using the
   Publishing server for this purpose. If your environment does not have a
   Publishing server, enter the Production server HTTP port and refer to the
   Guided Search Integration Guide for additional configuration requirements.
   [Default: 8080]

 ------------------------------------------------------------------------------
   Specify the path for the Oracle Wallet jps-config.xml file. [Default:
   C:\Endeca\ToolsAndFrameworks\11.1.0\server\workspace\credential_store\jps-config.xml]

 ------------------------------------------------------------------------------
   Which directory will application configuration archives be exported to.
   [Default: C:\Endeca\Apps\CRS\data\workbench\application_export_archive]
C:\Endeca\apps\Store\data\workbench\application_export_archive

 ------------------------------------------------------------------------------
   Specify the port on which Oracle Endeca Workbench is running: [Default: 8006]


 ------------------------------------------------------------------------------
   Specify the port to use for the Live Dgraph: [Default: 15000]


 ------------------------------------------------------------------------------
   Specify the port to use for the Authoring Dgraph: [Default: 15002]


 ------------------------------------------------------------------------------
   Specify the port to use for the Log Server Component: [Default: 15010]


 ------------------------------------------------------------------------------
   Specify the path for the Oracle Wallet jps-config.xml file: [Default:
   C:\Endeca\ToolsAndFrameworks\11.1.0\server\workspace\credential_store\jps-config.xml]

 ------------------------------------------------------------------------------
   Specify the path for the application configuration archives to be exported
   to: [Default:
   C:\Endeca\ToolsAndFrameworks\11.1.0\server\workspace\state\repository]

07/06/2016 17:08:13 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\Endeca\ToolsAndFrameworks\11.1.0\deployment_template\app-templates\base_descriptor.xml.
07/06/2016 17:08:13 [deploy.pl] INFO:  Processing install with id 'Dgraph'
07/06/2016 17:08:15 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\ATG\ATG11.1\CommerceReferenceStore\Store\Storefront\deploy\deploy.xml.
07/06/2016 17:08:15 [deploy.pl] INFO:  Processing install with id 'CRSApp'
07/06/2016 17:08:23 [deploy.pl] INFO:  Application successfully deployed.

C:\Endeca\ToolsAndFrameworks\11.1.0\deployment_template\bin>


=========================================================================
This will create application and supported directories. Next you need to initialize the application in order to provision it. Once application is provisioned you can proceed with indexing and other activities. Optionally you can export CRS record store content , dimension value id manager data and import in new application. In this case you also need to export index-config for ATG user and import in new application.

Saturday, 2 July 2016

Resolved | ATG 11.1 CRS TargetingException No value for the targeter parameter

After ATG 11.1 CRS Setup. Home page targeter section was blank.

Here is exception from log : TargetingException No value for the targeter parameter

CRS Blank Page
CRS Blank Page

Solution : Start NoPublishing submodule [ADD Store.Storefront.NoPublishing in ATG module list in dynamo.env].

After this home page is displaying properly.

CRS Home Page
CRS Home Page

Resolved | ATG 11.1 CRS SetUp ATGJRE variable issue

While configuring CRS for ATG 11.1 encountered below issue.

ATGJRE Error
ATGJRE Error


Solution : Set ATGJRE environment variable. Don't forgot to include java at the end of the path. Otherwise you will get error

ATGJRE Path Variable
ATGJRE Path Variable



Monday, 3 February 2014

Solution for signer information error (occuring at server startup or on browsing) for ATG 10.1 CRS

I have configured CRS (Commerce Reference Store) for ATG 10.1 using CIM (Configuration and Installation Manager). After server startup I tried to browse the application but only header was displaying.Server was throwing below exception.

ERROR [[jsp]] Servlet.service() for servlet jsp threw exception java.lang.SecurityException: class "atg.commerce.order.OrderHolder$$EnhancerByCGLIB$$e9ab456d"'s signer information does not match signer information of other classes in the same package
     at java.lang.ClassLoader.checkCerts(ClassLoader.java:807)
     at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
     at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
     at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219) 


Solution :  Replace the jboss-eap-5.0/jboss-as/common/lib/cglib.jar with the unsigned version, which can be downloaded from the following URL : http://repository.jboss.com/maven2-brew/cglib/cglib/2.2/cglib-2.2.jar or http://search.maven.org/remotecontent?filepath=cglib/cglib/2.2.2/cglib-2.2.2.jar.
This is due to a problem with the JBoss cglib library.For more details see the JBoss bug https://jira.jboss.org/jira/browse/JBPAPP-2971.