K
kai
Hey guys, I got something strange going on here.
I am working in a cross platform enviroment. 2 identical servers.
One Windows, One Unix.
We test on the Windows box, and then upload to the Unix box. Both
have identical files.
Starting yesterday, whenever I upload a file to the Linux box, I get a
500 error (see below). The JSPs work fine on the Windows box, but
break on the Unix box. I tried uploading a simple "Hello World" JSP
to the Unix box, and the JSP failed with the same error as before.
The strange thing is, I can take a JSP that is working fine on the
Unix box, download it, and re-upload it, and it fails. Same exact
JSP. No changes.
Any help or suggestions are greatly appreciated. Thanks!!!
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:
97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java(Inlined
Compiled Code))
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java(Compiled
Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java(Compiled
Code))
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.service(JspServlet.java(Compiled
Code))
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
root cause
Compile failed; see the compiler error output for details.
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java(Compiled
Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java(Compiled
Code))
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.service(JspServlet.java(Compiled
Code))
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
I am working in a cross platform enviroment. 2 identical servers.
One Windows, One Unix.
We test on the Windows box, and then upload to the Unix box. Both
have identical files.
Starting yesterday, whenever I upload a file to the Linux box, I get a
500 error (see below). The JSPs work fine on the Windows box, but
break on the Unix box. I tried uploading a simple "Hello World" JSP
to the Unix box, and the JSP failed with the same error as before.
The strange thing is, I can take a JSP that is working fine on the
Unix box, download it, and re-upload it, and it fails. Same exact
JSP. No changes.
Any help or suggestions are greatly appreciated. Thanks!!!
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:
97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java(Inlined
Compiled Code))
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java(Compiled
Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java(Compiled
Code))
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.service(JspServlet.java(Compiled
Code))
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))
root cause
Compile failed; see the compiler error output for details.
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java(Compiled
Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.compiler.Compiler.compile(Compiler.java(Inlined
Compiled Code))
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java(Compiled
Code))
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled
Code))
org.apache.jasper.servlet.JspServlet.service(JspServlet.java(Compiled
Code))
javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled
Code))