Uploaded image for project: 'eXtensible Imaging Platform (XIP) '
  1. eXtensible Imaging Platform (XIP)
  2. XIP-64

DICOM Retrieves not functioning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 0.4, Increment 4 - 0.4
    • None
    • None
    • None
    • Java SE 6

      Trying to DICOM retrieves from an external system (e.g. the central archive at the connectathon, based on dcm4chee). The query portion seems to work fine, but when launching the application (e.g. lazy retrieve test), nothing happens. The application just sits there waiting for the data to come back. (See attached screen shot.)

      The console show the calling and the called application AE title as the same. One would think that the called application should be the external system, not the XIP Host:

      ========================= Start Console Log

      2012-01-10 19:30:50,022 DEBUG [pool-15-thread-1] edu.wustl.xipHost.application.Application:retrieveAndGetLocators:721 - AD AIM retrieve criteria:
      2012-01-10 19:30:50,023 INFO [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:run:128 - Executing DICOM retrieve.
      2012-01-10 19:30:50,024 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:142 - Host name: 10.242.13.95
      2012-01-10 19:30:50,024 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:143 - Port: 11112
      2012-01-10 19:30:50,025 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:144 - CalledAETitle: WS_XIP
      2012-01-10 19:30:50,025 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:145 - CallingAETitle: WS_XIP
      2012-01-10 19:30:50,025 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:147 - DBFileName: hsql://localhost:9001/ws1db
      2012-01-10 19:30:50,026 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:154 - DICOM retrieve criteria:
      2012-01-10 19:30:50,026 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0008,0x0005) ISO_IR 100
      2012-01-10 19:30:50,027 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0008,0x0018) *
      2012-01-10 19:30:50,027 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0008,0x0052) IMAGE
      2012-01-10 19:30:50,027 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0010,0x0010) 1.3.6.1.4.1.9328.50.1.0024
      2012-01-10 19:30:50,028 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0010,0x0020) 1.3.6.1.4.1.9328.50.1.0024
      2012-01-10 19:30:50,029 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0020,0x000d) 1.3.6.1.4.1.9328.50.1.11470
      2012-01-10 19:30:50,029 DEBUG [Thread-35] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0020,0x000e) 1.2.276.0.7230010.3.1.3.3092301069.2884.1235663273.10
      2012-01-10 19:30:50,060 DEBUG [Thread-35] edu.wustl.xipHost.application.Application:retrieveResultsAvailable:852 - Items retrieved:
      2012-01-10 19:30:50,060 DEBUG [pool-15-thread-1] edu.wustl.xipHost.application.Application:retrieveAndGetLocators:721 - AD AIM retrieve criteria:
      2012-01-10 19:30:50,061 INFO [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:run:128 - Executing DICOM retrieve.
      2012-01-10 19:30:50,061 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:142 - Host name: 10.242.13.95
      2012-01-10 19:30:50,061 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:143 - Port: 11112
      2012-01-10 19:30:50,061 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:144 - CalledAETitle: WS_XIP
      2012-01-10 19:30:50,062 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:145 - CallingAETitle: WS_XIP
      2012-01-10 19:30:50,062 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:147 - DBFileName: hsql://localhost:9001/ws1db
      2012-01-10 19:30:50,062 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:154 - DICOM retrieve criteria:
      2012-01-10 19:30:50,063 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0008,0x0005) ISO_IR 100
      2012-01-10 19:30:50,063 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0008,0x0018) *
      2012-01-10 19:30:50,063 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0008,0x0052) IMAGE
      2012-01-10 19:30:50,063 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0010,0x0010) 1.3.6.1.4.1.9328.50.1.0024
      2012-01-10 19:30:50,064 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0010,0x0020) 1.3.6.1.4.1.9328.50.1.0024
      2012-01-10 19:30:50,064 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0020,0x000d) 1.3.6.1.4.1.9328.50.1.11470
      2012-01-10 19:30:50,064 DEBUG [Thread-37] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:164 - (0x0020,0x000e) 1.2.276.0.7230010.3.1.3.3092301069.604.1235661427.8
      2012-01-10 19:30:50,090 DEBUG [Thread-37] edu.wustl.xipHost.application.Application:retrieveResultsAvailable:852 - Items retrieved:

      ========================= End Console Log

      If one subsequently launches a second application with the same data, an exception occurs, saying that the XIP Host cannot connect with the HSQL DB:

      ========================= StartConsole Log

      java.sql.SQLException: Connection is broken: java.net.SocketException: Software caused connection abort: recv failed
      at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
      at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
      at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
      at com.pixelmed.database.DicomDatabaseRetrieveResponseGenerator.performRetrieve(DicomDatabaseRetrieveResponseGenerator.java:305)
      at com.pixelmed.network.StorageSOPClassSCP$CompositeCommandReceivedPDUHandler.sendPDataIndication(StorageSOPClassSCP.java:432)
      at com.pixelmed.network.Association.waitForPDataPDUs(Association.java:387)
      at com.pixelmed.network.Association.waitForPDataPDUsUntilHandlerReportsDone(Association.java:507)
      at com.pixelmed.network.StorageSOPClassSCP.receiveAndProcessOneRequestMessage(StorageSOPClassSCP.java:604)
      at com.pixelmed.network.StorageSOPClassSCP.run(StorageSOPClassSCP.java:727)
      at java.lang.Thread.run(Unknown Source)
      2012-01-10 19:31:11,107 ERROR [Thread-49] edu.wustl.xipHost.dicom.DicomRetrieve:retrieve:205 - com.pixelmed.dicom.DicomException: Cannot connect to database: java.sql.SQLException: socket creation error
      com.pixelmed.dicom.DicomException: Cannot connect to database: java.sql.SQLException: socket creation error
      at com.pixelmed.database.DatabaseInformationModel.doCommonConstructorStuff(DatabaseInformationModel.java:257)
      at com.pixelmed.database.DatabaseInformationModel.<init>(DatabaseInformationModel.java:157)
      at com.pixelmed.database.DicomDatabaseInformationModel.<init>(DicomDatabaseInformationModel.java:57)
      at com.pixelmed.database.StudySeriesInstanceModel.<init>(StudySeriesInstanceModel.java:39)
      at edu.wustl.xipHost.dicom.DicomRetrieve.retrieve(DicomRetrieve.java:172)
      at edu.wustl.xipHost.dicom.DicomRetrieve.run(DicomRetrieve.java:129)
      at java.lang.Thread.run(Unknown Source)
      Exception in thread "Thread-49" java.lang.IllegalArgumentException: null source
      at java.util.EventObject.<init>(Unknown Source)
      at edu.wustl.xipHost.dataAccess.RetrieveEvent.<init>(RetrieveEvent.java:21)
      at edu.wustl.xipHost.dicom.DicomRetrieve.fireResultsAvailable(DicomRetrieve.java:400)
      at edu.wustl.xipHost.dicom.DicomRetrieve.run(DicomRetrieve.java:130)
      at java.lang.Thread.run(Unknown Source)

      ========================= End Console Log

            jarek.krych Jarek Krych
            ltarbox Lawrence Tarbox
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5 hours Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 30 minutes
                6h 30m