tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Why am i getting this exception often?
Date Thu, 10 Oct 2013 16:56:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Muralidhar,

On 10/10/13 12:40 PM, Muralidhar Yaragalla wrote:
> No help on this?

No further details?

For instance, what does the directory look like where the file is
being (attempted to be) renamed? How about permissions?

You can't just post a stack trace and ask "how can I prevent this"?

- -chris

> 
> *Thanks And Regards,* Muralidhar Yaragalla.* (Visit My Blog
> <http://yaragalla.blogspot.in>) *
> 
> 
> On Wed, Oct 9, 2013 at 10:22 PM, Muralidhar Yaragalla < 
> java.yaragalla@gmail.com> wrote:
> 
>> I am getting this exception very often even when i am using
>> tomcat without eclipse. Is there a way to avoid this?
>> 
>> *Thanks And Regards,* Muralidhar Yaragalla.* (Visit My Blog
>> <http://yaragalla.blogspot.in>) *
>> 
>> 
>> On Wed, Oct 9, 2013 at 7:00 PM, Muralidhar Yaragalla < 
>> java.yaragalla@gmail.com> wrote:
>> 
>>> Hi i am using tomcat-7 with eclipse kepler. I am getting the
>>> following exception very often. Is there a way to prevent
>>> this?
>>> 
>>> Exception:org.apache.jasper.JasperException: Unable to compile
>>> class for JSP Stack trace:
>>> 
>>> org.apache.jasper.JasperException: Unable to compile class for
>>> JSP at
>>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:661)
>>>
>>> 
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
>>> at
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>>>
>>> 
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>>> at
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>
>>> 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>>>
>>> 
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>>> at
>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
>>>
>>> 
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>>> at
>>> org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
>>>
>>> 
at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)
>>> at
>>> org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>> at
>>> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
>>> at
>>> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:249)
>>> at
>>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>> at
>>> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:249)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
>>> at
>>> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>>
>>> 
at
com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
>>> at
>>> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>> at
>>> com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>> at
>>> org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>> at
>>> com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>> at
>>> com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
>>>
>>> 
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
>>> at
>>> org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
>>>
>>> 
at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:546)
>>> at
>>> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
>>>
>>> 
at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>
>>> 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at com.ymd.ums.LoginFilter.doFilter(LoginFilter.java:36) at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>
>>> 
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>
>>> 
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>
>>> 
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>
>>> 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>
>>> 
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>> at
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>
>>> 
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>> at
>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
>>>
>>> 
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>> Source) at java.lang.Thread.run(Unknown Source) Caused by:
>>> java.io.IOException: tmpFile.renameTo(classFile) failed at
>>> org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:204)
>>>
>>> 
at org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:163)
>>> at
>>> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:483)
>>>
>>> 
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
>>> at
>>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) 
>>> at
>>> org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) 
>>> at
>>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
>>>
>>>
>>>
>>> 
*Thanks And Regards,*
>>> Muralidhar Yaragalla.* (Visit My Blog
>>> <http://yaragalla.blogspot.in>) *
>>> 
>> 
>> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSVtwpAAoJEBzwKT+lPKRYmR8P/3W/Pb7WaymeKmthYbj2ig2e
ezqohBnK2Kj4Ji6LNz3vWxsy4ZCDpZM5yWwPFliQWQa4N661ZAcqi7rMFqi1adQS
yVKc9sXxmgRnaIUFsZf/dK858oK+Qe2QAbafoVrB9odrCtQ01bOTFPKomlAbUY7O
TxGwRe0vyq/u+Tax+BQaixFVlsbzkk9ErcIBHNzuIHWRqOCAigoW3RRFUJSefmY+
8HO2RLsc0qX1ghFya0sHkK0lj36mymGr8L05Al3YdruR95CgClEDT29K4rG/CWcw
NHW01bjMB4dolrnCSK9lxkbXqeolTN82ANq/zTY9CeX521Km60YmKkJpFVyiLRA2
SOX2M5XxkdgD990xgFHpPOS0PsbkdpAqMMgxjzDS410XS2w9yVvR0TPqh+z/HJpp
Kai9DTREtvL7ILJujrF1axECyj/7d5eofivMPelx8tJVqFBxEFXCkX2xI5pnFNOJ
Fh1j3SkDkxRw7Jio1D2ElhFqUMxTbCDpjXtF8/Iirel/W9oGNy5L5AyXFX0xv9UI
V6xZucaY3UWGWmow9109YJhbu/mjR4gCRkOkF9DHXx0ewMykxVfF/WRraGiZZO2O
fISU+yevVJrp9yqvPoUDkTE7QVSygZXZYVDYEnZ7359c9GgJWT9EbIGW2TskkSws
4/eAnQHsr8Kwu3+q8B7k
=uvOh
-----END PGP SIGNATURE-----

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


Mime
View raw message