Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

404 Not Found  RSS feed

 
Fer Atas
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
guys, can anyone help me?
im having this kind of error:

404 Not Found
OracleJSP: java.io.FileNotFoundException:
Set the init-param debug_mode to "true" to see the complete exception message.


what should i do to solve this?
Thanks in advancve...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you tell us a little more about what it is you're trying to do?

Are you forwarding, redirecting, or trying to hit a JSP directly?
What is the location of the file you are trying to hit, from within your app?
Are you trying to hit a JSP, or a Servlet?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After reading your other thread...
http://www.coderanch.com/t/286615/JSP/java/Internal-Server-Error

I'm now guessing that your 404 error is being caused by the CNF exception being thrown due to your app not being able to find a particular xerces class.

It might be that the app is trying to forward to a custom error page that is improperly mapped.
 
Fer Atas
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir Ben, im sori for the repost... i mistakenly posted it again... my apologies... anyway, im trying to create a JSP documentation. I then tried to hit a jsp file directly but it gave me the error i posted yesterday...

404 Not Found
OracleJSP: java.io.FileNotFoundException:
Set the init-param debug_mode to "true" to see the complete exception message


In what way will i be able to solve this?
Thanks for the help... GOD BLESS...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried setting the init-param to true to see the error message?


You may also want to look at your logs.

Also, your other post mentiones a ClassNotFoundException while trying to load a Xerces class. Have you got that straightend out?

Often the 404 error shows up because of improperly mapped custom error page.
You don't know the error page isn't mapped properly until something else blows up.
 
Fer Atas
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Honestly sir, i don't know where should i set the "init-param" to true to see the error message... im very new to this that's why im really having a hard time...

In the case of the error "ClassNotFoundException", i think i got that straightend out because the program's directory display is now runnable and it already displays all the JSP's present in my current project. the problem is, every time i try to click the directory list to display the individual JSP doc, the 404 error shows up...

Can you help me by giving me some more tips?...
I'll be very greatful and honored if you will still be willing to help...
More power and God Bless...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A 404 error means the file you're looking for was not found.

What is the name of the JSP you're trying to view?
What is the URL you are using to access it?
 
Fer Atas
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir, the name of the file is jspskelton.jsp

the URL looks like this:
http:\\172.17.0.35:8995/documentjsp.jsp?name=jspskelton
this line also appears on the status bar while the mouse pointer lies on top of the directory name..
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fer,
I don't think you're getting enough debugging information for strangers on a forum to help you with this.

There are tips in the error messages you showed us for increasing the debugging. "Set the init-param debug_mode to "true" to see the complete exception message". If you don't know how to follow them, go through your server's documentation and learn it. If you're way over your head with this and it's important, then you may want to consider getting a consultant in to help out while you ramp up. Otherwise, step back, get a book and start learning it from the beginning.

The first thing you want to find out is: what page is it not finding, and where is it looking for it. Increased debugging levels will probably tell you this. You should also be familiar with where your app server writes it's logs, There could be very specific messages in them that will help you.

Good-Luck
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!