• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting HTTP:500 error when accessing .jsp page

 
Shimei Sankati
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I run the code on my local machine and it works perfect. I got it deployed and now I am getting HTTP:500 error when try to access search.jsp page. I am totally new to IT, especially to JAVA and JSP. Would you guys please please help me ASAP. Need your guidance. I can paste my JSP page code here if wanted. Other than that I dont know what approach to take. Any help is much much appreciated.

Please help.

Regards.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34218
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
500 just means something went wrong. First check the logs to see if you see anything. If that doesn't help, replace your JSP content with "hello." This will tell you if the error is in your JSP (if hello loads) or configuration if you still have a 500 error.
 
Shimei Sankati
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeanne,

Thanks for you prompt reply. Really appreciate it.
Yes, I am trying to do the same to check for the log messages. I just added the <init param> debug part to "true" in my web.xml page and trying to deploy the war file again...I will check that in a while and post.
However, I am very sure that the HTTP:500 is because of something wrong in my jsp code because when I deploy the old war file with the OLD search.jsp, it loads just fine.
Therefore, since I am very new to this and I am working on a code already developed by someone else....I am unable to figure out the exact cause for this issue and just to make things worse, I need to get this thing up and running ASAP....
As said the code work perfect when run from my local machine though...

Please advice....

Thanks in advance!!!
 
Shimei Sankati
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

Thanks for that information. Did not know that rule about the website. Will certainly keep that in mind.

Hi Jeanne - Would you please help me with steps to check the logs. I mean what do I need to do to get the entire exception message in IE.

Please advice.

Thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34218
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shimei Sankati wrote:Hi Jeanne - Would you please help me with steps to check the logs. I mean what do I need to do to get the entire exception message in IE.

You don't. The server logs aren't available through the browser. The location of the logs depends on the server you are using (Tomcat, JBoss, etc.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic