dcmsnd not working

288 views
Skip to first unread message

athi

unread,
Aug 12, 2016, 5:25:37 AM8/12/16
to dcm...@googlegroups.com
Hi, i have installed dcm4chee successfully. Now i am trying to make a webapplication to send/receive dicom images from remote location. I am developing right now in local machine. I have a GUI which selects a path where dicom images are stored. when upload button is clicked it should upload the dicom images to dcm4chee as we do it using dcmsnd file in dcm4che-XXX. I am using dcmsnd source code for this purpose.

http://bradleyross.users.sourceforge.net/docs/dicom/doc/src-html/org/dcm4che2/tool/dcmsnd/DcmSnd.html

When i call send() it skips the file and do nothing ..


Scanning files to send
.
Scanned 1 files in 0.032s (=32ms/file)
Start Server listening on port 11112
14:53:42.139 [AWT-EventQueue-0] DEBUG org.dcm4che2.net.NetworkConnection - Initiate connection from 0.0.0.0/0.0.0.0:0 to localhost/127.0.0.1:11112
14:53:42.124 [DCMSND-1] INFO  org.dcm4che2.net.NetworkConnection - Start listening on localhost/127.0.0.1:11112
14:53:42.139 [DCMSND-1] DEBUG org.dcm4che2.net.NetworkConnection - Wait for connection on localhost/127.0.0.1:11112
14:53:42.139 [AWT-EventQueue-0] DEBUG org.dcm4che2.net.AssociationReaper - Check for idle Associations every 10.0s.
14:53:42.155 [AWT-EventQueue-0] INFO  org.dcm4che2.net.Association - Association(1) initiated Socket[addr=localhost/127.0.0.1,port=11112,localport=53005]
14:53:42.155 [DCMSND-1] INFO  org.dcm4che2.net.Association - Association(2) accepted Socket[addr=/127.0.0.1,port=53005,localport=11112]
14:53:42.155 [AWT-EventQueue-0] DEBUG org.dcm4che2.net.Association - Association(1) enter state: Sta4
14:53:42.155 [DCMSND-1] DEBUG org.dcm4che2.net.Association - Association(2) enter state: Sta2
14:53:42.155 [AWT-EventQueue-0] DEBUG org.dcm4che2.net.Association - DCM4CHEE(1) enter state: Sta5
14:53:42.155 [DCMSND-1] DEBUG org.dcm4che2.net.NetworkConnection - Wait for connection on localhost/127.0.0.1:11112
14:53:42.155 [DCMSND-2] DEBUG org.dcm4che2.net.Association - DCM4CHEE(1): start ARTIM 5000ms
14:53:42.155 [AWT-EventQueue-0] INFO  org.dcm4che2.net.PDUEncoder - DCM4CHEE(1) << A-ASSOCIATE-RQ[
  calledAET = DCM4CHEE
  callingAET = DCM4CHEE
  applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
  implClassUID = 1.2.40.0.13.1.1
  implVersionName = dcm4che-2.0
  maxPDULength = 16384
  maxOpsInvoked/maxOpsPerformed = 0/0
  PresentationContext[id = 1, as = 1.2.840.10008.5.1.4.1.1.4 - MR Image Storage
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 3, as = 1.2.840.10008.5.1.4.1.1.4 - MR Image Storage
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  Role Selection(0):
  Extended Negotiation(0):
  Common Extended Negotiation(0):
]
14:53:42.155 [DCMSND-2] DEBUG org.dcm4che2.net.PDUDecoder - DCM4CHEE(1) waiting for PDU
14:53:42.155 [DCMSND-3] DEBUG org.dcm4che2.net.Association - Association(2): start ARTIM 5000ms
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.PDUDecoder - Association(2) waiting for PDU
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.PDUDecoder - Association(2) >> PDU[type=1, len=265]
14:53:42.170 [DCMSND-3] INFO  org.dcm4che2.net.Association - Association(2): A-ASSOCIATE-RQ DCM4CHEE >> DCM4CHEE
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.Association - A-ASSOCIATE-RQ[
  calledAET = DCM4CHEE
  callingAET = DCM4CHEE
  applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
  implClassUID = 1.2.40.0.13.1.1
  implVersionName = dcm4che-2.0
  maxPDULength = 16384
  maxOpsInvoked/maxOpsPerformed = 0/0
  PresentationContext[id = 1, as = 1.2.840.10008.5.1.4.1.1.4 - MR Image Storage
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 3, as = 1.2.840.10008.5.1.4.1.1.4 - MR Image Storage
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  Role Selection(0):
  Extended Negotiation(0):
  Common Extended Negotiation(0):
]
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.Association - DCM4CHEE(2): stop ARTIM
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.Association - DCM4CHEE(2) enter state: Sta3
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.Association - DCM4CHEE(2) enter state: Sta6
14:53:42.170 [DCMSND-3] INFO  org.dcm4che2.net.PDUEncoder - DCM4CHEE(2) << A-ASSOCIATE-AC[
  calledAET = DCM4CHEE
  callingAET = DCM4CHEE
  applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
  implClassUID = 1.2.40.0.13.1.1
  implVersionName = dcm4che-2.0
  maxPDULength = 16384
  maxOpsInvoked/maxOpsPerformed = 0/0
  PresentationContext[id = 1, result = 3 - abstract-syntax-not-supported (provider rejection)
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 3, result = 3 - abstract-syntax-not-supported (provider rejection)
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  Role Selection(0):
  Extended Negotiation(0):
  Common Extended Negotiation(0):
]
14:53:42.170 [DCMSND-2] DEBUG org.dcm4che2.net.PDUDecoder - DCM4CHEE(1) >> PDU[type=2, len=207]
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.AssociationReaper - Start check for idle DCM4CHEE(2)
14:53:42.170 [DCMSND-2] INFO  org.dcm4che2.net.Association - DCM4CHEE(1): A-ASSOCIATE-AC DCM4CHEE >> DCM4CHEE
14:53:42.170 [DCMSND-3] DEBUG org.dcm4che2.net.PDUDecoder - DCM4CHEE(2) waiting for PDU
14:53:42.170 [DCMSND-2] DEBUG org.dcm4che2.net.Association - A-ASSOCIATE-AC[
  calledAET = DCM4CHEE
  callingAET = DCM4CHEE
  applicationContext = 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
  implClassUID = 1.2.40.0.13.1.1
  implVersionName = dcm4che-2.0
  maxPDULength = 16384
  maxOpsInvoked/maxOpsPerformed = 0/0
  PresentationContext[id = 1, result = 3 - abstract-syntax-not-supported (provider rejection)
    ts = 1.2.840.10008.1.2 - Implicit VR Little Endian
    ]
  PresentationContext[id = 3, result = 3 - abstract-syntax-not-supported (provider rejection)
    ts = 1.2.840.10008.1.2.1 - Explicit VR Little Endian
    ]
  Role Selection(0):
  Extended Negotiation(0):
  Common Extended Negotiation(0):
]
14:53:42.170 [DCMSND-2] DEBUG org.dcm4che2.net.Association - DCM4CHEE(1): stop ARTIM
14:53:42.170 [DCMSND-2] DEBUG org.dcm4che2.net.Association - DCM4CHEE(1) enter state: Sta6
14:53:42.170 [DCMSND-2] DEBUG org.dcm4che2.net.AssociationReaper - Start check for idle DCM4CHEE(1)
14:53:42.170 [DCMSND-2] DEBUG org.dcm4che2.net.PDUDecoder - DCM4CHEE(1) waiting for PDU
Connected to  AE  in 0.046s

1.2.840.10008.5.1.4.1.1.4/MR Image Storage not supported by DCM4CHEE
skip file D:\dicom\44411540


 i doubt where the program is in connection with dcm4chee installed in the machine.. 

Please someone help me solve the issue...

Gustavomf

unread,
Aug 15, 2016, 3:32:09 PM8/15/16
to dcm...@googlegroups.com
I just got the same error...
Do you solved the problem?

athi

unread,
Aug 16, 2016, 1:27:47 AM8/16/16
to dcm4che
No i am still trying to find a solution for this...  :(

Joey

unread,
Aug 16, 2016, 10:07:19 AM8/16/16
to dcm4che
Those last three lines say:

Connected to  AE  in 0.046s

1.2.840.10008.5.1.4.1.1.4/MR Image Storage not supported by DCM4CHEE
skip file D:\dicom\44411540

So, there is a connection with the pacs.
But the type of scan you're trying to send is not supported. Have you tried any other files, or ever simply tried the dcm4che toolkit to send scans?

athi

unread,
Aug 26, 2016, 5:21:56 AM8/26/16
to dcm...@googlegroups.com
I could upload the same file using dcmsnd in cmd. But when i try to upload this using dcmsnd.java it shows the above result

Gustavomf

unread,
Aug 26, 2016, 9:08:13 AM8/26/16
to dcm4che
Post your code
Reply all
Reply to author
Forward
0 new messages