10 Replies Latest reply on Dec 17, 2014 7:16 AM by gajanan khule

    Jboss 4.2.2 to Jboss 7.1.1 Migration issue

    gajanan khule Newbie

      Hi All,

       

      In my application i am using Struts,Spring,Hibernate and Axis2 webservice in my application.Currently my application is working fine on Jboss4.2.2.

      And i am migrating it on JBoss7.1.1 facing some problems.

      Following is warning and error comes when I start jboss7.1.1 actually it shows that my war "mydocs.war" is deployed. but when i hit my loginPage it give me following error.

       

      Please help thanks in advance.

      11:31:01,470 INFO  [org.jboss.as] (MSC service thread 1-2) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 38110ms - Started 828 of 912 services (83 services are passive or on-demand)

      11:31:01,486 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "mydocs.war"

      11:49:58,177 INFO  [stdout] (http--127.0.0.1-8080-1) Hibernate: select this_.id as id127_0_, this_.constant_name as constant2_127_0_, this_.constant_value as constant3_127_0_, this_.description as descript4_127_0_ from APPLICATION_CONSTANTS this_ where this_.constant_name=?

       

      11:49:59,037 WARN  [org.jboss.modules] (http--127.0.0.1-8080-1) Failed to define class org.eclipse.jdt.internal.compiler.ast.TypeDeclaration in Module "org.jboss.as.web:main" from local module loader @145c859 (roots: D:\jboss-as-7.1.1.Final\modules): java.lang.OutOfMemoryError: PermGen space

          at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_02]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:620) [rt.jar:1.6.0_02]

          at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [rt.jar:1.6.0_02]

          at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)

          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)

          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)

          at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)

          at org.jboss.modules.Module.loadModuleClass(Module.java:517)

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [rt.jar:1.6.0_02]

          at org.eclipse.jdt.internal.compiler.Compiler.initializeParser(Compiler.java:685) [jasper-jdt-7.0.3.Final.jar:]

          at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:283) [jasper-jdt-7.0.3.Final.jar:]

          at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:159) [jasper-jdt-7.0.3.Final.jar:]

          at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:430) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.13.Final.jar:]

       

      11:49:59,724 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mydocs].[jsp]] (http--127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception: java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/ast/TypeDeclaration

          at org.eclipse.jdt.internal.compiler.Compiler.initializeParser(Compiler.java:685) [jasper-jdt-7.0.3.Final.jar:]

          at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:283) [jasper-jdt-7.0.3.Final.jar:]

          at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:159) [jasper-jdt-7.0.3.Final.jar:]

          at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:430) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.13.Final.jar:]

          at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085) [struts.jar:1.2.9]

          at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398) [struts.jar:1.2.9]

          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) [struts.jar:1.2.9]

          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts.jar:1.2.9]

          at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts.jar:1.2.9]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.mydocs.webapp.filter.MyDocsBrandFilter.doFilterInternal(MyDocsBrandFilter.java:130) [classes:]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) [sitemesh-2.2.1.jar:]

          at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) [sitemesh-2.2.1.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375) [urlrewrite-3.0-beta.jar:3.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.mydocs.webapp.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:31) [classes:]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [displaytag-1.1.jar:1.1]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.mydocs.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:55) [classes:]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) [spring.jar:2.0]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at com.mydocs.webapp.filter.LogoutFilter.doFilter(LogoutFilter.java:143) [classes:]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) [acegi-security-1.0.2.jar:1.0.2]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78) [spring.jar:2.0]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_02]

       

      11:49:59,818 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mydocs].[action]] (http--127.0.0.1-8080-1) Servlet.service() for servlet action threw exception: java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/ast/TypeDeclaration

          at org.eclipse.jdt.internal.compiler.Compiler.initializeParser(Compiler.java:685) [jasper-jdt-7.0.3.Final.jar:]

          at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:283) [jasper-jdt-7.0.3.Final.jar:]

          at org.eclipse.jdt.internal.compiler.Compiler.<init>(Compiler.java:159) [jasper-jdt-7.0.3.Final.jar:]

          at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:430) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:362) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.13.Final.jar:]

          at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085) [struts.jar:1.2.9]

          at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398) [struts.jar:1.2.9]

          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) [struts.jar:1.2.9]

          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) [struts.jar:1.2.9]

          at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) [struts.jar:1.2.9]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.mydocs.webapp.filter.MyDocsBrandFilter.doFilterInternal(MyDocsBrandFilter.java:130) [classes:]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) [sitemesh-2.2.1.jar:]

          at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) [sitemesh-2.2.1.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:375) [urlrewrite-3.0-beta.jar:3.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.mydocs.webapp.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:31) [classes:]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) [displaytag-1.1.jar:1.1]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at com.mydocs.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:55) [classes:]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) [spring.jar:2.0]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at com.mydocs.webapp.filter.LogoutFilter.doFilter(LogoutFilter.java:143) [classes:]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) [acegi-security-1.0.2.jar:1.0.2]

          at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) [acegi-security-1.0.2.jar:1.0.2]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78) [spring.jar:2.0]

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) [spring.jar:2.0]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_02]

       

      11:50:00,459 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mydocs].[jsp]] (http--127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception: java.lang.OutOfMemoryError: PermGen space

          at java.lang.String.intern(Native Method) [rt.jar:1.6.0_02]

          at org.apache.xerces.util.SymbolTable$Entry.<init>(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.util.SymbolTable.addSymbol(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLEntityScanner.scanQName(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) [rt.jar:1.6.0_02]

          at org.apache.taglibs.standard.tlv.JstlBaseTLV.validate(JstlBaseTLV.java:198) [jboss-jstl-api_1.2_spec-1.0.2.Final.jar:1.0.2.Final]

          at org.apache.taglibs.standard.tlv.JstlFmtTLV.validate(JstlFmtTLV.java:138) [jboss-jstl-api_1.2_spec-1.0.2.Final.jar:1.0.2.Final]

          at org.apache.jasper.compiler.TagLibraryInfoImpl.validate(TagLibraryInfoImpl.java:502) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1830) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1799) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:211) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:360) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

       

      11:50:01,084 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]] (http--127.0.0.1-8080-1) Exception Processing ErrorPage[errorCode=500, location=/error.jsp]: javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:261) [jbossweb-7.0.13.Final.jar:]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:624) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:533) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:459) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:403) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_02]

      Caused by: java.lang.OutOfMemoryError: PermGen space

          at java.lang.String.intern(Native Method) [rt.jar:1.6.0_02]

          at org.apache.xerces.util.SymbolTable$Entry.<init>(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.util.SymbolTable.addSymbol(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLEntityScanner.scanQName(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) [xercesImpl-2.8.1.jar:]

          at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) [rt.jar:1.6.0_02]

          at org.apache.taglibs.standard.tlv.JstlBaseTLV.validate(JstlBaseTLV.java:198) [jboss-jstl-api_1.2_spec-1.0.2.Final.jar:1.0.2.Final]

          at org.apache.taglibs.standard.tlv.JstlFmtTLV.validate(JstlFmtTLV.java:138) [jboss-jstl-api_1.2_spec-1.0.2.Final.jar:1.0.2.Final]

          at org.apache.jasper.compiler.TagLibraryInfoImpl.validate(TagLibraryInfoImpl.java:502) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1830) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1799) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:211) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:360) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:607) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [jbossweb-7.0.13.Final.jar:]

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [jbossweb-7.0.13.Final.jar:]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

       

      11:50:01,677 WARN  [org.jboss.modules] (http--127.0.0.1-8080-1) Failed to define class org.apache.catalina.util.ServerInfo in Module "org.jboss.as.web:main" from local module loader @145c859 (roots: D:\jboss-as-7.1.1.Final\modules): java.lang.OutOfMemoryError: PermGen space

          at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_02]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:620) [rt.jar:1.6.0_02]

          at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) [rt.jar:1.6.0_02]

          at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.Module.loadModuleClass(Module.java:517) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]

          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [rt.jar:1.6.0_02]

          at org.apache.catalina.valves.ErrorReportValve.report(ErrorReportValve.java:178) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:131) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_02]

       

      11:50:04,521 ERROR [org.apache.catalina.connector.CoyoteAdapter] (http--127.0.0.1-8080-1) An exception or error occurred in the container during the request processing: java.lang.NoClassDefFoundError: org/apache/coyote/Constants

          at org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:426) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1637) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:998) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:335) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:301) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.Response.finishResponse(Response.java:479) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_02]

       

      11:50:04,537 ERROR [org.apache.coyote.http11.Http11Processor] (http--127.0.0.1-8080-1) Error finishing response: java.lang.NoClassDefFoundError: org/apache/coyote/Constants

          at org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:426) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1637) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:998) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.Response.action(Response.java:188) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:363) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.endRequest(Http11Processor.java:958) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:904) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_02]

       

      11:50:05,084 WARN  [org.jboss.modules] (http--127.0.0.1-8080-1) Failed to define class org.apache.tomcat.util.net.JIoEndpoint$Handler$SocketState in Module "org.jboss.as.web:main" from local module loader @145c859 (roots: D:\jboss-as-7.1.1.Final\modules): java.lang.OutOfMemoryError: PermGen space

       

      11:50:05,084 ERROR [org.apache.coyote.http11.Http11Protocol] (http--127.0.0.1-8080-1) Error reading request, ignored: java.lang.NoClassDefFoundError: org/apache/tomcat/util/net/JIoEndpoint$Handler$SocketState

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:938) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_02]

        • 1. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
          Jay SenSharma Master

          All the other NoClassDefFoundError's  just seems to be a side effect of  "java.lang.OutOfMemoryError: PermGen space"

          So as an initial step try increasing the  "-XX:MaxPermSize" parameter to a bit larger value like  -XX:MaxPermSize=512m   or more based on your observation.  If you are running in standalone mode of JBoss AS71 then you will need to edit the JAVA_OPTS defined inside the "$JBOSS_HOME/bin/standalone.conf" file.

          • 2. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
            Frank Langelage Master

            And it might be helpful to upgrade your Java 6 SDK from 1.6.0_02 to latest publicly accessible 1.6.0_45.

            • 3. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
              gajanan khule Newbie

              Hi Frank,

               

              I  tried out your solution but now it giving following error.

               

              17:48:30,474 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.web.deployment.default-host./mydocs: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./mydocs: Failed to start service

                  at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]

                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]

                  at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_45]

              Caused by: java.lang.OutOfMemoryError: PermGen space

               

              17:48:31,407 WARN  [org.jboss.modules] (DefaultMessageListenerContainer-10) Failed to define class org.hornetq.core.client.impl.ClientConsumerImpl in Module "org.hornetq:main" from local module loader @100c62c8 (roots: D:\jboss-as-7.1.1.Final\modules): java.lang.OutOfMemoryError: PermGen space

               

              17:48:37,018 WARN  [org.jboss.modules] (MSC service thread 1-1) Failed to define class org.jboss.msc.service.ServiceControllerImpl$DependencyFailedTask in Module "org.jboss.msc:main" from local module loader @100c62c8 (roots: D:\jboss-as-7.1.1.Final\modules): java.lang.OutOfMemoryError: PermGen space

               

              17:48:40,849 WARN  [org.jboss.modules] (DefaultMessageListenerContainer-10) Failed to define class org.hornetq.core.protocol.core.impl.wireformat.SessionCloseMessage in Module "org.hornetq:main" from local module loader @100c62c8 (roots: D:\jboss-as-7.1.1.Final\modules): java.lang.OutOfMemoryError: PermGen space

               

              17:48:57,735 WARN  [org.jboss.modules] (DefaultMessageListenerContainer-10) Failed to define class org.hornetq.core.client.impl.ClientConsumerImpl in Module "org.hornetq:main" from local module loader @100c62c8 (roots: D:\jboss-as-7.1.1.Final\modules): java.lang.OutOfMemoryError: PermGen space

               

               

              Thanks

              Gajanan Khule.

              • 4. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
                Jay SenSharma Master

                What is the MaxPermSize you are running your JBoss with?

                Did you try increasing the MaxPermSize a bit like 512m or bit more ?

                • 5. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
                  Tomaz Cerar Master

                  Frank Langelage wrote:

                   

                  And it might be helpful to upgrade your Java 6 SDK from 1.6.0_02 to latest publicly accessible 1.6.0_45.

                  or even to something that is not EOL-ed, like JDK7u72

                  • 6. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
                    gajanan khule Newbie

                    Hi Jay,

                     

                    I already increased MaxPermSize

                    You can see standalone.conf

                     

                    ## -*- shell-script -*- ######################################################

                    ##                                                                          ##

                    ##  JBoss Bootstrap Script Configuration                                    ##

                    ##                                                                          ##

                    ##############################################################################

                     

                    #

                    # This file is optional; it may be removed if not needed.

                    #

                     

                    #

                    # Specify the maximum file descriptor limit, use "max" or "maximum" to use

                    # the default, as queried by the system.

                    #

                    # Defaults to "maximum"

                    #

                    #MAX_FD="maximum"

                     

                    #

                    # Specify the profiler configuration file to load.

                    #

                    # Default is to not load profiler configuration file.

                    #

                    #PROFILER=""

                     

                    #

                    # Specify the location of the Java home directory.  If set then $JAVA will

                    # be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".

                    #

                    #JAVA_HOME="/opt/java/jdk"

                     

                    #

                    # Specify the exact Java VM executable to use.

                    #

                    #JAVA=""

                     

                    if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then

                       JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"

                    fi

                     

                    # Uncomment the following line to prevent manipulation of JVM options

                    # by shell scripts.

                    #

                    #PRESERVE_JAVA_OPTS=true

                     

                    #

                    # Specify options to pass to the Java VM.

                    #

                    if [ "x$JAVA_OPTS" = "x" ]; then

                       JAVA_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=1024m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

                       JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"

                       JAVA_OPTS="$JAVA_OPTS -Djboss.server.default.config=standalone.xml"

                    else

                       echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"

                    fi

                     

                    # Sample JPDA settings for remote socket debugging

                    #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

                     

                    # Sample JPDA settings for shared memory debugging

                    #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"

                     

                    # Uncomment to not use JBoss Modules lockless mode

                    #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.lockless=false"

                     

                    # Uncomment to gather JBoss Modules metrics

                    #JAVA_OPTS="$JAVA_OPTS -Djboss.modules.metrics=true"

                     

                    and standalone.cong.bat is like


                    rem ### -*- batch file -*- ######################################################

                    rem #                                                                          ##

                    rem #  JBoss Bootstrap Script Configuration                                    ##

                    rem #                                                                          ##

                    rem #############################################################################

                     

                    rem # $Id: run.conf.bat 88820 2009-05-13 15:25:44Z dimitris@jboss.org $

                     

                    rem #

                    rem # This batch file is executed by run.bat to initialize the environment

                    rem # variables that run.bat uses. It is recommended to use this file to

                    rem # configure these variables, rather than modifying run.bat itself.

                    rem #

                     

                    rem Uncomment the following line to disable manipulation of JAVA_OPTS (JVM parameters)

                    rem set PRESERVE_JAVA_OPTS=true

                     

                    if not "x%JAVA_OPTS%" == "x" (

                      echo "JAVA_OPTS already set in environment; overriding default settings with values: %JAVA_OPTS%"

                      goto JAVA_OPTS_SET

                    )

                     

                    rem #

                    rem # Specify the JBoss Profiler configuration file to load.

                    rem #

                    rem # Default is to not load a JBoss Profiler configuration file.

                    rem #

                    rem set "PROFILER=%JBOSS_HOME%\bin\jboss-profiler.properties"

                     

                    rem #

                    rem # Specify the location of the Java home directory (it is recommended that

                    rem # this always be set). If set, then "%JAVA_HOME%\bin\java" will be used as

                    rem # the Java VM executable; otherwise, "%JAVA%" will be used (see below).

                    rem #

                    rem set "JAVA_HOME=C:\opt\jdk1.6.0_23"

                     

                    rem #

                    rem # Specify the exact Java VM executable to use - only used if JAVA_HOME is

                    rem # not set. Default is "java".

                    rem #

                    rem set "JAVA=C:\opt\jdk1.6.0_23\bin\java"

                     

                    rem #

                    rem # Specify options to pass to the Java VM. Note, there are some additional

                    rem # options that are always passed by run.bat.

                    rem #

                     

                    rem # JVM memory allocation pool parameters - modify as appropriate.

                    set "JAVA_OPTS=-Xms512M -Xmx2048M -XX:MaxPermSize=1024M"

                     

                    rem # Reduce the RMI GCs to once per hour for Sun JVMs.

                    set "JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true"

                     

                    rem # Warn when resolving remote XML DTDs or schemas.

                    set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"

                     

                    rem # Make Byteman classes visible in all module loaders

                    rem # This is necessary to inject Byteman rules into AS7 deployments

                    set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.system.pkgs=org.jboss.byteman"

                     

                    rem # Set the default configuration file to use if -c or --server-config are not used

                    set "JAVA_OPTS=%JAVA_OPTS% -Djboss.server.default.config=standalone.xml"

                     

                    rem # Sample JPDA settings for remote socket debugging

                    rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

                     

                    rem # Sample JPDA settings for shared memory debugging

                    rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"

                     

                    rem # Use JBoss Modules lockless mode

                    rem set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.lockless=true"

                     

                    :JAVA_OPTS_SET

                    • 7. Re: Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
                      Jay SenSharma Master

                      Better if you consider using JDK 1.7 in general which will be best. as JDK 1.6 is outdated (already End Of Life)

                       

                      Few suggestions We can see that you have set the following where %JAVA_OPTS% is missing

                       

                      set "JAVA_OPTS=-Xms512M -Xmx2048M -XX:MaxPermSize=1024M"
                      
                      
                      

                       

                      But it is better to add %JAVA_OPTS% in that option so that it will take the JBoss specified previously defined JAVA_OPTS like [Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"] etc.  Else those will be gone. This is needed to ensure that it will not override the previously set JAVA_OPTS.

                       

                      Correct setting

                      set "JAVA_OPTS=%JAVA_OPTS% -Xms512M -Xmx2048M -XX:MaxPermSize=1024M"
                      
                      
                      

                       

                       

                      Even after making above changes if you see [OutOfMemoryError: PermGen space] then try generating the "jmap" report  as following which will generate "permstat.out" which need to be investigated in order to know what all classes are consuming that much PermGenSpace :

                       

                       

                      C:\opt\jdk1.6.0_23\bin\jmap -permstat %JBOSS_PID%  >  permstat.out
                      
                      
                      
                      • 8. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
                        gajanan khule Newbie

                        Hi Jay,

                         

                        Actually i wants to verify my jboss-deployment-structer.xml file with you.

                        Also i have question that Is Jboss7 loads all the module classes implicitly.

                         

                        <?xml version="1.0" encoding="UTF-8"?>

                        <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">

                            <ear-subdeployments-isolated>false</ear-subdeployments-isolated>

                            <deployment>

                                <dependencies>

                                    <module name="deployment.javaee.api" />

                                </dependencies>

                                <exclusions>

                                    <module name="javaee.api" />

                                </exclusions>

                            </deployment>

                            <module name="deployment.javaee.api">

                                <dependencies>

                                    <module name="javaee.api" export="true">

                                        <imports>

                                            <exclude path="org/apache/xml/security/**" />

                                        </imports>

                                    </module>

                                </dependencies>

                            </module>

                        </jboss-deployment-structure>

                        • 9. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
                          Manikandan M Newbie

                          Hi,

                           

                          Please try to following step.

                          1.  To Fix Out of memory error:

                               i. to delete the temp folder in D:\jboss-as-7.1.1.Final\standalone\tmp directory.

                          2. To Fix Class not found execption:

                               i. to verify the JAR was added in module.xml (D:\jboss-as-7.1.1.Final\modules)

                          • 10. Re: Jboss 4.2.2 to Jboss 7.1.1 Migration issue
                            gajanan khule Newbie

                            Hi,

                             

                            I made changes in appclient.conf.bat such as set "JAVA_OPTS=-Xms256M -Xmx1024M -XX:MaxPermSize=256M"

                            and removed JAVA_OPTS from environment variable and issue get solved. actually its initial heap size problem on server.

                             

                            Thanks

                            Gajanan