Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 71256 invoked from network); 21 May 2000 21:57:57 -0000 Received: from ha1.rdc1.sfba.home.com (HELO mail.rdc1.sfba.home.com) (imail@24.0.0.66) by locus.apache.org with SMTP; 21 May 2000 21:57:57 -0000 Received: from c399580a ([24.15.91.121]) by mail.rdc1.sfba.home.com (InterMail v4.01.01.00 201-229-111) with SMTP id <20000521215757.LOMM22234.mail.rdc1.sfba.home.com@c399580a>; Sun, 21 May 2000 14:57:57 -0700 Message-ID: <000a01bfc36f$403d2b40$0201a8c0@c399580a> Reply-To: "Tom Goodman" From: "Tom Goodman" To: Cc: References: <001101bfc173$f9772c80$7c3173d2@118.cc.kangwon.ac.kr> Subject: Can't debug JSP in VisualAge Date: Sun, 21 May 2000 14:55:17 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I have no problem debugging servlets and even normal external class files (using the "external .class breakpoints" menu item in the debugger), but when I try JSP (as suggested in the links below) I get "Source not available" in the debug window. The debugger lets me define the points without a hitch (by selecting the line or the method name), so at some level it knows what munged .java file goes with the .class files (in the "work" directory), but when it actually hits the breakpoint, it seems to have forgotten. After defining the breakpoint, If I click on the "breakpoints" tab in the debugger and select the external .class, it shows me the source code with the note "source for external class file" above it, so that's nice, but when looking at a live thread's breakpoint in the "debug" tab, I get the "source not available" message, so I can't step through the live code. I've experienced the exact same problem on BOTH the linux and windows versions!!! Setting the source-path in the window options settings doesn't seem to help too much. When I set it to point to the location of the .class and .java files, it will then display the correct file when I hit the breakpoint, but it won't highlight the line I'm on or show me the correct local variables, etc. I've followed all the instructions in http://sheldonwosnick.tripod.com/Tomcat/Tomcat31Release.html and http://www7.software.ibm.com/vad.nsf/data/document2389?OpenDocument&p=1&BCT= 1&Footer=1 I have the 3.1 tomcat and 3.0 eval version of VisualAge all downloaded recently. ANY help would be very much appreciated. I'm at a dead-end and I REALLLY want this to work! Thank you very much tom ----- Original Message ----- From: ������ To: Sent: Friday, May 19, 2000 2:24 AM Subject: Re: how to debug a servlet (jsp) with VisualAge > > -----���� �޽���----- > ���� ���: Angel Cabello > �޴� ���: tomcat-user@jakarta.apache.org > ��¥: 2000�� 5�� 18�� ����� ���� 6:09 > ����: Re: how to debug a servlet (jsp) with VisualAge > > > >Hello: > > > >I am very interested in use that way of debugging jsp and servlets, but I can't > >start the server from VA. > >I think I have follow all the instructions that show how to do it in > >http://www7.software.ibm.com/vad.nsf/data/document2389?OpenDocument&p=1&BCT =1&Footer=1 > > > >but when I try to run Tomcat I only get this in the output window : > > > >Tomcat Web Server Version 3.1 > >Loaded configuration from: file:/home/angel/ide/project_resources/Tomcat > >3/conf/server.xml > > > >but the server never starts, I point mu browser to localhost:8080 but I don't > >receive response. > >If I start the server from the scripts it runs fine. > > > >Where am I doing wrong? > > > >Where can I get more information integrating VA and Tomcat? > > > >Thanks > > > >Johannes_Lorenz@mn.man.de wrote: > > > >> Hello, > >> > >> i use the free version of visual age for java from ibm. Within the ide i > >> integrated tomcat. Therefore i can run, test, debug and develop my servlet/jsp > >> applications. You are able to set breakpoints, to execute, then the debugger > >> window pops up and you can proceed in your source step by step. Therefore > >> round-trip- development is possible. It should also be possible with Iona's > >> Jbuilder but i haven't tested it. > >> > >> I run it with tomcat 3.1, VAJ 3.0 for linux on suse linux 6.2. > >> > >> Yours Johannes > > > > > >-------------------------------------------------------------------------- > >To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org > >For additional commmands, email: tomcat-user-help@jakarta.apache.org > > > > > > That article so old > Now tomcat use "org.apache.tomcat.startup.Tomcat" class for starup and stop > > if you are going to startup tomcat, no arguments needed > but if you are going to stop tomcat, "-stop" argument needed > > and -Dtomcat.home=tomcat_home_dir > property needed of all > > thanks >