3 Replies Latest reply on Jun 26, 2013 2:49 PM by siri_01

    Getting Out of Memory for a long running Transaction

    Yogesh Novice

      Hi,
      I have a seam 2.0.GA application running on jboss 4.2.1.GA. I have a feature where an XML file which is ten thousand lines long is imported into the application and leads to around 8000 merge and persist in the database. I have been able to set the transaction timeout to 30 minutes.

      I had the same application running on Seam 1.1.0CR1 and jboss 4.0.5.GA and the import took around 3 to 4 minutes at most for the most complex of files. Now, with the current upgraded version. the same feature is taking more than 20 minutes and I am getting an Out of Memory Error after that !!


      Here is my error log:

      
      2008-04-28 11:11:59,379 ERROR [STDERR] javax.ejb.EJBTransactionRolledbackException: java.lang.OutOfMemoryError: Java heap space
      2008-04-28 11:11:59,400 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
      2008-04-28 11:11:59,400 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
      2008-04-28 11:11:59,400 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      2008-04-28 11:11:59,400 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:11:59,400 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      2008-04-28 11:11:59,401 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:11:59,401 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      2008-04-28 11:11:59,401 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:11:59,401 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      2008-04-28 11:11:59,401 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
      2008-04-28 11:11:59,401 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:11:59,402 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      2008-04-28 11:11:59,402 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:11:59,402 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      2008-04-28 11:11:59,402 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:11:59,402 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
      2008-04-28 11:11:59,402 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
      2008-04-28 11:11:59,402 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
      2008-04-28 11:11:59,403 ERROR [STDERR] at $Proxy332.getNewQuestionId(Unknown Source)
      2008-04-28 11:11:59,403 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor417.invoke(Unknown Source)
      2008-04-28 11:11:59,403 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:11:59,403 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:11:59,403 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      2008-04-28 11:11:59,403 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      2008-04-28 11:11:59,404 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      2008-04-28 11:11:59,404 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:11:59,404 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:11:59,404 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      2008-04-28 11:12:03,118 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_15.getNewQuestionId(Object_$$_javassist_15.java)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.buildQuestions(QuestionnaireImportBean.java:1397)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.buildNodes(QuestionnaireImportBean.java:594)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.buildNodes(QuestionnaireImportBean.java:650)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.buildNodes(QuestionnaireImportBean.java:650)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.buildNodes(QuestionnaireImportBean.java:650)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.buildNodes(QuestionnaireImportBean.java:650)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.buildNodes(QuestionnaireImportBean.java:650)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.importQuestionnaire(QuestionnaireImportBean.java:407)
      2008-04-28 11:12:03,119 ERROR [STDERR] at accountingAudit.reports.QuestionnaireImportBean.checkImport(QuestionnaireImportBean.java:1611)
      2008-04-28 11:12:03,119 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-04-28 11:12:03,120 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-04-28 11:12:03,120 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:03,120 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:03,120 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      2008-04-28 11:12:03,120 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      2008-04-28 11:12:03,120 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-04-28 11:12:03,120 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:03,120 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:36)
      2008-04-28 11:12:03,120 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,120 ERROR [STDERR] at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:43)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-04-28 11:12:03,121 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,122 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-04-28 11:12:03,122 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,122 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:03,122 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-04-28 11:12:03,122 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      2008-04-28 11:12:03,122 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:03,122 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:03,122 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,123 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-04-28 11:12:03,124 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      2008-04-28 11:12:03,124 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:03,124 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-04-28 11:12:03,124 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      2008-04-28 11:12:03,125 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:03,126 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      2008-04-28 11:12:07,940 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,940 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
      2008-04-28 11:12:07,940 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
      2008-04-28 11:12:07,940 ERROR [STDERR] at $Proxy183.checkImport(Unknown Source)
      2008-04-28 11:12:07,940 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-04-28 11:12:07,940 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-04-28 11:12:07,940 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,940 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      2008-04-28 11:12:07,940 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Mon, 28 Apr 2008 11:12:07>
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:07,941 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      2008-04-28 11:12:07,942 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_42.checkImport(Object_$$_javassist_42.java)
      2008-04-28 11:12:07,942 ERROR [STDERR] at accountingAudit.upload.UploadAction$UploadActionBean.importQuestionnaireFromXMLFile(UploadAction.java:1681)
      2008-04-28 11:12:07,942 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-04-28 11:12:07,942 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-04-28 11:12:07,942 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,944 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,945 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      2008-04-28 11:12:07,945 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
      2008-04-28 11:12:07,945 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
      2008-04-28 11:12:07,945 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass
      2008-04-28 11:12:07,945 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      2008-04-28 11:12:07,946 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-04-28 11:12:07,946 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:07,946 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-04-28 11:12:07,946 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,946 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:36)
      2008-04-28 11:12:07,946 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:07,947 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-04-28 11:12:07,947 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      2008-04-28 11:12:07,948 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,948 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,948 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-04-28 11:12:07,949 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,949 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-04-28 11:12:07,949 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,949 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-04-28 11:12:07,949 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,949 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:07,949 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-04-28 11:12:07,949 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      2008-04-28 11:12:07,949 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,950 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,951 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      2008-04-28 11:12:07,955 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      2008-04-28 11:12:07,955 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,955 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      2008-04-28 11:12:07,955 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,955 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      2008-04-28 11:12:07,955 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,955 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
      2008-04-28 11:12:07,956 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
      2008-04-28 11:12:07,957 ERROR [STDERR] at $Proxy179.importQuestionnaireFromXMLFile(Unknown Source)
      2008-04-28 11:12:07,957 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-04-28 11:12:07,957 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-04-28 11:12:07,957 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,957 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,957 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      2008-04-28 11:12:07,957 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      2008-04-28 11:12:07,957 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      2008-04-28 11:12:07,957 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:07,957 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:07,957 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      2008-04-28 11:12:07,958 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_50.importQuestionnaireFromXMLFile(Object_$$_javassist_50.java)
      2008-04-28 11:12:07,958 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2008-04-28 11:12:07,958 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2008-04-28 11:12:07,958 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,958 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,958 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328)
      2008-04-28 11:12:07,958 ERROR [STDERR] at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
      2008-04-28 11:12:07,958 ERROR [STDERR] at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
      2008-04-28 11:12:07,958 ERROR [STDERR] at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
      2008-04-28 11:12:07,958 ERROR [STDERR] at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
      2008-04-28 11:12:07,958 ERROR [STDERR] at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
      2008-04-28 11:12:07,959 ERROR [STDERR] at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
      2008-04-28 11:12:07,959 ERROR [STDERR] at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
      2008-04-28 11:12:07,959 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:383)
      2008-04-28 11:12:07,959 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
      2008-04-28 11:12:07,959 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
      2008-04-28 11:12:07,959 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
      2008-04-28 11:12:07,959 ERROR [STDERR] at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
      2008-04-28 11:12:07,959 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      2008-04-28 11:12:07,959 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      2008-04-28 11:12:07,959 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      2008-04-28 11:12:07,959 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2008-04-28 11:12:07,959 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:80)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-04-28 11:12:07,960 ERROR [STDERR] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-04-28 11:12:07,961 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      2008-04-28 11:12:07,962 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2008-04-28 11:12:07,963 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      2008-04-28 11:12:07,963 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2008-04-28 11:12:07,963 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
      2008-04-28 11:12:07,963 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      2008-04-28 11:12:07,963 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      2008-04-28 11:12:07,966 ERROR [STDERR] Caused by: java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
      2008-04-28 11:12:07,966 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174)
      2008-04-28 11:12:07,966 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-04-28 11:12:07,966 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:07,966 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-04-28 11:12:07,966 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:36)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:07,967 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-04-28 11:12:07,968 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      2008-04-28 11:12:07,968 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,968 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,968 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-04-28 11:12:07,968 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-04-28 11:12:07,968 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:07,968 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-04-28 11:12:07,968 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,968 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:07,969 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-04-28 11:12:07,969 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      2008-04-28 11:12:07,970 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,970 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,970 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      2008-04-28 11:12:07,970 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      2008-04-28 11:12:07,970 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,970 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      2008-04-28 11:12:07,970 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,971 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      2008-04-28 11:12:07,971 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      2008-04-28 11:12:07,971 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      2008-04-28 11:12:07,971 ERROR [STDERR] ... 262 more
      2008-04-28 11:12:07,971 ERROR [STDERR] Caused by: java.lang.OutOfMemoryError: Java heap space
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.util.IdentityMap.entryList(IdentityMap.java:187)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.util.IdentityMap.entries(IdentityMap.java:63)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.event.def.AbstractFlushingEventListener.flushCollections(AbstractFlushingEventListener.java:226)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:77)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:969)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
      2008-04-28 11:12:07,972 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
      2008-04-28 11:12:07,973 ERROR [STDERR] at accountingAudit.dataAccessObjects.QuestionHome.getNewQuestionId(QuestionHome.java:52)
      2008-04-28 11:12:07,973 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor418.invoke(Unknown Source)
      2008-04-28 11:12:07,973 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,973 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:36)
      2008-04-28 11:12:07,988 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,989 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      2008-04-28 11:12:07,989 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,990 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      2008-04-28 11:12:07,990 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,990 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      2008-04-28 11:12:07,990 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      2008-04-28 11:12:07,990 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      2008-04-28 11:12:07,990 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      2008-04-28 11:12:07,991 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
      2008-04-28 11:12:07,991 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-04-28 11:12:07,991 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2008-04-28 11:12:08,058 DEBUG [org.ajax4jsf.event.AjaxPhaseListener] Process after phase INVOKE_APPLICATION 5
      2008-04-28 11:12:20,640 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - second pass <Mon, 28 Apr 2008 11:12:20>
      2008-04-28 11:12:20,640 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] AtomicActionRecoveryModule: Second pass
      2008-04-28 11:12:20,640 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_6] - TORecoveryModule - second pass
      2008-04-28 11:12:20,640 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.secondpass] Local XARecoveryModule - second pass
      
      


      I thought by upgrading, I would gain further in performance, but instead its a huge bottleneck which is preventing me of delivering this version to my client. :(


      Any help will be greatly appreciated.


      Regards,
      Jankee Yogesh