Forward study from one pacs to another

480 views
Skip to first unread message

TI Central de Laudos

unread,
Aug 19, 2022, 8:55:02 PM8/19/22
to dcm...@googlegroups.com
Hi all,

I have two dcm4chee instances installed in my local network and i'm trying to forward automatically a study from one (PACS01) to another (PACS02) like said in https://github.com/dcm4che/dcm4chee-arc-light/wiki/Forward-received-instances-to-remote-AE but it is not working.

I import de ldap code below in two distinct ldifs files and reload wildfly. First contains:
version: 1
dn: dicomAETitle=AETPACS02,cn=Unique AE Titles Registry,cn=DICOM Configuration,dc=dcm4che,dc=org
objectClass: dicomUniqueAETitle
dicomAETitle: AETPACS02

# Device
dn: dicomDeviceName=dcm02,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
objectClass: dicomDevice
dicomDeviceName: dcm02
dicomInstalled: TRUE

# Network Connection
dn: cn=dicom,dicomDeviceName=dcm02,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
objectClass: dicomNetworkConnection
cn: dicom
dicomHostname: 10.0.0.20
dicomPort: 11112

# Network Application Entity
dn: dicomAETitle=AETPACS02,dicomDeviceName=dcm02,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
objectClass: dicomNetworkAE
dicomAETitle: AETPACS02
dicomNetworkConnectionReference: cn=dicom,dicomDeviceName=dcm02,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
dicomAssociationInitiator: TRUE
dicomAssociationAcceptor: TRUE

Second contains:
version: 1
dn: cn=ForwardToPACS02,dicomAETitle=DCM4CHEE,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
objectClass: dcmExportRule
cn: ForwardToPACS02
dcmEntity: Study
dcmDuration: PT1M
dcmExporterID: ExportPACS02

dn: dcmExporterID=ExportPACS02,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
objectClass: dcmExporter
dcmExporterID: ExportPACS02
dcmURI: dicom:AETPACS02
dicomAETitle: DCM4CHEE
dcmQueueName: Export1

dn: dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
changetype: modify
add: dcmExportTaskPollingInterval
dcmExportTaskPollingInterval: PT1M

When I send a study from a client to PACS01 it receives the study normally, but no action happens to send the study from PACS01 to PACS02. The command that i'm using in client is:
dcmsend -v -d +sd +r -aec DCM4CHEE 10.0.0.1 11112 1.2.840.113704.7.1.2.5464864.3732215

If I check Monitoring->Export, I can see the scheduled study but the forwarding doesn't happen. What could be wrong? Are there more actions to do?

My dcm4chee version is dcm4chee-arc-5.24.0-mysql.

Thanks,
DMF

Vrinda Nayak

unread,
Aug 22, 2022, 2:09:28 AM8/22/22
to dcm4che

TI Central de Laudos

unread,
Aug 22, 2022, 9:06:04 AM8/22/22
to dcm...@googlegroups.com
Hi Vrinda!

I use dcmTaskPollingInterval instead, but it does not work. My logs show.

2022-08-22 09:50:40,680 INFO  [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-2) start IANScheduler.execute()
2022-08-22 09:50:40,692 INFO  [org.dcm4chee.arc.ian.scu.IANScheduler] (EE-ManagedScheduledExecutorService-default-Thread-2) finished IANScheduler.execute()
2022-08-22 09:50:50,709 INFO  [org.dcm4chee.arc.qmgt.impl.TaskScheduler] (EE-ManagedScheduledExecutorService-default-Thread-3) start TaskScheduler.execute()
2022-08-22 09:50:50,723 INFO  [org.dcm4chee.arc.qmgt.impl.TaskScheduler] (EE-ManagedScheduledExecutorService-default-Thread-3) finished TaskScheduler.execute()
2022-08-22 09:50:59,698 INFO  [org.dcm4chee.arc.ups.process.impl.UPSProcessingScheduler] (EE-ManagedScheduledExecutorService-default-Thread-4) start UPSProcessingScheduler.execute()
2022-08-22 09:50:59,725 INFO  [org.dcm4chee.arc.ups.process.impl.UPSProcessingScheduler] (EE-ManagedScheduledExecutorService-default-Thread-4) finished UPSProcessingScheduler.execute()
2022-08-22 09:51:18,693 INFO  [org.dcm4chee.arc.audit.AuditScheduler] (EE-ManagedScheduledExecutorService-default-Thread-5) start AuditScheduler.execute()

See in attached image that the task was scheduled, but it never runs. If i rescheduled manually to sendo immediately not happens too.

Some other suggestions?

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/5f114125-caea-417a-ad79-f61f70322365n%40googlegroups.com.
schedule.jpeg

Vrinda Nayak

unread,
Aug 22, 2022, 11:25:29 AM8/22/22
to dcm4che
If you do not see start TaskScheduler.execute() in server log, try reloading the configuration once or restarting the archive and check again.

TI Central de Laudos

unread,
Aug 23, 2022, 1:28:12 PM8/23/22
to dcm...@googlegroups.com
I reload the conf and restart the archive but nothing changes. Now I installed the latest version of dcm4chee (5.27.0) with Wildfly 26.1.1 and I'm receiving the following error in log.

2022-08-23 12:33:25,062 WARN  [org.dcm4chee.arc.export.mgt.impl.ExportScheduler] (EE-ManagedExecutorService-default-Thread-5) DCM4CHEE<-DCMSEND(1): Failed to process ExportRule{cn=ForwardToSTORESCP, conditions={}, schedules=[], exporterDeviceName=null, exporterIDs=[STORESCP], entity=Series, exporterDelay=PT1M, exportPreviousEntity=false, exportReoccurredInstances=REPLACE} - no Queue Export1 configured on Archive Device dcm4chee-arc. Attached config of Export Rule and Exporter Descriptor. Any tips? Some other step that i need to do?

descriptor.jpeg
rule.jpeg

Vrinda Nayak

unread,
Aug 24, 2022, 2:19:04 AM8/24/22
to dcm4che
You seem to have obsolete configs - see Export queue config.

Crysthian Menegotto

unread,
Aug 25, 2022, 3:16:38 PM8/25/22
to dcm4che

I'm having the same problem, tasks are created but are always as scheduled. I installed the clean version of 5.27 and the problem persists.

log.png
Monitoring Export.png
Queue Export.png
Monitoring Queue.png

TI Central de Laudos

unread,
Sep 8, 2022, 9:13:39 AM9/8/22
to dcm...@googlegroups.com
Hi all!

I've installed the dcm4chee 5.27.0 with wildfly 26.1.1 and it works.

Another conf that i had to do was set de variable serverTimezone in add-data-source-mysql.cli file to the correct value, in my case America/Sao_Paulo

Thanks a lot

Reply all
Reply to author
Forward
0 new messages