This email contained a .zip file attachment. Raytheon does not allow email 
attachments that are considered likely to contain malicious code. For your 
protection this attachment has been removed.

If this email is from an unknown source, please simply delete this email.

If this email was expected, and it is from a known sender, you may follow the 
below suggested instructions to obtain these types of attachments.

+ Instruct the sender to enclose the file(s) in a ".zip" compressed file, and 
rename the ".zip" compressed file with a different extension, such as, 
".rtnzip".  Password protecting the renamed ".zip" compressed file adds an 
additional layer of protection. When you receive the file, please rename it 
with the extension ".zip".

Additional instructions and options on how to receive these attachments can be 
found at:

http://security.it.ray.com/antivirus/extensions.html
http://security.it.ray.com/news/2007/zipfiles.html

Should you have any questions or difficulty with these instructions, please 
contact the Help Desk at 877.844.4712

---

Strange thing. This is a fresh install of a 6.0.26 and I had created
the example from scratch.
But I did as you suggested and cleaned my work folder and now it compiles!?

The names I used where slightly different but I reverted to mine to
check it back.
I attached the files and every one with /subdir/*_nested* gave me a
compile error that it is now fixed.

However my real projects still have the error.

For example when I access
http://sites_empresa.lardocelar.com:8080/contactos/

I get (from the first include in the index.jsp file)

org.apache.jasper.JasperException: /index.jsp(1,2) File
"/includes/site_parameters.jsp" not found
        
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
        
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
        
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
        
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:297)
        org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:330)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:438)
        org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1745)
        org.apache.jasper.compiler.Parser.parse(Parser.java:127)
        
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
        
org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:120)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:180)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

If I force the refresh I get

org.apache.jasper.JasperException: org.apache.jasper.JasperException:
Unable to load class for JSP
        
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause

org.apache.jasper.JasperException: Unable to load class for JSP
        
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:623)
        
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
        java.net.URLClassLoader$1.run(Unknown Source)
        java.security.AccessController.doPrivileged(Native Method)
        java.net.URLClassLoader.findClass(Unknown Source)
        org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
        org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
        
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:621)
        
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Then if i try the missing file
http://sites_empresa.lardocelar.com:8080/includes/site_parameters.jsp

I get (from the first include in the file)

org.apache.jasper.JasperException: /site_parameters.jsp(6,1) File
"/includes/application_logger.jsp" not found
        
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
        
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
        
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
        
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:297)
        org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:330)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:438)
        org.apache.jasper.compiler.Parser.parseFileDirectives(Parser.java:1745)
        org.apache.jasper.compiler.Parser.parse(Parser.java:127)
        
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
        
org.apache.jasper.compiler.ParserController.parseDirectives(ParserController.java:120)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:180)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:347)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


But going to the last missing file
http://sites_empresa.lardocelar.com:8080/includes/application_logger.jsp

All is OK and it compiles without problem.
And this happens with all my files that are not in the root of the project.

I have files with the same exactly includes that are located in the
root and those compile just fine.

Any thoughts?


On Thu, Apr 29, 2010 at 4:19 PM, Konstantin Kolinko
<knst.koli...@gmail.com> wrote:
> 2010/4/29 Nuno Faria <nuno.m.fa...@gmail.com>:
>> I recently migrated SO from XP + Tomcat 5.5 to Windows 7 64-bit + Tomcat 
>> 6.0.26
>> around my webapps got a compile error only in certain JSPs.
>>
>
> There were bugs with includes about 6 month ago, like BZ 47318 [1],
> but all those should already be fixed in 6.0.24 and 6.0.26.  I tried
> your example and it works for me in 6.0.26.
>
> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=47318
>
> Make sure, that it is 6.0.26 that you are using, and remove all files
> from /work folder that might be there from previous versions.
>
> If the error is still reproducible, please open a bug and attach a
> simple war file that would reproduce the problem.
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

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

Reply via email to