MENU

CAMServer boot.ini file

TOC

Introduction.

The main customizations are functional restriction We will implement it, but unconventional customizations boot.ini But we do support it.boot.ini Here's how to edit it:

  1. CAMServer stop
  2. CAMServer/boot.ini (Create or edit file)
  3. CAMServer startup

The contents of boot.ini are also copied to the cam.ini file. The cam.ini file is used by CAMServer to dynamically save configuration values.
- If you create a boot.ini file using Notepad in an environment where file extensions are not displayed, the extension will be added, resulting in boot.ini.txt. Please enable file extension display in File Explorer before creating the file.

Basic settings

Setting the URL domain to access the server

Set the domain of the URL to access the server. Domain Name Settings This setting can also be configured in the GUI. This setting is used in the following places:

  • Web conference URL
  • Host name when accessing the STUN server for web conferencing
  • Link sharing in messages
  • Redirect URL in SSO
  • Click URL for Web/Push notifications
# サーバへアクセスする URLドメインの設定
cam.serverURLDomain=camserver.xyz

Specify the length of the login password

# ログインパスワードの長さを指定 ※ 6以上に設定する必要があります
cam.userPasswordMinLength=8

Data deletion

Number of days to delete messages

Messages will be deleted to prevent degradation of normal loading speeds during long-term operation.

# 365日経過したメッセージを自動で削除
cam.deleteMessageDays=365

The setting value specifies how many days of past messages will be left from the user's perspective the next day.
The deletion process will be carried out at 11pm.

Move message to archive table

Messages are moved to the archive table to prevent a slowdown in normal loading speed during long-term operation. Archived messages can only be viewed by administrators on the message management screen by default. To allow general users to view them in log searches, you need to add a separate cam.restrictArchivedMessageAdminOnly=false I will also add a note.

# 365日経過したメッセージをアーカイブテーブルに移動
cam.archiveMessageDays=365

The setting value specifies how many days of past archived messages will be retained from the user's perspective the next day.
Archive table processing is executed at 11pm.

Delete messages from the archive table

# 1000日経過したメッセージをアーカイブテーブルから削除
cam.deleteArchivedMessageDays=1000

Number of days to remove files attached to messages

# 365日経過したメッセージの添付ファイルを自動で削除
cam.deleteMessageAttachmentDays=365

Sending and receiving messages

Maximum number of characters in a message

You can specify the maximum number of characters in a message to be sent. If omitted, the default value is 4,000 characters, and each character is counted as one character regardless of case or symbol.

# 送信メッセージの最大文字数
cam.sendMessageLengthLimit=4000

Displays the remaining number of characters in the input area compared to the maximum number of characters for the message to be sent

# 送信メッセージの最大文字数に対し残り文字数を表示
cam.showRemainChar=true

Maximum size of files that can be uploaded

# アップロードファイルのサイズ上限を500MBにする
cam.uploadSizeLimitMB=500

Execute webhook after receiving message

By using webhooks, you can integrate with external systems after receiving a message. The following is an example of a configuration for a chat room.test1ortest2If a message with an attachment is received, https://example.com/webhook A notification will be sent in the specified JSON format.

# メッセージ送信後に webhook を実行
cam.webhookMessageURL=https://example.com/webhook
# メッセージが任意のチャットルームの場合だけ(ここでは、test1,test2 のみ) webhook を実行
cam.webhookMessageInRooms=test1,test2
# メッセージに添付ファイルがある場合だけ webhook を実行
cam.webhookMessageHasAttachmentsOnly=true
# webhook を実行する際に指定されたヘッダを HTTP リクエストに付与。次のように列挙「key: value,key: value」
cam.webhookMessageHTTPHeaders=Authorization: Bearer ***,X-Company-ID: ABC123
{
  "message": {
    "id": "1757482720232951888",
    "userId": "id1",
    "userName": "id1",
    "isOpened": true,
    "panelName": "テスト",
    "message": "よろしくお願いいたします。",
    "inlineContent": null,
    "parentID": null,
    "talkId": "JoFqJCYhccn5Rxszw1IIqA",
    "createdAt": 1757482720232,
    "updatedAt": 1757482720232,
    "attachments": [
      {
        "id": 152536,
        "name": "test.png",
        "md5Hash": "9922d0f96e693f50e1110c8e1d01c7e9",
        "size": 24531,
        "lastModified": 1757482708795,
        "isFileView": true,
        "comment": "",
        "url": "https://pc/CAMServer/download?type=message&id=1757482939818688333&attachedId=452179&hash=9922d0f96e693f50e1110c8e1d01c7e9&name=test.png"
      }
    ]
  }
}
id...Message ID userId...Chat&Messenger user ID userName...Chat&Messenger username isOpened...Normally true, false for read receipt messages panelName..."Messenger" for DMs, room name for chats message...Message body inlineContent...Inline content within the message body parentID...Parent message ID for posts within a thread talkId...Talk ID. *A unique ID is generated for each DM and chat createdAt...Message creation date and time updatedAt...Message update date and time attachments...Attachment ID...Attachment ID name...Attachment file name md5Hash...MD5 of the attachment size...Attachment size lastModified...Attachment update date and time isFileView...True for images displayed inline within the message comment...Comment on the attachment *Not used in this project url...Download URL for the attachment

Link a file path in Microsoft Edge and open it in Windows Explorer

This setting allows you to link a UNC format file or folder path in a message and open the folder in Windows Explorer.

  • Only paths listed in intranetFileLinkReplacements are linked.
  • The replacement string can be determined by a regular expression. If the replacement string is the same as the replacement string, the replacement string is determined by a regular expression and the matched string is used as is.
  • The following \\host\ , ,N:\ , ,\\share1 to 9\ Here is an example of making a path that starts with a link.
# Microsoft Edge でファイルパスをリンク化し、Windowsエクスプローラーで開く。「置換前|置換後」 を ; で区切り列挙する(最後の ; は必要)。
cam.intranetFileLinkReplacements=\\host\|\\host\;N:\|\\host\;\\share[1-9]\|\\share[1-9]\;

To open Windows Explorer from the Microsoft Edge browser, you also need to set the following:

Add IntranetFileLinksEnabled to the registry (Details)

Create a value under the Edge path in regedit.exe

・Registry path

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge

·value

Name: IntranetFileLinksEnabled

Type: REG_DWORD

Data: 0x00000001 (1)

The following settings need to be added to the local intranet zone in Internet Options:

  • https://{Domain name accessed by CAMServer}
  • file://{hostname of shared folder}

Even if you set IntranetFileLinksEnabled, you cannot open local files or folders (e.g. C:\test). This is by security design and only applies to shared folders over the network.

UI/UX customization

Do not display user ID or email

Please enable this setting if you do not want to display your user ID or email address on the screen.

# ユーザIDやEmailを表示しない
cam.showUserIdentity=false

If your PC screen is locked, it will automatically register your absence.

# 画面ロックで不在、アンロックで不在解除を自動化
cam.autoAbsenceScreenLocked=true

When a PC is in sleep, hibernation, or shut down state, it is considered "offline," not "absent."

If there is no activity on the PC, it will automatically register as unavailable.

# PCの操作が無い場合、自動で不在にする時間(分)
cam.autoAbsenceNoOperationMinute=30

This feature is only enabled when using camapp, and it only monitors mouse operations.

Do not display absence settings

Enable this setting if you do not want the absence settings to be displayed on the screen.

# 不在設定を表示しない
cam.showAbsence=false

Do not display the text in the push notification popup

Enable this setting if you do not want to display the text in the push notification popup.

# Push通知のポップアップに本文を表示しない
cam.showNotificationBody=false

Hide chat room notifications setting

Enable this setting if you do not want to display the notification settings in the chat room settings.

# チャットルームの通知設定を表示しない
cam.hideChatRoomNotificationSetting=true

environment setting

Change the log file output destination

CAMServer logs are set to CAMServer/sys/logs However, if you want to change the output destination, you can do so by writing the following in the boot.ini file.

*Please make sure the destination folder exists and you have write permissions before making the change.

# ログ出力先の変更
cam.logDir=E:\CAMServer\logs

Delete log files

CAMServer/sys/logs This command automatically deletes the logs output to the system. The default value is 365. You can specify a number greater than 31.

# ログファイル削除
cam.deleteSysLogDays=100

Disk Capacity Monitoring

By default, the administrator will be notified when the disk capacity exceeds 90%. Notifications are sent when the server starts and at 11:00 PM every day. If you want to change this to 80%, you can do so as follows:

# ディスク容量チェックを80%に変更
cam.checkExceedingDiskCapacity=80

Changing the Temp File Area

CAMServer may output temporary files to the TEMP file area of the OS. If you need to change the output destination for some reason, you can change it by writing the following in the boot.ini file.

*Please make sure the destination folder exists and you have write permissions before making the change.

# TEMPファイル領域を変更
java.io.tmpdir=E:\CAMServer\temp

Disable external HTTP access

CAMServer accesses external sites via HTTP in the following process, but you can disable it in the settings. If you do not disable it on CAMServers that cannot connect to the Internet, connection errors will be recorded in the log, so please set it to avoid this.

  • Google server when sending push notifications
  • When previewing links in chats, the URL domain server
  • When an error occurs, the error report is sent to our server (unless you have disabled it using the settings described in the installation confirmation guide).
# 外部HTTPへのアクセスを無効化
cam.enableAccessExternalHttp=false

access log

# HTTPアクセス毎にログを記録
cam.enableServerAccessLog=true
# 任意。上記ログにログイン認証時のEmailを追加(Emailは一部マスクされ記録されます)
cam.enableServerAccessLogEmail=true
# 365日経過したアクセスログを自動で削除(指定が無い場合400日)
cam.deleteAccessLogDays=365

Limit the number of participants who can join the same web conference

To limit the number of participants who can join the same web conference room, set the following:

# 同じWeb会議の会議室に参加できる参加者数を制限
cam.maxConferenceUsers=50

Redundancy and load balancing

Redundancy and load balancing settings see

Disable HTTP port

If you want to disable the HTTP port, enable this setting.

# HTTPポートを無効化
cam.enableHttpPort=false

Disable HTTPS port

If you want to disable the HTTPS port, enable this setting.

# HTTPSポートを無効化
cam.enableHttpsPort=false

Disable the UDP port for LAN communication.

The Standard plan uses UDP ports for chat, but this is unnecessary for Enterprise and later browsers, so disabling it is recommended.

# UDPポートを無効化
cam.disableLANNetwork=true

Disable HTTP/2 communication

Versions from 2025 onwards use the HTTP/2 (h2) protocol for faster communication. If you need to disable it for any reason, please configure the settings as follows. Disabling it will revert to the older HTTP/1.1 protocol.

# HTTP/2(h2)プロトコルを無効化
cam.enableHttp2=false

In environments with enhanced security measures, HTTPS inspection (a function that inspects the content of communications) may be enabled. If the HTTPS inspection tool does not support the relatively new HTTP/2 (h2) protocol, delays or disconnections during communication have been reported. HTTPS inspection is intended to inspect the content of communications with external sites to prevent information leaks and malware. For intranet systems (e.g., CAMServer), excluding them from the inspection can ensure stable operation. If you are using HTTPS inspection, please prioritize checking if you can exclude the CAMServer domain.

TOC