Christian Mack wrote:

> Jamie Wang wrote:
> >
> > Any suggestion or tips on debugging servlet code in Apache/Jserv? I was
> > able to get exceptions from the servlet code redirected to the error log
> > file. But, the exception stack trace does not have any debugging
> > information such as line number. I also compiled the sevelet class with
> > -g switch and that does not matter. Do anyone know how to tell
> > Apache/Jserv to load the debug version of the java vm?
> >
> > Thanks.
> > Jamie Wang
>
> Hi Jamie
>
> Don't compile with the optimization flag.
> Do not use the JIT if you want to debug.
>
> Tschau
> Christian

translated this means in your line about wrapper.arguments (or whatevr the
one is that allows you to specify arguments to 'java') include the option
'-Djava.compiler=NONE'

that turns off the jit it jdk1.1 and i believe 1.2




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to