Documentation Index

Fetch the complete documentation index at: https://docs.lobster-world.com/llms.txt

Use this file to discover all available pages before exploring further.

Running multiple Bridge services

Prev Next

The Bridge application supports running multiple service instances simultaneously on the same machine. This is useful for managing different environments (development, testing, production) or handling multiple independent Bridge configurations on a single server.

The Bridge application automatically names the Jetty session cookie to match the Windows service name. This enables seamless switching between different Bridge instances in the same browser.

Configuration

The Windows service name is defined in file ./bin/wrapper.json of your Bridge installation. Example:

{
  "serviceName": "LobsterBridgeService_test",
  "serviceDisplayName": "Lobster Bridge Service",
  "serviceDescription": "Starting Lobster Updater and Bridge",
  "Starting": [
    {
      "name": "updater",
      "path": "./bin/updater.json"
    },
    {
      "name": "bridge",
      "path": "./bin/bridge.json"
    }
  ]
}

The configuration above will result in installing a Windows service with the name LobsterBridgeService_test and the session cookie name LobsterBridgeService_test.