Archive light 5.9.2: C-GET results in org.dcm4che3.net.NoRoleSelectionException

351 views
Skip to first unread message

Andrew Crabb

unread,
Apr 26, 2017, 6:25:45 PM4/26/17
to dcm4che
I've installed arc light 5.9.2 on Linux with Postgres following Gunter's instructions.  I'm using this version because I had problems with the ldif files supplied with 5.10 - I'm new to LDAP and sticking to supplied configurations at first.

I can retrieve studies with C-GET from some clients (eg Osirix on my Mac).  From most other clients, I get errors such as the following.  I can use the same client (Horos) to retrieve with C-GET from other PACS servers.

2017-04-26 18:02:34,164 INFO  [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-39) DCM4CHEE<-MBP_HOROS(25) << 1:C-GET-RSP[pcid=1, remaining=1, completed=0, failed=0, warning=0, status=ff00H
  cuid=1.2.840.10008.5.1.4.1.2.2.3 - Study Root Query/Retrieve Information Model - GET
  tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian
2017-04-26 18:02:34,167 INFO  [org.dcm4chee.arc.store.scu.impl.RetrieveTaskImpl] (EE-ManagedExecutorService-default-Thread-39) DCM4CHEE<-MBP_HOROS(25): failed to send Instance[iuid=1.3.6.1.4.1.5962.99.1.3200313742.1825060292.1394769750414.158.0,cuid=1.2.840.10008.5.1.4.1.1.2] to MBP_HOROS:: org.dcm4che3.net.NoRoleSelectionException: No Role Selection for SOP Class 1.2.840.10008.5.1.4.1.1.2 - CT Image Storage as SCU negotiated
at org.dcm4che3.net.Association.checkIsSCU(Association.java:259)
at org.dcm4che3.net.Association.cstore(Association.java:875)
...
2017-04-26 18:02:34,168 INFO  [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-39) DCM4CHEE<-MBP_HOROS(25) << 1:C-GET-RSP[pcid=1, completed=0, failed=1, warning=0, status=a702H
  cuid=1.2.840.10008.5.1.4.1.2.2.3 - Study Root Query/Retrieve Information Model - GET
  tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian

Can somebody suggest where I may have gone wrong?
Thanks!

Gunter Zeilinger

unread,
Apr 27, 2017, 3:36:33 AM4/27/17
to dcm...@googlegroups.com
The client only offered the support of the required Storage SOP Class in the Association Request, but not as SCP - which has to be done by a SCP/SCU Role Selection Sub-Item in the A-ASSOCIATE-RQ (s. D.3.3.4. SCP/SCU Role Selection Negotiation )

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Andrew Crabb

unread,
Apr 27, 2017, 3:30:48 PM4/27/17
to dcm4che
Thank you Gunter!
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Bproxit Chile

unread,
Nov 20, 2019, 3:38:54 PM11/20/19
to dcm4che

I ran in a simular issue writing a proxy for C_GET impl... until I saw error between Horos and Dcm4chee.

I just copy this fix into :
org.dcm4chee.arc.store.scu.impl.RetrieveTaskImpl : 179

                    //storeas.cstore(cuid, iuid, priority, data, tsuid, rspHandler);
                    Attributes cstorerq = Commands.mkCStoreRQ(rspHandler.getMessageID(),  cuid, iuid, priority);
                    storeas.invoke(pc, cstorerq, data, rspHandler, 0);

Then I recompiled dcm4chee-arc-strore-scu-5.18.0.jar and re-zip it into dcm4chee-arc-ear-5.18.0-psql.ear and deploy it into wildfly, and then it runs well for Horos :-)

Gunter Zeilinger

unread,
Nov 20, 2019, 4:13:21 PM11/20/19
to dcm...@googlegroups.com


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
--
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.

Reply all
Reply to author
Forward
0 new messages