[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmrs-dev
Subject:    UnexpectedRollbackException during HL7 scheduler task
From:       "Wettig, Martin" <Martin.Wettig () charite ! de>
Date:       2014-03-25 13:16:18
Message-ID: EC1C4CA18241084E9EEA3FC9326A06A40188C0632752 () EXCHANGE21 ! charite ! de
[Download RAW message or body]

Dear all,

we are sending ADT-A28 HL7 messages to OpenMRS via the REST module.

After some messages were processed successfully I encounter now an "Unexpected \
Rollback Exception". The consequence is that the hl7_inQueue is not cleared/ the \
messages are not pushed to the error queue.

Does someone have an idea how to solve that or what a possible cause is?

Stacktrace below.

Let me know if more information is required.

OS: Ubuntu 13.04

OpenMRS version: 1.9.3
Serialization Xstream 	0.2.7
Metadata Sharing 	1.1.8
Reporting 	0.7.8 Not Started
HTML Form Entry Extensions for OpenMRS 1.9 Module 	1.3
FormEntry 	4.5.9.5 Not Started
Calculation 	1.0
Logic Module 	0.5.2
Metadata Mapping 	1.0.1
HTML Form Entry 	2.1.4.1
Rest Web Services 	2.1.bac64f
XForms 	4.2.3.0 Not Started
HTML Widgets 	1.6.5 Not Started
Concept Proposal Module 	1.0.0-alpha-2-SHA1-92b6146 


Thanks you for your answers.

Kind Regards,

Martin Wettig


WARN - HL7ServiceImpl.resolvePersonFromIdentifiers(731) |2014-03-25 13:59:10,013| NO \
matches found for <10-digit patient id with leading zeros for padding> WARN - \
HibernateUserDAO.getUserByUsername(107) |2014-03-25 13:59:10,016| request for \
username '<sending facility name>' not found INFO - LoggingAdvice.invoke(117) \
|2014-03-25 13:59:10,043| In method HL7Service.saveHL7InError. Arguments: \
HL7InError=org.openmrs.hl7.HL7InError[2b71a3c6-8a73-4c58-bff3-641d2b2f8988],  INFO - \
LoggingAdvice.invoke(142) |2014-03-25 13:59:10,044| Exiting method saveHL7InError \
INFO - LoggingAdvice.invoke(117) |2014-03-25 13:59:10,045| In method \
HL7Service.purgeHL7InQueue. Arguments: \
HL7InQueue=org.openmrs.hl7.HL7InQueue[9637c4c3-0983-42cd-8853-0ef0138403ad],  INFO - \
LoggingAdvice.invoke(142) |2014-03-25 13:59:10,045| Exiting method purgeHL7InQueue \
ERROR - TimerSchedulerTask.run(54) |2014-03-25 13:59:10,048| FATAL ERROR: Task [class \
org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper] failed due to \
                exception \
                [org.springframework.transaction.UnexpectedRollbackException]
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back \
because it has been marked as rollback-only  at \
org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:717)
  at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
  at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  at com.sun.proxy.$Proxy147.processHL7InQueue(Unknown Source)
	at org.openmrs.hl7.HL7InQueueProcessor.processHL7InQueue(HL7InQueueProcessor.java:61)
  at org.openmrs.hl7.HL7InQueueProcessor.processNextHL7InQueue(HL7InQueueProcessor.java:91)
  at org.openmrs.hl7.HL7InQueueProcessor.processHL7InQueue(HL7InQueueProcessor.java:110)
  at org.openmrs.scheduler.tasks.ProcessHL7InQueueTask.execute(ProcessHL7InQueueTask.java:57)
  at org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper.execute(TaskThreadedInitializationWrapper.java:72)
  at org.openmrs.scheduler.timer.TimerSchedulerTask.execute(TimerSchedulerTask.java:98)
  at org.openmrs.api.context.Daemon$2.run(Daemon.java:118)

-- 
OpenMRS Developers: http://go.openmrs.org/dev
Post: dev@openmrs.org | Unsubscribe: dev+unsubscribe@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/

To unsubscribe from this group and stop receiving emails from it, send an email to \
dev+unsubscribe@openmrs.org.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic