Look in bin\tomcat.bat for the list of .jar files that must be in your 
classpath.  Add those to the JDE global classpath, then change the JDE run 
application class to invoke org.apache.tomcat.startup.Tomcat.  Finally, use 
the jde db options properties customization setting to add a tomcat.home 
property that points to your tomcat home.

You should now be able to invoke tomcat.  If you want to be able to trace 
into tomcat itself you'll need to get the source path set up as well, but 
that's not strictly necessary when debugging a servlet.

Steve

At 02:30 PM 5/15/00 -0400, you wrote:
>How do you invoke it from JDE?
>----- Original Message -----
>From: "Steve Peterson" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, May 15, 2000 2:18 PM
>Subject: Re: servlet debugging?
>
>
> > I've been using Tomcat and just invoke it via JDE and set breakpoints in
>my
> > servlet.  The only improvement I'd be interested in is class reloading and
> > it's something that the Tomcat folks are working on.
> >
> > S
> >
> > At 11:28 AM 5/15/00 -0400, [EMAIL PROTECTED] wrote:
> >
> >
> > > >>Is there any plan to support servlet debugging?
> > >
> > >It already does. You start the server with the appropriate switches to
>put
> > >it into debug mode. Then use JDE to attach to the server. Set your
> > >breakpoints and away you go.
> > >
> > >What servlet server are you using? I am using Weblogic and can provide
>the
> > >Weblogic settings if needed.
> > >
> > >Erik Husby
> >
> >
> > --
> > Steve Peterson                               +1 952 948 9729
> > Principal Consultant                     FAX +1 612 677 3050
> > Virtation Technologies, Inc.            http://virtation.com
> >


--
Steve Peterson                               +1 952 948 9729
Principal Consultant                     FAX +1 612 677 3050
Virtation Technologies, Inc.            http://virtation.com

Reply via email to