Series cannot be deleted - DICOMATTRS empty - EntityNotFoundException

44 views
Skip to first unread message

Ze Ay

unread,
Aug 5, 2020, 9:52:01 AM8/5/20
to dcm4che
We have a problem with our archive.
Last week our online storage was out of Space because during the installation we forgot to put all important components on a separate partition.
The archive runs as Docker version 5.21.0 on a Ubtunu 18.04 LTS.
So we stopped the Pacs and the database and put the data on a separate partition via rsync.
After that everything ran Perfect for a few weeks.
A few days ago the archive could not delete Data from online Storage and the following error message appeared.

The series that causes the error exists in the filesystem and in the database, but is not displayed in the interface.
When I search for the study, I only see one series, although according to the database (table study_query_attrs) the study should have 4 series.
I have checked if the Series are rejected, but this is not the case.
I checked the database and noticed that the 3 series in have a 'DICOMATTRS_FK', but there is no corresponding entry in the DICOMATTRS table.
Could this be the Problem?

I have checked the rights of the partitions and directories, they are correct
At the moment no more data can be accepted.

Do you have any idea why it is no longer working?

The study is also in online, nearline and archive storage. but can‘t be deleted.



2020-07-31 15:52:05,351 ERROR [org.jboss.as.ejb3.invocation] (EE-ManagedExecutorService-default-Thread-98695) WFLYEJB0034: EJB Invocation failed on component DeletionServiceEJB for method public boolean org.dcm4chee.arc.delete.impl.DeletionServiceEJB.deleteObjectsOfStudy(java.lang.Long,org.dcm4chee.arc.conf.StorageDescriptor): javax.ejb.EJBException: javax.persistence.EntityNotFoundException: Unable to find org.dcm4chee.arc.entity.Series with id 198900
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:246)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:362)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:144)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
at ‪org.jboss...@3.1.2.Final‬//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81)
at ‪org.jboss.as...@18.0.1.Final‬//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jbos...@18.0.1.Final‬//org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jbo...@18.0.1.Final‬//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
at ‪org.wildfly.securi...@1.10.4.Final‬//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:627)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at ‪org.jboss....@1.5.2.Final‬//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
at ‪org.jbo...@18.0.1.Final‬//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
at ‪org.jbo...@18.0.1.Final‬//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
at ‪org.jbo...@18.0.1.Final‬//org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)
at deployment.dcm4chee-arc-ear-5.21.0-psql-secure.ear.dcm4chee-arc-delete-5.21.0.jar//org.dcm4chee.arc.delete.impl.DeletionServiceEJB$$$view55.deleteObjectsOfStudy(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor271.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at ‪org.jboss...@3.1.2.Final‬//org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:410)
at ‪org.jboss...@3.1.2.Final‬//org.jboss.weld.module.ejb.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:134)
at ‪org.jboss...@3.1.2.Final‬//org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
at ‪org.jboss...@3.1.2.Final‬//org.jboss.weld.module.ejb.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:68)
at ‪org.jboss...@3.1.2.Final‬//org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
at deployment.dcm4chee-arc-ear-5.21.0-psql-secure.ear.dcm4chee-arc-delete-5.21.0.jar//org.dcm4chee.arc.delete.impl.DeletionServiceEJB$Proxy$_$$_Weld$EnterpriseProxy$.deleteObjectsOfStudy(Unknown Source)
at deployment.dcm4chee-arc-ear-5.21.0-psql-secure.ear.dcm4chee-arc-delete-5.21.0.jar//org.dcm4chee.arc.delete.impl.PurgeStorageScheduler.deleteObjectsOfStudies(PurgeStorageScheduler.java:381)
at deployment.dcm4chee-arc-ear-5.21.0-psql-secure.ear.dcm4chee-arc-delete-5.21.0.jar//org.dcm4chee.arc.delete.impl.PurgeStorageScheduler.deleteStudies(PurgeStorageScheduler.java:223)
at deployment.dcm4chee-arc-ear-5.21.0-psql-secure.ear.dcm4chee-arc-delete-5.21.0.jar//org.dcm4chee.arc.delete.impl.PurgeStorageScheduler.process(PurgeStorageScheduler.java:185)
at deployment.dcm4chee-arc-ear-5.21.0-psql-secure.ear.dcm4chee-arc-delete-5.21.0.jar//org.dcm4chee.arc.delete.impl.PurgeStorageScheduler.lambda$execute$0(PurgeStorageScheduler.java:122)
at ‪org.jbo...@18.0.1.Final‬//org.jboss.as.ee.concurrent.ControlPointUtils$ControlledRunnable.run(ControlPointUtils.java:105)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.glassfish.javax.enterprise.concurrent//org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:141)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:830)
at org.glassfish.javax.enterprise.concurrent//org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250)
Caused by: javax.persistence.EntityNotFoundException: Unable to find org.dcm4chee.arc.entity.Series with id 198900
Reply all
Reply to author
Forward
0 new messages