Orthanc 2 Instances in one PC

Hi, using Orthanc service mode in Windows 10 works great.

I need 2 Orthanc Servers in one PC so I executed like an app with diferent Orthanc.json each.

Everething works fine ecept Worklist.

I get this message: “MAIN worklists:/Plugin.cpp:256] Worklist server is disabled by the configuration file

Any sugestion ?, thanks.

Hi,

First suggestion: Read the error message completely …

And then read the related documentation about the Worklist plugin configuration.

Not sure that will solve your problem but this is how I would handle it …

Alain

At least on Linux you can run 2 or more Orthanc on different ports using docker, I haven’t tried it on Windows but it may work as well

“Orthanc only works as a Service” is wrong…

Orthanc, when it starts as a service, reads all the configuration files from C:\Program Files\Orthanc Server\Configuration which contains a worklists.json file that enables the plugin.

When you start it manually with your command line, you are actually providing it with a single orthanc.json configuration file and therefore, it does not get any configuration for the worklist plugin.

Here’s how you can start Orthanc exactly the same way as the Service does:
"C:\Program Files\Orthanc Server\Orthanc.exe" "C:\Program Files\Orthanc Server\Configuration"

You should also, of course, always make sure that each Orthanc gets its own configuration for HttpPort, DicomPort and StorageDirectory hence you should very likely duplicate your configuration folder.

Hope this helps,

Alain.