• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Not Found configuration problem

 
steve axelrod
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recently switched from a working tomcat 5 hosted environment to a
windows 2008 64bit tomcat 7 hosted environment

http://196.40.84.83/jsp/about.jsp does not load the include file within it click the link and you get an error

http://196.40.84.83/jsp/loadsessiondata.jsp the file /jsp/loadsessiondata.jsp NOT FOUND error
as you can see from the second link you can access the file directly.

for some reason the include file in the about.jsp
<%@ include file="/jsp/loadsessiondata.jsp" %>

is not getting found by tomcat 7.

this was all working for years under tomcat 5

I tried to build the configuration as the documentation states, but I am obviously missing something

If I remove the "/jsp/" from the include line it finds the file.

I do NOT have a root.xml under conf/catalina/davincitrade

thoughts? Ideas?
Thanks.
 
steve axelrod
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
steve axelrod wrote:Recently switched from a working tomcat 5 hosted environment to a
windows 2008 64bit tomcat 7 hosted environment

http://196.40.84.83/jsp/about.jsp does not load the include file within it click the link and you get an error

http://196.40.84.83/jsp/loadsessiondata.jsp the file /jsp/loadsessiondata.jsp NOT FOUND error
as you can see from the second link you can access the file directly.

for some reason the include file in the about.jsp
<%@ include file="/jsp/loadsessiondata.jsp" %>

is not getting found by tomcat 7.

this was all working for years under tomcat 5

I tried to build the configuration as the documentation states, but I am obviously missing something

If I remove the "/jsp/" from the include line it finds the file.

thoughts? Ideas?
Thanks.

Today: I really need help on this.
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PatienceIsAVirtue.
 
steve axelrod
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agreed, however, I have been battling this for four days. It is very frustrating

Here is the actual line from Jasper

org.apache.jasper.JasperException: /about.jsp (line: 1, column: 2) File "/jsp/loadsessiondata.jsp" not found

the about .jsp is in /jsp/about.jsp as well as the loadsessiondata.jsp

www.somesite.com/jsp/about.jsp

 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens if you include the file relatively to the current one:
 
steve axelrod
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that makes it work, the problem is there are 100's of pages not only in this directory but others as well and it worked great under tomcat 5
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic