Running the database setup script for Windows
The database setup script installs or upgrades your Reach database.
Procedure
- Log on to your target machine as an administrator-level user.
- Ensure that the
JAVA_HOMEenvironment variable is set to a supported version of Java. - Ensure that Java's
java.library.pathproperty has a value that includes C:\Windows. - If your Web application server is Apache Tomcat, do the following to enable management of the Reach Web application from your Apache Tomcat Web Application Manager:
- In Windows Explorer, navigate to the SDL LiveContent home folder, and then to its WEB-INF\lib\ subfolder.
- From this location, copy rlmnum.jar (where num is a series of digits, for example 923).
- Navigate to the Apache Tomcat home folder, and then to its lib\ subfolder, and paste the file.
- Here
- Open the Windows Start menu and navigate to All Programs > Accessories.
- Right-click Command Prompt and from the context menu that opens, select Run As Administrator. A command prompt with administrator-level access opens.
- Navigate to the SDL LiveContent home folder and then into its WEB-INF\ subfolder.
- Enter the following command:
setup.bat installAdd the following switches if necessary:-Dlc.protocol=HTTPS-
Add this to the end of your command if your Reach Web application runs securely over an HTTPS protocol.
-Dlc.port=PORTNUMBER-
Add this to the end of your command if your Reach Web application runs on a different port than 8080, indicated by PORTNUMBER.
-Dlc.context=CONTEXT-
Add this to the end of your command if your Reach Web application runs in a specific application context other than the default context
/LiveContent, indicated by CONTEXT (must start with a/). -Dlc.host=HOST-
Add this to the end of your command if your Reach Web application on a host other than the default,
localhost, indicated by HOST.
The setup script initializes the database and uploads program files and skins to it.