× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Debugging Servlets
  • From: "David Morris" <dmorris@xxxxxxxxxxxxx>
  • Date: Thu, 03 May 2001 16:21:17 -0600

Group,

I have been working with some large Jar files trying to work out some bugs.  My 
debug 
process is to add logging statements where necessary and then republish the 
results.  
This code is only having a problem running on my iSeries and not on any other 
platform 
that I have deployed it to.  I am using the Enterprise version of VA/Java and 
its debugger 
works great when running on my PC. I tried the distributed debugger and can't 
seem to 
get it to work against my deployed Jar files.  I compile and deploy with 
debugging enabled.  

I am using Tomcat so it is not too much bother to run this interactively.  I 
have not figured out 
how to debug code in a Jar file and removing a single class causes a problem 
with 
Tomcat's class loader (it always picks up the Jar version). 

I have a couple of ideas.  First deploy as java files and then compile on the 
AS/400 and 
run javac -g.  I am not sure how I start debugging unless I use runjva against 
tomcat start.  
Is there a way to pick up a class other than the initial class?  Also how would 
I compile 
my 400 classes with javac (I suspect a simple qshell script, but an example 
would help).  

The next idea is to figure out the distributed debugger, which I think is 
hindered by the same 
problems I am seeing with the interactive debugger.

I appreciate any input or ideas.

David Morris



+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.