facebook

JSP breakpoint does not stop for me using Resin

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 15 posts - 1 through 15 (of 34 total)
  • Author
    Posts
  • #285218 Reply

    chitian5057
    Member

    This message has not been recovered.

    #285241 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #285246 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #285266 Reply

    chitian5057
    Member

    This message has not been recovered.

    #285286 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #285301 Reply

    chitian5057
    Member

    Hi Nipun,

    Thanks for asking your development team for me.
    Yes, I’ll try to download the latest stable Resin 3.1.6 and see if that will work.

    BTW, I’d like to clarify two things.

    1. Like I mentioned previousely, MyEclipse still thinks there are errors in my JSP files (with red marks) but actually it runs fine when I start the Resin server. Would that cause a problem (breakpoint not stop)?

    2. Do I need to pre-compile all my JSP files to make the breakpoint work?

    Thanks again,

    -Tian

    #285302 Reply

    chitian5057
    Member

    Hi Nipun,

    Thanks for asking your development team for me.
    Yes, I’ll try to download the latest stable Resin 3.1.6 and see if that will work.

    BTW, I’d like to clarify two things.

    1. Like I mentioned previousely, MyEclipse still thinks there are errors in my JSP files (with red marks) but actually it runs fine when I start the Resin server. Would that cause a problem (breakpoint not stop)?

    2. Do I need to pre-compile all my JSP files to make the breakpoint work?

    Thanks again,

    -Tian

    #285376 Reply

    chitian5057
    Member

    Hi Nipun,

    I tried to use Resin 3.1.6. It took me a whle day to install, compile and do the configuration, but couldn’t make it work at all :(.

    Like i said, the configuration for this huge application is not that easy. Besides, the 3.1.6 resin.conf file has changed a lot since 3.0.22. There are always exceptions when i tried to start it.

    BTW, we are using Resin 3.0.22 on production. It’s better I also use 3.0.22 in my development environment.

    Did you get any chance to ask your development team to see if the JSP debug in MyEclipse works for Resin 3.0,22?

    You are my only hope now. If not, I will give up and go back the old way :(.

    thansk a lot,

    -Tian

    #285414 Reply

    Loyal Water
    Member

    Im researching the issue now, and trying to determine if it occurs with a default resin install or if there is possibly a configuration issue at your end (like compiling JSPs without debug information) that might be causing the issue. I’ll get back to you within an hour from now.

    #285415 Reply

    chitian5057
    Member

    I really really appreciate it, Nipun.

    -Tian

    #285417 Reply

    Loyal Water
    Member

    Tian,
    I just tried debugging a JSP page against Resin 3.0.25 and I got it to stop at break points. Im really not sure why your facing this issue. Maybe you can switch to a new workspace, create a new project and try debugging it against Resin. Do you still face the same issue?

    Also, you can double-check the resin.conf file and see if there is some setting to make sure JSPs are compiled with debugging information in them (you can double-check that with the Resin docs).

    #285424 Reply

    chitian5057
    Member

    Hi Nipun,

    Great to know it’s working in Resin 3.0.25. Is is possible you post your resin.conf here or send it to me? I’d like to check if there’s any difference between yours and mine.

    thanks again,

    -Tian

    #285428 Reply

    chitian5057
    Member

    Hi Nipun,

    I just tried 3.0.25. It does work fine with my applications,
    but the breakpoints in JSP still don’t stop.

    Apparently I’m missing something here. All I can think of are the following differences.

    1. resin.conf is different. Would you mind posting your resin.conf here (or send it to me)?

    2. Like I said previously, MyEclipse says there are still errors (undefined variables) in my JSP files. There are red marks next to the scroll bar. But actually these variables are all defined in some included files. When I run the application, they can run correctly without any problems. Would these red marks cause it not to stop?

    3. Do I need to pre-compile all my JSP files to make it stop at the breakpoints?
    I didn’t do that and wonder if that matters.

    thanks,

    -Tian

    #285432 Reply

    chitian5057
    Member

    Hi Nipun,

    Sorry to bother you again.
    Is it possible you give me the steps about how you create/configure/compile/run your Resin project on MyEclipse so i can see what I did wrong on mine?

    Even better if you can send me your resin.conf and jsp file, so i can try exactly the same thing you did. That way i can compare what’s different between your approach and mine.
    My email address is chitian5057@gmail,com.

    I’m very sorry to waste you so much time. It just seem so close now and I hope I can really fix this problem.

    thanks again,

    -Tian

    #285461 Reply

    Loyal Water
    Member

    Tian,
    This is what I did:-
    1. Go to MyEclipse > Examples on Demand > SimpleJSPExample and Install the project.

    2. Grab the Resin 3.0.25 from the following site:-
    http://www.caucho.com/download/

    3. Set up the Resin 3.x connector. Make sure your pointing the connector to a JDK.

    4. Add a break point to the index.jsp page in your SimpleJSPExample project.

    5. Right click on the SimpleJSPExample project and go to Debug As > MyEclipse Server Application > Resin 3.x.

    HTH

Viewing 15 posts - 1 through 15 (of 34 total)
Reply To: JSP breakpoint does not stop for me using Resin

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