Deleteing (moving to trash) in Web3

149 views
Skip to first unread message

Funky Koval

unread,
Feb 17, 2015, 9:23:19 AM2/17/15
to
Hi All,

I have a problem when deleting large series (ca. 1600 instances)

this may be
a problem with the handling of large queries in my postgres (?)


015-02-17 15:05:58,082 WARN  -> (Thread-3) [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id 7f000001:94ff:54dcc8a3:6d251 invoked while multiple threads active within it.
2015-02-17 15:05:58,082 WARN  -> (Thread-3) [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action 7f000001:94ff:54dcc8a3:6d251 aborting with 1 threads active!
2015-02-17 15:05:58,084 WARN  -> (http-0.0.0.0-8080-3) [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_40] - Abort called on already aborted atomic action 7f000001:94ff:54dcc8a3:6d251
2015-02-17 15:05:58,085 ERROR -> (http-0.0.0.0-8080-3) [org.dcm4chee.web.war.folder.StudyListPage] moveToTrash failed:
javax.management.RuntimeMBeanException
    at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.dcm4chee.web.war.folder.delegate.ContentEditDelegate.moveToTrash(ContentEditDelegate.java:144)
    at org.dcm4chee.web.war.folder.delegate.ContentEditDelegate.moveToTrash(ContentEditDelegate.java:121)
    at org.dcm4chee.web.war.folder.StudyListPage$34.onConfirmation(StudyListPage.java:1018)
    at org.dcm4chee.web.war.folder.StudyListPage$34.onConfirmation(StudyListPage.java:984)
    at org.dcm4chee.web.common.markup.modal.ConfirmationWindow$MessageWindowPanel$4.onClick(ConfirmationWindow.java:295)
    at org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1.onEvent(AjaxFallbackLink.java:73)
    at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
    at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:286)
    at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
    at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
    at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!
    at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1379)
    at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135)
    at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87)
    at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:175)
    at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
    at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
    at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
    at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
    at com.sun.proxy.$Proxy415.moveSeriesToTrash(Unknown Source)
    at org.dcm4chee.web.service.contentedit.ContentEditService.moveSeriessToTrash(ContentEditService.java:352)
    at sun.reflect.GeneratedMethodAccessor818.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    ... 43 more

Alessio Ciregia

unread,
Feb 17, 2015, 11:18:20 AM2/17/15
to dcm...@googlegroups.com
On 17/02/2015 15:23, Funky Koval wrote:
> Hi All,
>
> I have a problem when deleting large series (ca. 1600-1700 instances)

Try to increase the value of TransactionTimeout in the
server/default/conf/jboss-service.xml file, then restart dcm4chee.

<http://forums.dcm4che.org/jiveforums/thread.jspa?messageID=23732>


Ciao
A

Funky Koval

unread,
Feb 18, 2015, 4:03:54 PM2/18/15
to dcm...@googlegroups.com
thank You,

increase timeout or in this case accelerate my PostgreSQL, but by the way I have some problems with HL7 transactions (read timeout of ack from HIS)
I wonder if this configuration takes efect for HL7 communication

Algie Rosario

unread,
Feb 19, 2015, 11:26:15 PM2/19/15
to dcm...@googlegroups.com
HI Koval,

How does your PACs communicate with your HIS? 

Thanks,

Funky Koval

unread,
Feb 20, 2015, 2:26:07 AM2/20/15
to dcm...@googlegroups.com
via HL7
read timeout ocurs when PACS is sending orm (from mpps) message and does not get ack form HIS, then PACS trying to send the message over and over again
message is rejected by HIS cause the first was processed correctly, problem is only with ack time out

Algie Rosario

unread,
Feb 20, 2015, 3:21:01 AM2/20/15
to dcm...@googlegroups.com
How does your PACS send ORM message to HIS?

Funky Koval

unread,
Feb 20, 2015, 4:46:26 AM2/20/15
to dcm...@googlegroups.com
MPPSScp/MPPSEmulator > MPPS2ORM > HL7 Send Service

Algie Rosario

unread,
Feb 20, 2015, 5:02:16 AM2/20/15
to dcm...@googlegroups.com
Why dont you build your own ORM builder instead?
Reply all
Reply to author
Forward
0 new messages