weasis-pacs-connector doesn't use the AET specified in .properties

546 views
Skip to first unread message

Tamás Sipos

unread,
Aug 1, 2018, 5:42:31 AM8/1/18
to dcm4che
I modified the AE Title of my PACS but Weasis still uses "DCM4CHEE" and as a result the association is rejected by the PACS of course.

The last step of the Installation guide explains how to configure the new AET in a .properties file. I performed those steps, but it seems the pacs-connector ignores my modifications.

What I did: I have pacs-connector v6.1.3 so I downloaded weasis-connector-default.properties and dicom-dcm4chee.properties. In dicom-dcm4chee.properties I set the property arc.aet from DCM4CHEE to the AET of my PACS, then saved the file, then, I renamed weasis-connector-default.properties to weasis-pacs-connector.properties and copied both files into /server/default/conf.

When in my web browser I navigate for example to jnlp://localhost:8080/weasis-pacs-connector/viewer?patientID=whatever Weasis starts but shows me the following error:


In DCM4CHEE's server.log there is the following:

2018-08-01 11:37:06,360 INFO  -> (http-0.0.0.0-8080-2) [STDOUT] 2018-08-01 11:37:06,360 [-0.0.0.0-8080-2] INFO  o.w.s.JnlpLauncher        1 - templatePath = file:/C:/dcm4chee-2.18.3-mysql/server/default/tmp/deploy/tmp1103395469479971467weasis-pacs-connector-exp.war/weasis.jnlp
2018-08-01 11:37:06,360 INFO  -> (TCPServer-1) [org.dcm4cheri.server.ServerImpl] handle - Socket[addr=/127.0.0.1,port=50235,localport=11112]
2018-08-01 11:37:06,360 INFO  -> (TCPServer-1) [org.dcm4cheri.net.FsmImpl] Socket[addr=/127.0.0.1,port=50235,localport=11112]
2018-08-01 11:37:06,360 INFO  PACS-CONNECTOR->DCM4CHEE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] received AAssociateRQ
 appCtxName: 1.2.840.10008.3.1.1.1/
DICOM Application Context Name
 implClass
: 1.2.40.0.13.1.3
 implVersion
: dcm4che-dcm4chee
 calledAET
: DCM4CHEE
 callingAET
: PACS-CONNECTOR
 maxPDULen
: 16378
 asyncOpsWindow
:
 pc
-1: as=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
 ts
=1.2.840.10008.1.2/Implicit VR Little Endian
 ts
=1.2.840.10008.1.2.1/Explicit VR Little Endian
 ts
=1.2.840.10008.1.2.2/Explicit VR Big Endian
2018-08-01 11:37:06,360 INFO  PACS-CONNECTOR->DCM4CHEE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] sending A-ASSOCIATE-RJ
 result
=1 - rejected-permanent
 source
=1 - service-user
 reason
=7 - called-AE-title-not-recognized
2018-08-01 11:37:06,360 INFO  -> (pool-26-thread-1) [STDOUT] 2018-08-01 11:37:06,360 [ool-26-thread-1] ERROR o.w.d.o.CFind             findscu
A
-ASSOCIATE-RJ[result: 1 - rejected-permanent, source: 1 - service-user, reason: 7 - called-AE-title-not-recognized]]
 at org
.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:182)
 at org
.dcm4che3.net.Association$2.run(Association.java:518)
 at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-08-01 11:37:06,423 INFO  PACS-CONNECTOR->DCM4CHEE (TCPServer-1) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/127.0.0.1,port=50235,localport=11112]
2018-08-01 11:37:06,423 INFO  -> (TCPServer-1) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/127.0.0.1,port=50235,localport=11112]
2018-08-01 11:37:11,131 INFO  -> (http-0.0.0.0-8080-1) [STDOUT] 2018-08-01 11:37:11,131 [-0.0.0.0-8080-1] INFO  o.w.s.JnlpLauncher        1 - templatePath = file:/
C:/dcm4chee-2.18.3-mysql/server/default/tmp/deploy/tmp1103395469479971467weasis-pacs-connector-exp.war/weasis.jnlp
2018-08-01 11:37:11,146 INFO  -> (TCPServer-1-1) [org.dcm4cheri.server.ServerImpl] handle - Socket[addr=/127.0.0.1,port=50241,localport=11112]
2018-08-01 11:37:11,146 INFO  -> (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] Socket[addr=/127.0.0.1,port=50241,localport=11112]
2018-08-01 11:37:11,146 INFO  PACS-CONNECTOR->DCM4CHEE (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] received AAssociateRQ
 appCtxName: 1.2.840.10008.3.1.1.1/
DICOM Application Context Name
 implClass
: 1.2.40.0.13.1.3
 implVersion
: dcm4che-dcm4chee
 calledAET
: DCM4CHEE
 callingAET
: PACS-CONNECTOR
 maxPDULen
: 16378
 asyncOpsWindow
:
 pc
-1: as=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
 ts
=1.2.840.10008.1.2/Implicit VR Little Endian
 ts
=1.2.840.10008.1.2.1/Explicit VR Little Endian
 ts
=1.2.840.10008.1.2.2/Explicit VR Big Endian
2018-08-01 11:37:11,146 INFO  PACS-CONNECTOR->DCM4CHEE (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] sending A-ASSOCIATE-RJ
 result
=1 - rejected-permanent
 source
=1 - service-user
 reason
=7 - called-AE-title-not-recognized
2018-08-01 11:37:11,162 INFO  -> (pool-26-thread-2) [STDOUT] 2018-08-01 11:37:11,162 [ool-26-thread-2] ERROR o.w.d.o.CFind             findscu
A
-ASSOCIATE-RJ[result: 1 - rejected-permanent, source: 1 - service-user, reason: 7 - called-AE-title-not-recognized]]
 at org
.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:182)
 at org
.dcm4che3.net.Association$2.run(Association.java:518)
 at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-08-01 11:37:11,224 INFO  PACS-CONNECTOR->DCM4CHEE (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/127.0.0.1,port=50241,localport=11112]
2018-08-01 11:37:11,224 INFO  -> (TCPServer-1-1) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/127.0.0.1,port=50241,localport=11112]
2018-08-01 11:37:13,992 INFO  -> (http-0.0.0.0-8080-2) [STDOUT] 2018-08-01 11:37:13,992 [-0.0.0.0-8080-2] ERROR o.w.s.RequestManifest     Building Manifest Exception [id=7]
java
.util.concurrent.ExecutionException: java.lang.IllegalStateException: Empty Patient List
 at java
.util.concurrent.FutureTask.report(FutureTask.java:122)
 at java
.util.concurrent.FutureTask.get(FutureTask.java:206)
 at org
.weasis.servlet.RequestManifest.doGet(RequestManifest.java:91)
 at javax
.servlet.http.HttpServlet.service(HttpServlet.java:690)
2018-08-01 11:37:13,992 INFO  -> (http-0.0.0.0-8080-2) [STDOUT] 2018-08-01 11:37:13,992 [-0.0.0.0-8080-2] INFO  o.w.s.RequestManifest     Consume ManifestBuilder with id=7
2018-08-01 11:37:13,992 INFO  -> (http-0.0.0.0-8080-5) [STDOUT] 2018-08-01 11:37:13,992 [-0.0.0.0-8080-5] ERROR o.w.s.RequestManifest     No 'ManifestBuilder' found with id=7

Vesko Vatov

unread,
Aug 1, 2018, 7:40:11 AM8/1/18
to dcm4che
Hello,

I hope you restarted weasis server after the changes?
and please check again your weasis-pacs-connector.properties where you should have:
arc.config.list=dicom-dcm4chee.properties

Best regards,
Vesko

Tamás Sipos

unread,
Aug 1, 2018, 8:29:21 AM8/1/18
to dcm4che
I hope you restarted weasis server after the changes?

Of course I didn't :D Now i feel dumb.
Thanks, everything's working now!
Reply all
Reply to author
Forward
0 new messages