This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Getting HTTP Status - 500 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Getting HTTP Status - 500" Watch "Getting HTTP Status - 500" New topic

Getting HTTP Status - 500

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hello All,
I'm using Tomcat 6.0 ,J2EE 1.4 and Struts 1.2.7. I installed struts, had set the classpaths accordingly and started Tomcat to test the Struts. I copied struts-blank.war into WebApps in Tomcat installation and in brower gave
after starting the Tomcat server.

I got an exception with HTTP Status Code : 500, indicating some Unexpected server error. I have copied the log below :

Jul 12, 2007 8:55:07 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZLjava/lang/String;ZZLjava/lang/String;Ljava/lang/String V
at org.apache.jasper.servlet.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.ApplicationDispatcher.invoke(
at org.apache.catalina.core.ApplicationDispatcher.processRequest(
at org.apache.catalina.core.ApplicationDispatcher.doForward(
at org.apache.catalina.core.ApplicationDispatcher.forward(
at org.apache.struts.action.RequestProcessor.doForward(
at org.apache.struts.tiles.TilesRequestProcessor.doForward(
at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(
at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(
at org.apache.struts.action.RequestProcessor.processForward(
at org.apache.struts.action.RequestProcessor.process(
at org.apache.struts.action.ActionServlet.process(
at org.apache.struts.action.ActionServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

I didn't understand anything from this log, except that service() method failed.

Can anyone let me know, what blunder I'm doing here?

Thanks in advance.
Zip Ped
Ranch Hand

Joined: Jul 26, 2005
Posts: 336
Did you try the url without the part?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi Kailash,

I just even tried http://localhost:8080/struts-blank/ ..but still I'm getting the same error. Any thoughts about this.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9912

Which version of Java are you using?

[My Blog] [JavaRanch Journal]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
What this message is telling you is that the Struts ActionServlet failed in performing its init() method. The most likely reasons for this are problems in parsing your struts-config.xml file, or bad information in your web.xml file. There should be more specific information on what went wrong in Tomcat's System Out log.

Consultant, Sima Solutions
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi All,
It was a quite some time I logged into this site. Things are working fine now. Thanks to you all for giving me valuable information.
Bala Gowda

Joined: Aug 06, 2007
Posts: 1
How did you solved the problem. I am getting similar problem. I am using apache-tomcat-6.0.13, jdk 1.5.0_10 and struts 2.0.5.

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

Fresh re-installation worked fine for me
wood burning stoves
subject: Getting HTTP Status - 500
Similar Threads
Unable to translate jsp with struts-html taglib
JBoss 5.1 throwing error for missing jsp files in /WEB-INF folder
javax.servlet.jsp.JspException: Cannot create rewrite URL:
Struts JSP exception
javax.servlet.jsp.JspException in Application