1 Reply Latest reply on Nov 2, 2012 10:09 AM by Wolf-Dieter Fink

    Caused by: java.lang.reflect.InvocationTargetException

    v.rammohan Newbie

      Hi, I'm a new head to JBoss. I tried to use deploy my war file from the admin-console with exploded option as NO.

      It was a failure and following is the stack trace :

       

      run.conf.bat is configured as : JAVA_OPTS: -Dprogram.name=run.bat  -Xms256M -Xmx1024M -XX:MaxPermSize=512M

       

      15:47:42,974 SEVERE [application] java.lang.reflect.InvocationTargetException

      javax.faces.el.EvaluationException: java.lang.reflect.InvocationTargetException

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:102)

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

              at javax.faces.component.UICommand.broadcast(UICommand.java:387)

              at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)

              at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)

              at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)

              at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)

              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)

              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:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmen

      tValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishment

      Valve.java:70)

              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:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: java.lang.reflect.InvocationTargetException

              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.jboss.seam.util.Reflections.invoke(Reflections.java:22)

              at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

              at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)

              at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)

              at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction_$$_javassist_14.createContentBac

      kedResource(CreateContentBackedResourceAction_$$_javassist_14.java)

              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.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)

              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)

              at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)

              at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)

              at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)

              at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

              at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:88)

              ... 51 more

      Caused by: java.lang.OutOfMemoryError

              at java.io.FileOutputStream.writeBytes(Native Method)

              at java.io.FileOutputStream.write(FileOutputStream.java:247)

              at org.jboss.on.embedded.ui.content.AbstractFileUploadAction.writeTempFile(AbstractFileUploadAction.ja

      va:77)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction.createContentBackedResource(Crea

      teContentBackedResourceAction.java:115)

              ... 82 more

      15:47:43,005 WARNING [lifecycle] #{createContentBackedResourceAction.createContentBackedResource()}: java.lang

      .reflect.InvocationTargetException

      javax.faces.FacesException: #{createContentBackedResourceAction.createContentBackedResource()}: java.lang.refl

      ect.InvocationTargetException

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)

              at javax.faces.component.UICommand.broadcast(UICommand.java:387)

              at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)

              at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)

              at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)

              at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)

              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)

              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:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmen

      tValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishment

      Valve.java:70)

              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:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.faces.el.EvaluationException: java.lang.reflect.InvocationTargetException

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:102)

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

              ... 50 more

      Caused by: java.lang.reflect.InvocationTargetException

              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.jboss.seam.util.Reflections.invoke(Reflections.java:22)

              at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

              at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)

              at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)

              at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction_$$_javassist_14.createContentBac

      kedResource(CreateContentBackedResourceAction_$$_javassist_14.java)

              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.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)

              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)

              at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)

              at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)

              at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)

              at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

              at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:88)

              ... 51 more

      Caused by: java.lang.OutOfMemoryError

              at java.io.FileOutputStream.writeBytes(Native Method)

              at java.io.FileOutputStream.write(FileOutputStream.java:247)

              at org.jboss.on.embedded.ui.content.AbstractFileUploadAction.writeTempFile(AbstractFileUploadAction.ja

      va:77)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction.createContentBackedResource(Crea

      teContentBackedResourceAction.java:115)

              ... 82 more

      15:47:43,005 SEVERE [lifecycle] JSF1054: (Phase ID: INVOKE_APPLICATION 5, View ID: /secure/resourceContentCrea

      te.xhtml) Exception thrown during phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle

      .LifecycleImpl@1c02a4a]

      15:47:43,005 WARN  [ExceptionFilter] handling uncaught exception

      javax.servlet.ServletException: #{createContentBackedResourceAction.createContentBackedResource()}: java.lang.

      reflect.InvocationTargetException

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)

              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:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmen

      tValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishment

      Valve.java:70)

              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:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.faces.FacesException: #{createContentBackedResourceAction.createContentBackedResource()}: jav

      a.lang.reflect.InvocationTargetException

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)

              at javax.faces.component.UICommand.broadcast(UICommand.java:387)

              at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)

              at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)

              at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)

              at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)

              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

              ... 41 more

      Caused by: javax.faces.el.EvaluationException: java.lang.reflect.InvocationTargetException

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:102)

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

              ... 50 more

      Caused by: java.lang.reflect.InvocationTargetException

              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.jboss.seam.util.Reflections.invoke(Reflections.java:22)

              at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

              at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)

              at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)

              at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction_$$_javassist_14.createContentBac

      kedResource(CreateContentBackedResourceAction_$$_javassist_14.java)

              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.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)

              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)

              at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)

              at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)

              at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)

              at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

              at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:88)

              ... 51 more

      Caused by: java.lang.OutOfMemoryError

              at java.io.FileOutputStream.writeBytes(Native Method)

              at java.io.FileOutputStream.write(FileOutputStream.java:247)

              at org.jboss.on.embedded.ui.content.AbstractFileUploadAction.writeTempFile(AbstractFileUploadAction.ja

      va:77)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction.createContentBackedResource(Crea

      teContentBackedResourceAction.java:115)

              ... 82 more

      15:47:43,021 WARN  [ExceptionFilter] exception root cause

      javax.faces.FacesException: #{createContentBackedResourceAction.createContentBackedResource()}: java.lang.refl

      ect.InvocationTargetException

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)

              at javax.faces.component.UICommand.broadcast(UICommand.java:387)

              at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)

              at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)

              at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)

              at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466)

              at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)

              at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

              at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

              at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:38)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:86)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

              at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

              at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390)

              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517)

              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)

              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

              at org.jboss.on.embedded.LazyStartupFilter.doFilter(LazyStartupFilter.java:87)

              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:235)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

              at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmen

      tValve.java:126)

              at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishment

      Valve.java:70)

              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:158)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

              at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.faces.el.EvaluationException: java.lang.reflect.InvocationTargetException

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:102)

              at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

              ... 50 more

      Caused by: java.lang.reflect.InvocationTargetException

              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.jboss.seam.util.Reflections.invoke(Reflections.java:22)

              at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)

              at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:77)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)

              at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

              at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)

              at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)

              at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction_$$_javassist_14.createContentBac

      kedResource(CreateContentBackedResourceAction_$$_javassist_14.java)

              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.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)

              at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)

              at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)

              at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)

              at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)

              at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

              at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)

              at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdap

      ter.java:88)

              ... 51 more

      Caused by: java.lang.OutOfMemoryError

              at java.io.FileOutputStream.writeBytes(Native Method)

              at java.io.FileOutputStream.write(FileOutputStream.java:247)

              at org.jboss.on.embedded.ui.content.AbstractFileUploadAction.writeTempFile(AbstractFileUploadAction.ja

      va:77)

              at org.jboss.on.embedded.ui.content.CreateContentBackedResourceAction.createContentBackedResource(Crea

      teContentBackedResourceAction.java:115)

              ... 82 more

      15:47:43,021 WARN  [ExceptionFilter] running exception handlers

       

       

      NOTE : The war I used was initially deployed on Tomcat 6.0.18 and it was working fine on it. No changes made/no extra files were added to the war file.

       

      Please help me in resolving this issue.

       

      Venkata  RCH.