Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WAS 3.5 Http 404 File Not Found

Status
Not open for further replies.

samgurram

Programmer
Dec 8, 2001
10
JP
I am getting Http 404 File Not Found. I have this problems only I am trying to access the pages that invoke servlets. Normal HTML pages are appearing fine. My servlet engine is running fine and I verified the class path also. Every thing appears perfect.But then I have the above problem.
Could any one suggest me the solution. I am new to Websphere and help/suggestions in this direction are grately appreciated.

Kumar
 
Hai,

Http 404 is definitely a path problem. Have you registered your servlets correctly ? or Are you using Auto invoking (Serve servlets by class name)

Recheck the classpath.

 
Dear Sharavanan,
The path is set correct. I am using Auto Invoking
Still I am having the same problem

Kumar
 
I encountered this problem and found it was a security issue. The servlets need to be told that they are available for everyone or else they will be hidden (and hence the 404).

I also had a problem when I enabled SSL. If you are using SSL then you need to make sure that you have created a correct public key so that visitors can read your servlets. This was a big issue for me as I couldn't even run /servlet/snoop when I had SSL turned on. So double check that.

But you need to be very aware of the security settings in WebSphere. Even if you don't set anything specifically, WebSphere will set "default" security for you which may be giving you the 404s.

I hope this helps. Einstein47
(Love is like PI - natural, irrational, endless, and very important.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top