Content Server - Placement of ini files
3 min
To establish a connection using the Java API, two initialization (ini) files are required: cmbicmenv.ini and cmbicmsrvs.ini. Follow the steps below to correctly place and configure these files:
Step 1: Locate the Initialization Files
- Find the ini files on the server: The cmbicmenv.ini and cmbicmsrvs.ini files are typically located within the configuration directory of your existing Content Manager system.
- Verify the files: Ensure that you have the correct and most recent versions of these files to avoid any compatibility issues.
Reach out to CM8 Administrator to obtain the files.
Step 2: Place the Files in the Correct Directory
- Create the necessary directory structure: If it doesn't already exist, create a directory named Config/CM8 within your project's root or the appropriate configuration directory.
- Copy the files: Transfer the cmbicmenv.ini and cmbicmsrvs.ini files from the server to the Config/CM8 directory. This ensures that your application can easily access the necessary configuration details.
Step 3: Modify the cmbicmsrvs.ini File
- Open the cmbicmsrvs.ini file: Use a text editor to open the cmbicmsrvs.ini file located in the Config/CM8 directory.
- Update the ICMHOSTNAME property: Find the ICMHOSTNAME property within the file and replace its value with the correct hostname or IP address of the Content Manager (CM8) server. This step is crucial for establishing a successful connection to the server.
- Review other configurations: While editing, take the time to review other properties in the file to ensure they match your environment’s specifications. If necessary, consult your system administrator for the correct settings.