Giter Site home page Giter Site logo

dcm4chee-arc-light's Introduction

DCM4CHEE Archive 5.x

Sources: https://github.com/dcm4che/dcm4chee-arc-light
Binaries: https://sourceforge.net/projects/dcm4che/files/dcm4chee-arc-light5/
Issue Tracker: https://github.com/dcm4che/dcm4chee-arc-light/issues
Wiki: https://github.com/dcm4che/dcm4chee-arc-light/wiki

DICOM Archive Java EE application running in WildFly.

This is a complete rewrite of DCM4CHEE Archive 2.x.

One major improvement to 2.x is the use of LDAP as central configuration, compliant to the DICOM Application Configuration Management Profile, specified in DICOM 2015, Part 15, Annex H.

In long term, 5.x will provide the functionality of 2.x, and there will be migration tools to upgrade existing installations of 2.x to 5.x.

Build

  • Make sure you have Java 17 (JDK) or newer installed.

  • Build master branch of dcm4che 3 Library - only necessary to build unreleased version, which is not (yet) available in the Maven repository:

      git clone https://github.com/dcm4che/dcm4che.git
      cd dcm4che
      ./mvnw install
    
  • Build master branch of dcm4chee-arc-lang - only necessary to build unreleased version, which is not (yet) available in the Maven repository:

      git clone https://github.com/dcm4che/dcm4chee-arc-lang.git
      cd dcm4chee-arc-lang
      ./mvnw install
    
  • Build the Archive for a specific database:

      ./mvnw install -D db={db2|firebird|h2|mysql|oracle|psql|sqlserver}
    

    with secured WEB UI:

      ./mvnw install -D db={db2|firebird|h2|mysql|oracle|psql|sqlserver} -D secure=ui
    

    with secured WEB UI and secured RESTful services:

      ./mvnw install -D db={db2|firebird|h2|mysql|oracle|psql|sqlserver} -D secure=all
    

Installation

License

dcm4chee-arc-light's People

Contributors

andor-pierdelacabeza avatar arnold-maderthaner avatar dependabot[bot] avatar gunterze avatar hczedik avatar isolovey avatar kkostikov avatar maherjendoubi avatar mklassen avatar shral avatar vrindanayak avatar ztech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcm4chee-arc-light's Issues

Provide RESTful Service to reject Instances

rejectStudy:
aets/{AETitle}/rs/studies/{StudyUID}/reject/{CodeValue}^{CodingSchemeDesignator}

rejectSeries:
aets/{AETitle}/rs/studies/{StudyUID}/series/{SeriesUID}/reject/{CodeValue}^{CodingSchemeDesignator}

rejectInstance:
aets/{AETitle}/rs/studies/{StudyUID}/series/{SeriesUID}/instances/{ObjectUID}/reject/{CodeValue}^{CodingSchemeDesignator}

queryRejectionCodes:
reject
Response:

[
  {
    "codeValue": "REVOKE_REJECTION",
    "codingSchemeDesignator": "99DCM4CHEE",
    "codeMeaning": "Restore rejected Instances"
  },
  {
    "codeValue": "113001",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Rejected for Quality Reasons"
  },
  {
    "codeValue": "113039",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Data Retention Policy Expired"
  },
  {
    "codeValue": "113037",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Rejected for Patient Safety Reasons"
  },
  {
    "codeValue": "113038",
    "codingSchemeDesignator": "DCM",
    "codeMeaning": "Incorrect Modality Worklist Entry"
  }
]

Change default configuration to enable outgoing connections to remote DICOM peers

The default configuration specifies "localhost" as host name for archive connections. If no client bind address is specified, the archive uses the host name also as client bind address for outgoing connections, which results that the archive can only open connections to local DICOM peers.

To enable to initiate TCP connections to remote hosts without having to configure the actual host name of the archive, the client bind address shall be explicitly specified as 0.0.0.0in the default configuration.

Duplicate Code Entries in DB

Replace

alter table code add constraint unique (code_value, code_designator, code_version);

by

alter table code add constraint unique (code_value, code_designator);

to prevent duplicate Code Enties with code_version = NULL.

Breaks persistence of Codes which only differs on code_version - will be solved on demand

Location of files for C-GET

I am using the GetSCU class to get the dicom objects from DICOM server,i am getting status 0H.but i am unable to find the location where exactly file(Dicom object) is stored.

Where will the configuration for strorage location for C-GET service,

I can see the configuration for Storage (C-STORE) in default-config.ldif(dcmURI: file:///var/local/dcm4chee-arc/fs1)

Local AE based Access Control

Add ArchiveAEExtension properties:

  • storeAccessControlID - accessControlID assigned to studies received by this AE.
    If null, no accessControlID will be assigned to studies received by this AE
  • accessControlIDs - accessControlIDs assigned to query/retrieve requests received by the AE.
    If {}, studies with any accessControlID may be queried or retrieved from this AE.
    Otherwise only studies which accessControlID match one of these accessControlIDs
    and studies without accessControlID may be queried or retrieved from this AE.

Add Maven profiles to build secured version of UI and RESTful services

Maven Profiles:

  • secure: Includes

    <security-constraint>
      <web-resource-collection>
        <web-resource-name>DICOM</web-resource-name>
        <url-pattern>/*</url-pattern>
      </web-resource-collection>
      <auth-constraint>
        <role-name>user</role-name>
      </auth-constraint>
    </security-constraint>
    <login-config>
      <auth-method>KEYCLOAK</auth-method>
      <realm-name>dcm4che</realm-name>
    </login-config>
    <security-role>
      <role-name>user</role-name>
    </security-role>

    in web.xml of UI (dcm4chee-arc-ui-VERSION-secure.war) and RESTful services (dcm4chee-arc-war-VERSION-secure.war) and pack it in EAR: dcm4chee-arc-ear-VERSION-secure.ear

  • secure-ui: Only add <security-constraint> in web.xml of UI (dcm4chee-arc-ui-VERSION-secure.war), but not in RESTful services (dcm4chee-arc-war-VERSION-unsecure.war) and pack it in EAR: dcm4chee-arc-ear-VERSION-secure-ui.ear

  • unsecure: No <security-constraint> in web.xml of UI (dcm4chee-arc-ui-VERSION-unsecure.war) and RESTful services (dcm4chee-arc-war-VERSION-unsecure.war). Created EAR: dcm4chee-arc-ear-VERSION.ear. Activated by default.

Fix NPE in Transcoder on parsing Data Fragments before the Pixel Data attribute

1:C-STORE-RQ[pcid=3, prior=0
  orig=WFM1TLN >> 257:C-MOVE-RQ
  cuid=1.2.840.10008.5.1.4.1.1.2 - CT Image Storage
  iuid=1.2.840.113619.2.327.3.279736847.404.1423800678.586.1 - ?
  tsuid=1.2.840.10008.1.2.4.70 - JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1]) failed. Caused by:    : org.dcm4che3.net.service.DicomServiceException: java.lang.IllegalArgumentException: Self-suppression not permitted
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:91)
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl$Proxy$_$$_WeldClientProxy.store(Unknown Source)
        at org.dcm4chee.arc.store.scp.CStoreSCP.store(CStoreSCP.java:36)
        at org.dcm4che3.net.service.BasicCStoreSCP.onDimseRQ(BasicCStoreSCP.java:72)
        at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
        at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
        at org.jboss.weld.proxies.DicomService$1281079750$Proxy$_$$_WeldClientProxy.onDimseRQ(Unknown Source)
        at org.dcm4che3.net.service.DicomServiceRegistry.onDimseRQ(DicomServiceRegistry.java:86)
        at org.dcm4che3.net.ApplicationEntity.onDimseRQ(ApplicationEntity.java:399)
        at org.dcm4che3.net.Association.onDimseRQ(Association.java:649)
        at org.dcm4che3.net.PDUDecoder.decodeDIMSE(PDUDecoder.java:459)
        at org.dcm4che3.net.Association.handlePDataTF(Association.java:633)
        at org.dcm4che3.net.State$4.onPDataTF(State.java:103)
        at org.dcm4che3.net.Association.onPDataTF(Association.java:629)
        at org.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:177)
        at org.dcm4che3.net.Association$2.run(Association.java:479)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
        at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
Caused by: java.lang.IllegalArgumentException: Self-suppression not permitted
        at java.lang.Throwable.addSuppressed(Throwable.java:1043)
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:83)
        ... 25 more
Caused by: java.lang.NullPointerException
        at org.dcm4che3.imageio.codec.Transcoder$1.readValue(Transcoder.java:317)
        at org.dcm4che3.io.DicomInputStream.readFragments(DicomInputStream.java:714)
        at org.dcm4che3.io.DicomInputStream.readValue(DicomInputStream.java:558)
        at org.dcm4che3.imageio.codec.Transcoder$1.readValue(Transcoder.java:303)
        at org.dcm4che3.io.DicomInputStream.readAttributes(DicomInputStream.java:537)
        at org.dcm4che3.imageio.codec.Transcoder.transcode(Transcoder.java:284)
        at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:83)

Add various Transfer Capabilities to default and sample configuration

Add Transfer Capabilities for Storage SOP Classes:

  • Legacy Converted Enhanced CT Image Storage
  • Legacy Converted Enhanced MR Image Storage
  • Breast Projection X-Ray Image Storage For Presentation
  • Breast Projection X-Ray Image Storage For Processing
  • VL Image Storage Trial (Retired)
  • VLMultiFrame Image Storage Trial (Retired)
  • Wide Field Ophthalmic Photography Stereographic Projection Image Storage
  • Wide Field Ophthalmic Photography 3D Coordinates Image Storage
  • Ophthalmic Thickness Map Storage
  • Corneal Topography Map Storage
  • Legacy Converted Enhanced PET Image Storage
  • Extensible SR Storage
  • Stored Print Storage SOP Class (Retired)
  • Hardcopy Grayscale Image Storage SOP Class (Retired)
  • Hardcopy Color Image Storage SOP Class (Retired)
  • Parametric Map Storage
  • Surface Scan Mesh Storage
  • Surface Scan Point Cloud Storage

Storage fails if there are multiple records for the Patient ID in the DB

2016-01-06 04:28:20,247 ERROR [org.jboss.as.ejb3.invocation] (EE-ManagedExecutorService-default-Thread-3) WFLYEJB0034: EJB Invocation failed on component PatientServiceEJB for method public abstract org.dcm4chee.arc.entity.Patient org.dcm4chee.arc.patient.PatientService.findPatient(org.dcm4che3.data.Attributes,boolean) throws org.dcm4chee.arc.patient.NonUniquePatientException,org.dcm4chee.arc.patient.PatientMergedException,org.dcm4chee.arc.patient.CircularPatientMergeException: javax.ejb.EJBTransactionRolledbackException: Multiple Patients with ID SCSGERM
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleInCallerTx(CMTTxInterceptor.java:159)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:256)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:329)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)
    at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
    at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
    at org.dcm4chee.arc.patient.PatientService$$$view15.findPatient(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:434)
    at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
    at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
    at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    at org.dcm4chee.arc.patient.impl.PatientService$251853255$Proxy$_$$_Weld$EnterpriseProxy$.findPatient(Unknown Source)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB.findPatient(StoreServiceEJB.java:339)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB.createInstance(StoreServiceEJB.java:326)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB.updateDB(StoreServiceEJB.java:167)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
    at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
    at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
    at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
    at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:634)
    at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
    at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB$$$view14.updateDB(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:434)
    at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
    at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
    at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceEJB$Proxy$_$$_Weld$EnterpriseProxy$.updateDB(Unknown Source)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:85)
    at org.dcm4chee.arc.store.org.dcm4chee.archive.store.impl.StoreServiceImpl$Proxy$_$$_WeldClientProxy.store(Unknown Source)
    at org.dcm4chee.arc.store.scp.CStoreSCP.store(CStoreSCP.java:36)
    at org.dcm4che3.net.service.BasicCStoreSCP.onDimseRQ(BasicCStoreSCP.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
    at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
    at org.jboss.weld.proxies.DicomService$160215610$Proxy$_$$_WeldClientProxy.onDimseRQ(Unknown Source)
    at org.dcm4che3.net.service.DicomServiceRegistry.onDimseRQ(DicomServiceRegistry.java:86)
    at org.dcm4che3.net.ApplicationEntity.onDimseRQ(ApplicationEntity.java:399)
    at org.dcm4che3.net.Association.onDimseRQ(Association.java:649)
    at org.dcm4che3.net.PDUDecoder.decodeDIMSE(PDUDecoder.java:459)
    at org.dcm4che3.net.Association.handlePDataTF(Association.java:633)
    at org.dcm4che3.net.State$4.onPDataTF(State.java:103)
    at org.dcm4che3.net.Association.onPDataTF(Association.java:629)
    at org.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:177)
    at org.dcm4che3.net.Association$2.run(Association.java:479)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
Caused by: org.dcm4chee.arc.patient.NonUniquePatientException: Multiple Patients with ID SCSGERM
    at org.dcm4chee.arc.patient.impl.PatientServiceEJB.findPatient(PatientServiceEJB.java:103)

QIDO-RS limit does not work properly with rejected instances

Currently Studies (or Series) which only contains rejected instances are not returned by the QIDO-RS service, but no additional study will be returned to match the specified limit count.

The simplest solution is to return also records for Studies (or Series) without non-rejected instances.

Support acting as retrieve cache proxy

Support acting as retrieve cache proxy, by forwarding C-MOVE RQs to a configurable fallback MOVE SCP, if none of the requested objects is available in the archive. But change the Move Destination AET to a configurable AET of the archive. So the fallback Move SCP will send the requested objects to the archive. After all objects are retrieved from the fallback MOVE SCP, the archive will forward the requested objects to the Move Destination specified in the original C-MOVE RQ. If the objects are rquested again by another C-MOVE RQ, they are already available in the archive and need not be retrieved from the fallback MOVE SCP.

Audit Message are not sent if audit spool directory does not exists

e.g.:

11:13:45,328 WARN  [org.dcm4chee.arc.audit.AuditService] (default task-22) Failed to write to Audit Spool File - {} : java.nio.file.NoSuchFileException: /home/gunter/wildfly-9.0.2.Final/standalone/data/audit-spool/QUERY_QIDO1717509521485769829.tmp
    at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
    at java.nio.file.Files.newByteChannel(Files.java:317)
    at java.nio.file.Files.createFile(Files.java:588)
    at java.nio.file.TempFileHelper.create(TempFileHelper.java:138)
    at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:161)
    at java.nio.file.Files.createTempFile(Files.java:805)
    at org.dcm4chee.arc.audit.AuditService.spoolQuery(AuditService.java:406)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.