facebook

Can not debug into struts library in tomcat

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #222440 Reply

    jiazhiming
    Member

    OS: windows 2000 SP4
    Eclipse: 3.0.1 200409161125
    Eclipse was freshly installed for MyEclipse
    there are other external plugins installed
    there are 8 pde dirs in plugins dir
    myEclipse: 3.8.3
    jdk: 1.4.2_05
    App Server: Tomcat 4.1
    App Server jdk: 1.4.2_05

    The steps:

    Set up tomcat server and config it to launch in debug mode

    Create web project, add struts 1.2 capbility, download struts 1.2 source, attach to code.

    Open ActionServlet, add some breakpoints

    start server, Myeclipse ignores breakpoints.

    Please help.

    Thanks

    #222476 Reply

    Riyad Kalla
    Member

    For proper JSR 45 debugging you need to use a container that supports it (Tomcat 5+). Try that and see if it wokrs.

    #222516 Reply

    jkurtz_wa
    Member

    I got this when I worked through the demo, so many bugs using Linux, should not support linux unless you test it

    org.apache.jasper.JasperException: Generated method ‘reset(…)’ not implemented.
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    #222532 Reply

    Riyad Kalla
    Member

    jkurtz,
    We do test ME quite heavily on all the platforms we support; more importantly our dev team runs all 3 major platforms so it is a ‘constant’ testing not just right before release.

    org.apache.jasper.JasperException: Generated method ‘reset(…)’ not implemented.

    If you are using the Struts designer to generate Forms and Actions, I would encourage you to look at the methods that are generated for you; by default we generate them to throw these exceptions so you don’t forget to go implement them. Most likely when you ran the wizard you selected to generate the reset (and maybe the validate) methods for your ActionForm, please open the source for your ActionForm and implement those methods.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Can not debug into struts library in tomcat

You must be logged in to post in the forum log in