Created On: 21 April 2011
Problem:
Borland Search Server has been installed. However, when trying to set up a data source the following error message is shown:
Could not initialize class com.borland.starteam.impl.util.Platform
Could not initialize class com.borland.starteam.impl.util.Platform
Resolution:
Please ensure that Borland Search Search is not running before making the following changes:
1. Locate the catalina.bat file within the Tomcat installation; for example: C:\TomCat\apache-tomcat-5.5.23\bin\catalina.bat
2. Open the catalina.bat file for editing
3. Add the following lines just after the large remark block at the top of the file:
rem ***********************************************************
rem * REQUIRED FOR ACCESS TO BORLAND SEARCH WINDOW'S DLLs *
rem ***********************************************************
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 / BSS process
Full setup details can be found in the BSS guide
1. Locate the catalina.bat file within the Tomcat installation; for example: C:\TomCat\apache-tomcat-5.5.23\bin\catalina.bat
2. Open the catalina.bat file for editing
3. Add the following lines just after the large remark block at the top of the file:
rem ***********************************************************
rem * REQUIRED FOR ACCESS TO BORLAND SEARCH WINDOW'S DLLs *
rem ***********************************************************
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 / BSS process
Full setup details can be found in the BSS guide
Incident #2514400