openmeetings-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Solodovnik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OPENMEETINGS-498) Backup fails with Exception
Date Thu, 07 Feb 2013 04:21:31 GMT

     [ https://issues.apache.org/jira/browse/OPENMEETINGS-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maxim Solodovnik closed OPENMEETINGS-498.
-----------------------------------------

    
> Backup fails with Exception
> ---------------------------
>
>                 Key: OPENMEETINGS-498
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-498
>             Project: Openmeetings
>          Issue Type: Bug
>    Affects Versions: 2.1 Apache Incubator Release
>            Reporter: SebastianWagner
>            Assignee: Maxim Solodovnik
>             Fix For: 2.1 Apache Incubator Release
>
>         Attachments: backup_28_12_2012_17_41_08.zip
>
>
> org.springframework.dao.DataIntegrityViolationException: An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe"
with oid "4001" already exists in this context; another cannot be persisted.; nested exception
is <openjpa-2.2.1-r422266:1396819 nonfatal store error> org.apache.openjpa.persistence.EntityExistsException:
An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe" with oid
"4001" already exists in this context; another cannot be persisted.
> FailedObject: org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe@45800894
> 	at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:318)
~[org.springframework.orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:120)
~[org.springframework.orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:516)
~[org.springframework.orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.apache.openmeetings.data.conference.RoomDAO$$EnhancerByCGLIB$$6a00b9af.update(<generated>)
~[cglib-jar-2.2.2.jar:na]
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.performImport(BackupImportController.java:311)
~[openmeetings-2.1.0-SNAPSHOT.jar:na]
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:598)
~[openmeetings-2.1.0-SNAPSHOT.jar:na]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_37]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
~[na:1.6.0_37]
> 	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37]
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) [red5.jar:na]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[na:1.6.0_37]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_37]
> 	at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37]
> Caused by: org.apache.openjpa.persistence.EntityExistsException: An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe"
with oid "4001" already exists in this context; another cannot be persisted.
> 	at org.apache.openjpa.kernel.BrokerImpl.checkForDuplicateId(BrokerImpl.java:5080) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.persistInternal(BrokerImpl.java:2653) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2573) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2556) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlushPC(SingleFieldManager.java:800)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:621)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:589)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:505)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:3028) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:44) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:1042)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2114) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2074) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1992) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1516) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:933) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:570)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:512)
~[org.springframework.orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	... 43 common frames omitted
> org.springframework.dao.DataIntegrityViolationException: An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe"
with oid "4001" already exists in this context; another cannot be persisted.; nested exception
is <openjpa-2.2.1-r422266:1396819 nonfatal store error> org.apache.openjpa.persistence.EntityExistsException:
An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe" with oid
"4001" already exists in this context; another cannot be persisted.
> FailedObject: org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe@45800894
> 	at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:318)
> 	at org.springframework.orm.jpa.DefaultJpaDialect.translateExceptionIfPossible(DefaultJpaDialect.java:120)
> 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:516)
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
> 	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.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
> 	at org.apache.openmeetings.data.conference.RoomDAO$$EnhancerByCGLIB$$6a00b9af.update(<generated>)
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.performImport(BackupImportController.java:311)
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:598)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> 	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> 	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: <openjpa-2.2.1-r422266:1396819 nonfatal store error> org.apache.openjpa.persistence.EntityExistsException:
An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe" with oid
"4001" already exists in this context; another cannot be persisted.
> FailedObject: org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe@45800894
> 	at org.apache.openjpa.kernel.BrokerImpl.checkForDuplicateId(BrokerImpl.java:5080)
> 	at org.apache.openjpa.kernel.BrokerImpl.persistInternal(BrokerImpl.java:2653)
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2573)
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2556)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlushPC(SingleFieldManager.java:800)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:621)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:589)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:505)
> 	at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:3028)
> 	at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:44)
> 	at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:1042)
> 	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2114)
> 	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2074)
> 	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1992)
> 	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
> 	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1516)
> 	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:933)
> 	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:570)
> 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:512)
> 	... 43 more
> 28.12.2012 17:41:44 org.apache.catalina.core.StandardWrapperValve invoke
> SCHWERWIEGEND: Servlet.service() for servlet [spring-mvc] in context with path [/openmeetings]
threw exception [org.springframework.dao.DataIntegrityViolationException: An object of type
"org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe" with oid "4001" already exists
in this context; another cannot be persisted.; nested exception is <openjpa-2.2.1-r422266:1396819
nonfatal store error> org.apache.openjpa.persistence.EntityExistsException: An object of
type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe" with oid "4001" already
exists in this context; another cannot be persisted.
> FailedObject: org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe@45800894]
with root cause
> <openjpa-2.2.1-r422266:1396819 nonfatal store error> org.apache.openjpa.persistence.EntityExistsException:
An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe" with oid
"4001" already exists in this context; another cannot be persisted.
> FailedObject: org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe@45800894
> 	at org.apache.openjpa.kernel.BrokerImpl.checkForDuplicateId(BrokerImpl.java:5080)
> 	at org.apache.openjpa.kernel.BrokerImpl.persistInternal(BrokerImpl.java:2653)
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2573)
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2556)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlushPC(SingleFieldManager.java:800)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:621)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:589)
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:505)
> 	at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:3028)
> 	at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:44)
> 	at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:1042)
> 	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2114)
> 	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2074)
> 	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1992)
> 	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
> 	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1516)
> 	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:933)
> 	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:570)
> 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:512)
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
> 	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.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
> 	at org.apache.openmeetings.data.conference.RoomDAO$$EnhancerByCGLIB$$6a00b9af.update(<generated>)
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.performImport(BackupImportController.java:311)
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:598)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> 	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> 	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
> 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:680)
> [ERROR] [http-bio-0.0.0.0-5080-exec-7] org.apache.catalina.core.ContainerBase.[red5Engine].[0.0.0.0].[/openmeetings].[spring-mvc]
- Servlet.service() for servlet [spring-mvc] in context with path [/openmeetings] threw exception
[org.springframework.dao.DataIntegrityViolationException: An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe"
with oid "4001" already exists in this context; another cannot be persisted.; nested exception
is <openjpa-2.2.1-r422266:1396819 nonfatal store error> org.apache.openjpa.persistence.EntityExistsException:
An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe" with oid
"4001" already exists in this context; another cannot be persisted.
> FailedObject: org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe@45800894]
with root cause
> org.apache.openjpa.persistence.EntityExistsException: An object of type "org.apache.openmeetings.persistence.beans.sip.asterisk.MeetMe"
with oid "4001" already exists in this context; another cannot be persisted.
> 	at org.apache.openjpa.kernel.BrokerImpl.checkForDuplicateId(BrokerImpl.java:5080) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.persistInternal(BrokerImpl.java:2653) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2573) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2556) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlushPC(SingleFieldManager.java:800)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:621)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:589)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:505)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:3028) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:44) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:1042)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2114) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2074) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1992) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1516) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:933) ~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:570)
~[openjpa-bundle-2.2.1.jar:2.2.1]
> 	at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:512)
~[org.springframework.orm-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
~[org.springframework.transaction-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
~[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.apache.openmeetings.data.conference.RoomDAO$$EnhancerByCGLIB$$6a00b9af.update(<generated>)
~[cglib-jar-2.2.2.jar:na]
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.performImport(BackupImportController.java:311)
~[openmeetings-2.1.0-SNAPSHOT.jar:na]
> 	at org.apache.openmeetings.servlet.outputhandler.BackupImportController.service(BackupImportController.java:598)
~[openmeetings-2.1.0-SNAPSHOT.jar:na]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37]
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_37]
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
~[na:1.6.0_37]
> 	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37]
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
~[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
~[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
~[org.springframework.web.servlet-jar-3.1.1.RELEASE.jar:3.1.1.RELEASE]
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) ~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) ~[red5.jar:na]
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
~[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
[tomcat-embed-core-jar-7.0.34.jar:7.0.34]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[na:1.6.0_37]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_37]
> 	at java.lang.Thread.run(Thread.java:680) [na:1.6.0_37]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message