tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul Kumar Singh <rahul.si...@nectechnologies.in>
Subject RE: Tomcat 7 (7.0.54) java.lang.ClassFormatError: Truncated class file
Date Tue, 21 Jul 2015 15:30:41 GMT
Dear Konstantin,


Do you have sufficient free space on your hard drive?  Maybe your disk is full.

Did it happen once only, or this is a repeating error?
-----Original Message-----
From: Konstantin Kolinko [mailto:knst.kolinko@gmail.com] 
Sent: Tuesday, July 21, 2015 3:50 PM
To: Tomcat Users List
Subject: Re: Tomcat 7 (7.0.54) java.lang.ClassFormatError: Truncated class file

2015-07-21 11:41 GMT+03:00 Rahul Kumar Singh <rahul.singh@nectechnologies.in>:
> Hello Tomcat team,
>
> Thanks for your always support !!
>
> Please do the needful on below problem.
>
> Web Application credential:
> -------------------------------------
> Servlet used :servelet3.0
> MVC framework: Struts2.0
> Java: Open JDK 1.7
> ------------------------------------
>
> We have observe the below error in production environment. What is the cause of the issue.
>
> ======================================================================
> ==================
> 2015-07-17 09:53:50,860 <ERROR> javax.servlet.ServletException: java.lang.ClassFormatError:
Truncated class file
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:343)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterChain.java:208)
>
> ======================================================================
> ==================
>
> Use case:
> 1- Http request Start.
> 2- Struts 2.0 filter executed.
> 3- FilterChain.dofiletr(httpRequest, httpResponse) [doFilter method] : 
> error occurs here
>
>
> More log reference:
>
> ======================================================================
> =================== at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>         at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
>         at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>         at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassFormatError: Truncated class file
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>
>         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
>         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
>         at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:145)
>         at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
>         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
>         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>         ... 83 more
> ======================================================================
> =======
>
> Your Help would be highly appreciated.
>

Do you have sufficient free space on your hard drive?  Maybe your disk is full.

Did it happen once only, or this is a repeating error?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only. 
It shall not attach any liability on the originator or NEC or its
affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the
opinions of NEC or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have 
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

Mime
View raw message