Showing posts with label Migration. Show all posts
Showing posts with label Migration. Show all posts

Saturday 8 April 2017

What’s new in Oracle Commerce Guided Search 11.2

Hi Followers,

When I say, I am working on the ATG migration; first question all will ask is that what is new in it. I though this will be the best forum to share what’s new in it. I described the content in very shorter way, that all can understand quickly. I have shared some important features in ATG as well.

Index Partitioning

The Oracle Commerce multisite framework allows merchants to run multiple different web sites on the same instance of Commerce; hence the indexing is also improved to support this feature. The Main Changes that were brought in oracle commerce guided search 11.2 is that, it allows for the configuration of how site data is partitioned into search indexes. Administrators can select which sites’ data will be indexed in which index, thus allowing the data to be partitioned across multiple MDEX indexes

Unified Reporting

Reporting features has been improved, from the Guided Search product with reporting from the Commerce Platform. This allows analysis of the data such as top search terms by site, by segment, or even by items purchased.
Out of the box, reports are provided to help give valuable insight into customer activity with Search. These include key analysis such as top search terms, search terms with zero results, search terms that led to the most sales, and most used facet values. Where the out of the box reports do not meet a particular need, Oracle Business Intelligence’s powerful capabilities may be used to create custom reports, ad-hoc queries, and bespoke dashboards.

Language Support

Language support is improved by adding the new languages and improving the search results and customer experience.
It supports the following languages, so totally 50 languages are supported in it.


Oracle Commerce Workbench


Experience Manager Projects

Experience Manager Capabilities has been improved a lot in this version, for example the Experience Manager has been released same like BCC with the Assets Flow.  The Experience manager allows multiple users can work on the project parallel same like the BCC. If the Conflict happened then it cannot be modified by the other user and he will be notified. A simple prebuilt approval process that allows users to make changes and commit them is being introduced. It provides the visibility to changes done before committing.

Interactive editing can be done in preview actively, without having to switch between preview and data view. A new Manifest pane provides details of the various page elements. Users can edit page elements from the Manifest pane and see the effect of their changes on the preview page.ie WYSIWYG editing mode. Business users can now also set up different form factors for different types of devices (desktop, tablet, mobile, etc.) that will allow them to preview the same page for different devices.

Site Specific Keyword Redirects

The Workbench keyword redirect tool has been enhanced in 11.2, allowing business users to add keyword redirects that are specific to a given site in a multi-site environment. IT users can add a keyword redirects group and associate the group to a specific site, allowing business users to manage keyword redirects at the site level by working with the group. A default keyword redirects group ships with the product, while additional ones can be created and assigned to other sites.
Administrators can restrict access permissions for these groups so that only certain users can add keyword redirects to a certain site.

Some Important Features in oracle commerce 11.2

To better achieve goal of Omni Channel Experience, Commerce 11.2 adds significant new capabilities to support omni-channel commerce. The new Commerce Store Accelerator (CSA) reference application provides a responsive, modern, up to date starter store to assist merchants in creating their storefront and support desktop, tablet and mobile devices.

BCC

Commerce 11.0 and 11.1 added new content management capabilities to the Commerce platform and version 11.2 continues with new functionality in this area. Media files can now be directly uploaded within the BCC and stored on the Commerce servers, without the need for external systems. With the prior investments and the new 11.2 features, more and more merchants will be able to manage all their content and commerce in a single application, Oracle Commerce

Pricing

The pricing engine has also been updated to allow prices to vary by time. This allows business users to set up multiple prices ahead of time, with the appropriate start and end times. While this is valuable for managing day to day price changes, it also makes supporting various pricing strategies such as flash sales, simpler and easier to manage.

For ATG 11.2 Migration Read my previous blog here. For Endeca Migration Read my blog here .


Happy Learning !!!! 

Thursday 23 March 2017

Endeca 11.2 Migration

Hi Friends ,
Today we are going to see some interesting topic about migrating Endeca to 11.2 version , which consists of some interesting steps which you have not done Earlier .This Tutorial aims to be describing the step by step approach to be followed.

Before Start executing these tutorials, I would recommend to read my earlier blog regarding the ATG migration, which may be interesting to follow up.

Step1:

App Migration:

I would recommend you to compare 11.1 and 11.2 app structures and move the newly changed files to 11.1 app structures, use software’s like beyond compare for this comparison. When you don’t have earlier 11.1 project specific app structure then you can go head and creating the app from the crs deployment template of 11.2, for application creation you can refer my blog here.

In the App level some of the legacy import has been replaced. The content has been identified with the json files

Eg

Make sure the following file is avalaible in the Folder C:\Endeca\Apps\ATGen\control\..\config\import
_@@PROJECT_NAME@@.json

{"ecr:type": "site"}
Some of the Scripts for execution has been removed completely, when you do a compare you will come to know.

Step:2

After the Installation login to the workbench http://localhost:8006/
When you are logging for the first time, 11.2 feature asks you to change the password change it make sure you are using the unique password, this password has to be registered in to the Endeca and ATG Side so remember it .

Step:3

Initialize the Application from control directory of the application. When you do initialization you will face the below issue while provisioning the site to IFCR .

[07.22.16 15:09:46] SEVERE: Unauthorized (401): Unauthorized access to workbench. Please check your credentials in WorkbenchConfig.xml/OCS. If problem still persists, please contact your administrator.
Occurred while executing line 3 of valid BeanShell script:
[[

1|
2|      
3|    IFCR.provisionSite();
4|    CAS.importDimensionValueIdMappings("Discover-dimension-value-id-manager",
5|         InitialSetup.getWorkingDir() + "/test_data/initial_dval_id_mappings.csv");
6|     

]]

[07.22.16 15:09:46] SEVERE: Caught an exception while invoking method 'run' on object 'InitialSetup'. Releasing locks.

Caused by java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl invoke0 - null
Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
Caused by com.endeca.soleng.eac.toolkit.utility.IFCRUtility$HttpStatusException
com.endeca.soleng.eac.toolkit.utility.IFCRUtility execute - Unauthorized (401): Unauthorized access to workbench. Please check your credentials in WorkbenchConfig.xml/OCS. If problem still persists, please contact your administrator.

Failure to initialize EAC application.

The Solution for this is go to Tools and Frameworks Directory and go to credential store directory and execute the below command

manage_credentials.bat add --config ..\..\server\workspace\credential_store\jps-config.xml --mapName endecaToolsAndFrameworks --user admin --key ifcr --type password


don’t forget to give the –config of you are not giving the Config then it will not update the Password in jps-config.xml

it will ask for the username and password give the username as admin and password as same password which you changed for the workbench.  It will prompt that key already exists do you want to update give yes for it .


Step:4

Change this config repository password in cas also.
C:\Endeca\Apps\ATGen\config\cas\last-mile-crawl.xml
After you changed , do initializeservices this time it will initialize without errors .

Step:5

You are set when you want to trigger indexing from dyn admin you need to perform more operations


Other wise you will face com.endeca.repository.importer.ImporterException: Unable to connect to config repository on localhost.localdomain:8006 with user admin, Response:HTTP/1.1 401 Unauthorized


Solution:

Go to the component

http://localhost:8015/dyn/admin/nucleus//atg/dynamo/security/opss/csf/CredentialStoreMana
ger/
select
CreateLogin CredentialStoreManager

And click select if it is givin error like below java.security.AccessControlException: Access Denied

Then go to the C:\Java\jdk1.8.0_21\jre\lib and open the file java.policy and  add the following line in to the grant option.

permission java.security.AllPermission;

after this changes then again restart the server and go to the component CredentialStoreManager

do the same

CreateLogin CredentialStoreManager/
credental key ifcr
credential type login
username
password
here username and password is the same as you have given earlier  . once if you give it all , it will be highlighted in yellow which states your changes has picked .




So now you are done with the Endeca Changes now from java changes.


Endeca 11.2 Java changes

Class Named NavigationStateProcessor has changed it’s below method

public void process (NavigationState pNavigationState)

to

public NavigationState process (NavigationState pNavigationState)

So Congratulations for migrating to 11.2 .



Monday 20 March 2017

ATG 11.2 Migration

Hi Readers, Most of us when Migrating from one version to another will have a lot Questions in their Mind. How to Start with and what are the things to be considered While Migrating to the Newer Version, so in this Tutorial I am going to list down some of the Common Approaches to be followed while Migration.

Step:1

The First and Foremost thing you have to do is Download the guide named  Oracle Commerce Platform 11.2 Migration Documentation. This will give you certain approaches like CIM installation and Manual installations.

Step:2

In the Same Oracle Commerce Platform 11.2 Migration Documentation Directory you will find the Patches to be Download from the Oracle Support Site , Download it.

Step:3

Once You Download the Patch, for 11.2 there are two types of the Patch for DB Scripts available, one for ATG and another for CSC . Endeca Changes also comes as part of the ATG.

Separate the Scripts based on the CAT, CORE, PUB,AGENT ,

How you can identify the Scripts belong to which schema is?

Identify the Scripts in the Alter Table Execute in the Previous Schemas and Identify, and all the Scripts given in the Versioned Folder should be Separated and  executed only in the PUB Schema . There are no Official details about the table execution in the Schema.  
Do the View Mapping Changes for the BCC and CSC.

Step:4

Once you are done with the Scripts Migration execute the Above In the respective Schema. Replace the Env variables In the Machine and Eclipse. So that it is pointing to the 11.2 Jars.

Step: 5

Do the Compilation Changes and Deploy Ear.  Follow the Migration Guide to Change the Java Specific Changes.

Step :6

Solve the Server Startup issues. Once it is Finished You are done!!!!

Endeca Migation Can be dealt in seperate Blog post. If You are Interested to migrate using CIM , it as good as the Command Prompt Selection. View Mapping Scripts are Executed in the Dynamo admin of the BCC.