Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

please help me

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 24884
174
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic