Concurrent Update error :
ispatcherThread.java:178)
**** Error Thu Jun 19 08:13:03 PDT 2014 1403190783340 /atg/commerce/endeca/index/CategoryToDimensionOutputConfig
**** info Thu Jun 19 08:13:03 PDT 2014 1403190783355 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin Indexing process cancelled, Endeca says: atg.repository.search.indexing.IndexingException: com.endeca.itl.recordstore.ConcurrentWriteException: Write in progress with generation 42
**** Error Thu Jun 19 08:13:03 PDT 2014 1403190783357 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin --- atg.repository.search.indexing.IndexingException: com.endeca.itl.recordstore.ConcurrentWriteException: Write in progress with generation 42
The below script can be use to start and stop the three Endeca Services.
Also clear the logs before restarting.
##############
#!/bin/bash
########################################################
# # Endeca Clean and Start Scripts ###
# # ###
# # Author : Anilal KG ###
# # ###
# # Version : 0.1 ###
########################################################
SCRIPT=endeca
ENDECA_INSTALL_BASE=/path/to/endeca
PS_BIN=${ENDECA_INSTALL_BASE}/PlatformServices/6.1.4/tools/server/bin
TF_BIN=${ENDECA_INSTALL_BASE}/ToolsAndFrameworks/3.1.2/server/bin
CAS_BIN=${ENDECA_INSTALL_BASE}/CAS/3.1.2.1/bin
APP_LOG=${ENDECA_INSTALL_BASE}/apps/$1/logs/ ## path to endeca apps logs
if [ -z "$1" ]
then
echo ""
echo "Usage: "
echo ""
echo " sh endecacontroller.sh <appname> "
exit
fi
if [ ! -d "$APP_LOG" ]; then
printf "\n The ENDECA application -- $1 -- does not exists .Please check once again \n"
exit
fi
echo ""
echo "Stopping CAS ".${CAS_BIN}
${CAS_BIN}/cas-service-shutdown.sh
echo ""
echo "Stopping Tools And Frameworks ".${TF_BIN}
${TF_BIN}/shutdown.sh
##
echo ""
echo "Stopping PlatformServices ".${PS_BIN}
${PS_BIN}/shutdown.sh
## clearing logs
echo ""
echo "Clearing the application logs .."
echo $APP_LOG
rm -rf $APP_LOG/*.*
echo ""
echo "Starting Platform Services "
${PS_BIN}/startup.sh
echo ""
echo "Starting Tools And Frameworks "
${TF_BIN}/startup.sh
echo ""
echo "Starting CAS "
${CAS_BIN}/cas-service.sh &
echo ""
echo ""
echo "Status of the ports listening -double check manually --Listenting for ports..."
echo ""
echo ""
netstat -plnt | grep :::8
##############
ispatcherThread.java:178)
**** Error Thu Jun 19 08:13:03 PDT 2014 1403190783340 /atg/commerce/endeca/index/CategoryToDimensionOutputConfig
**** info Thu Jun 19 08:13:03 PDT 2014 1403190783355 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin Indexing process cancelled, Endeca says: atg.repository.search.indexing.IndexingException: com.endeca.itl.recordstore.ConcurrentWriteException: Write in progress with generation 42
**** Error Thu Jun 19 08:13:03 PDT 2014 1403190783357 /atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin --- atg.repository.search.indexing.IndexingException: com.endeca.itl.recordstore.ConcurrentWriteException: Write in progress with generation 42
The below script can be use to start and stop the three Endeca Services.
Also clear the logs before restarting.
##############
#!/bin/bash
########################################################
# # Endeca Clean and Start Scripts ###
# # ###
# # Author : Anilal KG ###
# # ###
# # Version : 0.1 ###
########################################################
SCRIPT=endeca
ENDECA_INSTALL_BASE=/path/to/endeca
PS_BIN=${ENDECA_INSTALL_BASE}/PlatformServices/6.1.4/tools/server/bin
TF_BIN=${ENDECA_INSTALL_BASE}/ToolsAndFrameworks/3.1.2/server/bin
CAS_BIN=${ENDECA_INSTALL_BASE}/CAS/3.1.2.1/bin
APP_LOG=${ENDECA_INSTALL_BASE}/apps/$1/logs/ ## path to endeca apps logs
if [ -z "$1" ]
then
echo ""
echo "Usage: "
echo ""
echo " sh endecacontroller.sh <appname> "
exit
fi
if [ ! -d "$APP_LOG" ]; then
printf "\n The ENDECA application -- $1 -- does not exists .Please check once again \n"
exit
fi
echo ""
echo "Stopping CAS ".${CAS_BIN}
${CAS_BIN}/cas-service-shutdown.sh
echo ""
echo "Stopping Tools And Frameworks ".${TF_BIN}
${TF_BIN}/shutdown.sh
##
echo ""
echo "Stopping PlatformServices ".${PS_BIN}
${PS_BIN}/shutdown.sh
## clearing logs
echo ""
echo "Clearing the application logs .."
echo $APP_LOG
rm -rf $APP_LOG/*.*
echo ""
echo "Starting Platform Services "
${PS_BIN}/startup.sh
echo ""
echo "Starting Tools And Frameworks "
${TF_BIN}/startup.sh
echo ""
echo "Starting CAS "
${CAS_BIN}/cas-service.sh &
echo ""
echo ""
echo "Status of the ports listening -double check manually --Listenting for ports..."
echo ""
echo ""
netstat -plnt | grep :::8
##############
How to check all the Endeca Services are up and running:
ReplyDelete[jboss@vserverxxxxx ~]$ netstat -plnt | grep :::8
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 :::8888 :::* LISTEN 25989/java
tcp 0 0 :::8006 :::* LISTEN 26019/java
tcp 0 0 :::8007 :::* LISTEN 26019/java
tcp 0 0 :::8500 :::* LISTEN 26043/java
[jboss@vserverxxxxx ~]$
[nucleusNamespace.atg.commerce.endeca.index.ProductCatalogSimpleIndexingAdmin] (index-/atg/commerce/endeca/index/ProductCatalogSimpleIndexingAdmin) null: atg.repository.search.indexing.IndexingException: com.endeca.itl.recordstore.ConcurrentWriteException: Write in progress with generation 722
ReplyDeleteThe above error just required to stop and start CAS