- This topic has 33 replies, 4 voices, and was last updated 16 years, 9 months ago by
Loyal Water.
-
AuthorPosts
-
chitian5057MemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
chitian5057MemberThis message has not been recovered.
Loyal WaterMemberThis message has not been recovered.
chitian5057MemberHi 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
chitian5057MemberHi 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
chitian5057MemberHi 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
Loyal WaterMemberIm 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.
chitian5057MemberI really really appreciate it, Nipun.
-Tian
Loyal WaterMemberTian,
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).
chitian5057MemberHi 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
chitian5057MemberHi 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
chitian5057MemberHi 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
Loyal WaterMemberTian,
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
-
AuthorPosts