dev@glassfish.java.net

Re: JSP debugging issues with V2 b33

From: Kin-man Chung <Kin-Man.Chung_at_Sun.COM>
Date: Mon, 29 Jan 2007 18:37:20 -0800

This is indeed a bug with Jasper, introduced when I put in
support for Jsr199 last year (August). Looks like nobody has been
debugging JSP?

The fix is trivial, and I'll commit one tomorrow. Thanks Vince,
for reporting. :-)

-Kin-man

On Mon, 2007-01-29 at 18:08, Ludovic Champenois wrote:
> Vince Kraemer wrote:
>
>
> Does it still work with nb5.5.1 daily and GlassFish V1? Just want to
> make sure this is a GF V2 issue...
>
> Ludo
> > Kin-man Chung wrote:
> >> On Mon, 2007-01-29 at 17:01, Vince Kraemer wrote:
> >>
> >>> Kin-man Chung wrote:
> >>>
> >>>> Are you using JDK6?
> >>> no.. I am using 5_10
> >>>
> >>
> >> Hmm.. Then it should have worked.
> > I agree.
> >> To debug JSP pages,
> >> javac compilations should be invoked with a "-g" (which you
> >> did with "classdebuginfo" property), and SMAP info should be
> >> generated with the bytecodes (controlled by "suppressSmap",
> >> defaulted to false).
> >>
> >> How did the JSP page got compiled?
> > When i access the index.jsp from the browser.
> >> By netbeans, precompiled
> >> when deployed, or dynamically? Can you make sure that it is
> >> done dynamically?
> >>
> > it is being done dynamically.
> >>
> >>>> If you are, try setting the following properties in
> >>>> <jsp-config>
> >>>>
> >>>> keepgenerated: true
> >>>> saveByteCode: true
> >>>>
> >>>> I have asked Netbeans to set them as defaults in JDK 6.
> >>>>
> >>> Where did you make this request?
> >>>
> >>
> >> Petr Pisi was in Santa Clara last week. We talked about
> >> NetBeans support for JSP, including running with JDK 6.
> >>
> >> -Kin-man
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>