This week's book giveaway is in the OCP forum.
We're giving away four copies of OCP Java SE 8 Programmer II Exam Study Guide and have Kathy Sierra, Bert Bates, & Elizabeth Robson on-line!
See this thread for details.
Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

please help me  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello every one can any one tell why am i getting this particular error when i am running my tomcat server.Before in other system it is running fine,now when i installed the code in this system i am getting error.please help me....


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Cannot find bean under name compInfoOptions
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.view.component.addcomp_jsp._jspService(addcomp_jsp.java:1015)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

javax.servlet.jsp.JspException: Cannot find bean under name compInfoOptions
org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:368)
org.apache.struts.taglib.html.OptionsTag.doEndTag(OptionsTag.java:188)
org.apache.jsp.view.component.addcomp_jsp._jspx_meth_html_options_0(addcomp_jsp.java:1247)
org.apache.jsp.view.component.addcomp_jsp._jspx_meth_html_select_0(addcomp_jsp.java:1218)
org.apache.jsp.view.component.addcomp_jsp._jspService(addcomp_jsp.java:450)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.28
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PLease provide subjects that are more precise... "please help me" is one of the worst versions...

Originally posted by Bhargav Srinivasa:
hello every one can any one tell why am i getting this particular error when i am running my tomcat server.Before in other system it is running fine,now when i installed the code in this system i am getting error.please help me....

...snipped

org.apache.struts.taglib.html.OptionsTag.getIterator(OptionsTag.java:368)

...snipped

Apache Tomcat/5.0.28



Might be you posted this to the wrong forum... This is JSF related and NOT Struts... Then again: what might have changed from the other machine to the actual one? This seems to be a simple classloading issue...


hth
Alexander
 
Saloon Keeper
Posts: 19269
85
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually this is a problem finding an instance of a JavaBean. I've seen something like it (in Struts) when moving from Tomcat4 to Tomcat5, apparently due to some changes in the way JavaBeans are created with jsp:useBean. Or something like that. It's been a while.

Anyway, I'm moving this to the Struts forum.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your ActionForm bean use overloaded methods? I know that there is a known issue with Struts being able to handle overloaded methods using earlier versions of the JDK (earlier than 1.4) and not being able to handle them with later versions (1.4 and above).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!