Created On:  10 October 2011

Problem:

Borland Search Server (BSS) fails during an extraction with the error message: 
ERROR RDFSchemaGenerator  - DES SecretKeyFactory not available
java.security.NoSuchAlgorithmException: DES SecretKeyFactory not available at javax.crypto.SecretKeyFactory.(DashoA13*..)
at javax.crypto.SecretKeyFactory.getInstance(DashoA13*..)

Resolution:

This error is caused by incorrectly configuring the search server.  To use the Admin Console for starting CaliberRM/StarTeam processes, you must modify the catalina.bat file as follows: 

1.  Open the file "\tomcat\apache-tomcat-5.5.23\bin\catalina.bat"
2.  There is a comment block at the top of the file: 

rem ***********************************************************
rem * REQUIRED FOR ACCESS TO BORLAND SEARCH WINDOW'S DLLs *
rem ***********************************************************

3.  Add the following lines

set CURR_WRK_DIR=�%
set DLL_DIR=%CURR_WRK_DIR%\..\webapps\bss\bin\windows\dll
set PATH=%DLL_DIR%;%PATH%
echo Using CURRENT WORKING DIRECTORY: %CURR_WRK_DIR%
echo Using PATH: %PATH%
rem *********************************************************** 

4.  Save the catalina.bat file
5.  Restart the Tomcat process

If the tomcat process is started as a service, the absolute path to the 'YOUR_ABSOLUTE_PATH\webapps\bss\bin\windows\dll' directory must be added to the system path before any CaliberRM or StarTeam entries. 
 
These prerequisite setup instructions usually gets over-looked but are neccessary for BSS to work correctly.

Please note: these instructions are in the “ST_Search_Readme.html” readme that is installed with the application.
Incident #2513258