IAP Workbench에서 CAS를 이용하기 위해 접속했을 때 이런 에러메시지를 발견했다.
원인은 CAS를 재설치 했기 때문이다. -_-a

출처: http://eden.endeca.com/web/eden/docinfo?p_p_id=EXT_14&uuid=0d3b90a8-e926-11de-9935-bd2757d902c9

-----Problem-----
When attempting to access the CAS Extension / Data Sources tab in Workbench, the following error is displayed.

CAS Console must be accessed through Workbench.


-----Cause-----
This problem can occur when CAS is reinstalled or upgraded: it occurs because the "secret numbers" in the casconsole.properties and ws-extensions.xml files no longer match. 


-----Solution-----
Change the secret number in %ENDECA_TOOLS_CONF%\conf\ws-extensions.xml [Windows] or $ENDECA_TOOLS_CONF/conf/ws-extensions.xml [UNIX] to match the one specified in %ENDECA_TOOLS_CONF%\conf\casconsole.properties [Windows] or $ENDECA_TOOLS_CONF/conf/casconsole.properties [UNIX].

After making this change, restart the Endeca Tools Service:

For Windows, open the Services console and select restart for the Endeca Tools Service.

For UNIX, issue these two commands from the Endeca user account:
$ENDECA_TOOLS_ROOT/server/bin/shutdown.sh
$ENDECA_TOOLS_ROOT/server/bin/startup.sh

The following is an example of matching secret codes:

casconsole.properties file:

# Workbench Shared Secret
com.endeca.casconsole.secret=27568

ws-extensions.xml file:

<?xml version="1.0" encoding="UTF-8"?>

<extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="extensions.xsd">

<extension id="casconsole" defaultName="Data Sources" defaultDescription
="The CAS Console for Endeca Workbench is a Web-based application used to crawl
various data sources including file systems and content management systems." url
="http://localhost:8006/casconsole/?timestamp=${TS}&auth=${AUTH
}" role="admin" sharedSecret="27568" height="700"/>
</extensions>


'Dev > endeca' 카테고리의 다른 글

Endeca 검색결과 기본 정렬  (0) 2011.12.15
CAS Console must be accessed through Workbench  (0) 2011.11.07
Partial update capabilities  (0) 2011.06.15
Recommended threading strategies and OS platform  (0) 2011.01.18
Avoiding defunct EAC processes  (0) 2011.01.18

+ Recent posts