tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duck-Jin Chun <dc...@7thonline.com>
Subject RE: debugging servlets
Date Wed, 04 Apr 2001 16:25:27 GMT
I also find that defining an evironment var works too.

For windows try: set JAVA_COMPILER=NONE


> -----Original Message-----
> From: Benoît Jacquemont [mailto:benoit.jacquemont@smile.fr]
> Sent: Wednesday, April 04, 2001 11:42 AM
> To: tomcat-user@jakarta.apache.org
> Subject: RE: debugging servlets
> 
> 
> You have to use the -Djava.compiler=NONE command line option 
> in your java
> command line in the tomcat.bat/tomcat.sh
> 
> Benoît
> 
> > -----Message d'origine-----
> > De : Christoph Kukulies [mailto:kuku@gilberto.physik.rwth-aachen.de]
> > Envoyé : mercredi 4 avril 2001 17:38
> > À : tomcat-user@jakarta.apache.org
> > Objet : debugging servlets
> >
> >
> > What was again the magic modification one has to make to
> > allow a more descriptive line in backtrace rather than
> > '(compiled code)'
> > when one gets for example:
> >
> > java.lang.NullPointerException
> >         at java.util.Arrays.sort(Compiled Code)
> >         at Some.doGet(Compiled Code)
> >         at Some.doPost(Compiled Code)
> >         at javax.servlet.http.HttpServlet.service(Compiled Code)
> >         at javax.servlet.http.HttpServlet.service(Compiled Code)
> >         at
> > org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
> >         at org.apac....
> >
> > --
> > Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
> 

Mime
View raw message