You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/12/29 18:22:07 UTC

DO NOT REPLY [Bug 41261] New: - org.apache.jasper.JasperException: File not found

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41261

           Summary: org.apache.jasper.JasperException: File not found
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: reachmuthukumar@gmail.com
                CC: markt@apache.org
 BugsThisDependsOn: 39817


After upgrading the version of tomcat from 5.0 to 5.5.17 and java 1.4 to java 
1.5,most of the request in my webapp results like the following

org.apache.jasper.JasperException: /resource.jsp(4,0) File "/jsps/Header.jsp" 
not found
	org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:510)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:375)
	org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

org.apache.jasper.JasperException: /resource.jsp(4,0) File "/jsps/Header.jsp" 
not found
	org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:39)


after the version change the above errors are output.After debugging found the 
root cause is related to the context root in which the application  is 
running..my appln structure is as below



web
 |
 ---jsps
     |
     |-----adminuser
     |           |
     |           ----admin.jsp
     |
     |
     |--header.jsp
     |--resource.sjp


the context root in which my appln run is web.The header.jsp is included in 
all jsp's using <%@include file="/jsps/header.jsp" %> 
from resource.jsp iam able to request the adminuser/admin.jsp.When the request 
is made from the admin.jsp to call resource.jsp using a hypherlink
(<html:link href="./jsps/resource.jsp"> HomeA</html:link>)

it results the above error.i have searched in the web..i can't get the exact 
resolution to fix this issue.Can anyone of you help me to fix it.
But the above said application is running fine in tomcat 5.0.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 41261] - org.apache.jasper.JasperException: File not found

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41261


reachmuthukumar@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


DO NOT REPLY [Bug 41261] - org.apache.jasper.JasperException: File not found

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41261


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|markt@apache.org            |
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2006-12-29 21:00 -------
A couple of points.

First, it is rude to add people who have not asked to be added to the cc list of
a bug report. Please do not do this in future.

Second Bugzilla is not a support forum - you should use the users list.

Finally, this looks like a appBase / docBase configuration issue. appBase should
never equal docBase. Please ask on the users list if you require more help.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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