Tuesday 3 December 2013

some output from few days



Through lot of shell scripts (linux, windows) and spring xmls, and after few experiments cause of issue was found:
on linux:

diff ../config/script/environment.properties.good ../config/script/environment_properties.bad 
65c65
---
  CAS_RS_CLASSPATH=/media/ephemeral0/endeca/CAS/3.1.2.1//lib/recordstore-forge-adapter/recordstore-forge-adapter-3.1.2.jar

on windows:

diff ../config/script/environment.properties.good ../config/script/environment_properties.bad 
65c65
  CAS_RS_CLASSPATH=/media/ephemeral0/endeca/CAS/3.1.2.1//lib/recordstore-forge-adapter/recordstore-forge-adapter-3.1.2.jar
---


Context of my work: automated deployment of enterprise apps { Endeca , ATG Web Commerce } by using proprietary PaaS engine ; instructions validation; knowledge transfer.

Issue was look like an  java.lang.ClassNotFoundException in process of Forge configuration {config}: (AdapterRunner): Error creating bean with name 'schemaRecordStoreAdapter' defined in class path
 resource [config/script/fcm-record-stores.context.xml]: Cannot create inner bean 'com.endeca.itl.recordstore.forge.RecordStoreSource
Bad environment.properties was generated by using CIM ( ATG web commerce) ,good was generated by  endeca tools and framework deployment_template deploy.sh.

It is a small one routine issue, next one is more interesting : - )

This part of my work was based on http://iam-saminda.blogspot.ru/2013/06/oracle-ecommerce-atg-102.html and oracle atg 10.2 documentations. Thanks for all who are working on such materials.