× 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.



Hi 
to debug tomcat, you will have to start tomcat using
jpda option, like on windows i issue command
catalina jpda start
then i debug applications running on tomcat,
i am not sure how we can do this on AS400
--- Ivan Hurtado <iva030@xxxxxxxxx> wrote:
> Robert... not sure if you saw my prior message, but
> I
> am trying to do the same (debug my app on the AS400
> from my Eclipse IDE) and am having a tough time
> trying
> to get it to work. 
> 
> Could you please specify what you did?
> It will be much appreciated...
> 
> Thanks,
> Ivan
> 
> --- Ivan Hurtado <iva030@xxxxxxxxx> wrote:
> > Robert,
> > 
> > I am attempting to do the same thing and have run
> > into
> > some problems. Could you post a reply with a
> > detailed
> > step-by-step list of what you did to get this to
> > work.
> > 
> > I am using Eclipse 2.1.3 and Genuitec MyEclipse
> > Workbench 2.7 for my IDE (it's basically just
> > Eclipse
> > with some bells & whistles) on a Windows XP
> machine.
> > I
> > am connecting/deploying to a V5R2 AS400 with
> Tomcat
> > 4.1.29 as my application server. 
> > 
> > The application I am developing is a server-side
> > app,
> > so I don't have the problem where it can run so
> fast
> > that you can't catch it before it's done. The
> > following are a list of some things I'm not sure
> > about:
> >  
> > 1)How do you start the application server
> > (tomcat)...
> > from the as400 or from your IDE?
> > 
> > 2)Did you have to modify your app server startup
> > scripts to include any special debug options? If
> so,
> > what are they?
> > 
> > 3)Did you have to install jdwp on your Dev IDE or
> on
> > your AS400?
> > 
> > Thanks,
> > Ivan
> > 
> > --- Robert Upshall <rupshall@xxxxxxxxxxx> wrote:
> > > Thanks, that did it.
> > > 
> > > I would bet my life I tried that last night, I
> > must
> > > have been messing
> > > with one of the other parms at the same time.
> > > 
> > > Thanks
> > > 
> > > 
> > > On Fri, 2004-06-11 at 09:14, Gary L Peskin
> wrote:
> > > > Try the same command line except specify
> > > suspend=y.  This will stop
> > > > SomeClass from running until the debugger is
> > > hooked in.  With suspend=n, you
> > > > should still be able to connect while
> SomeClass
> > is
> > > running but if it is a
> > > > short-running class, it will be finished
> before
> > > you can get the Eclipse
> > > > debugger set up.
> > > > 
> > > > Gary
> > > > 
> > > > > -----Original Message-----
> > > > > From: java400-l-bounces@xxxxxxxxxxxx 
> > > > > [mailto:java400-l-bounces@xxxxxxxxxxxx] On
> > > Behalf Of Robert Upshall
> > > > > Sent: Thursday, June 10, 2004 9:27 PM
> > > > > To: Java Programming on and around the
> iSeries
> > /
> > > AS400
> > > > > Subject: Re: debug java program on AS400
> > > > > 
> > > > > 
> > > > > Can anybody offer some detailed steps?
> > > > > 
> > > > > I have been following the examples but I
> > cannot
> > > get the 
> > > > > debugger to connect.
> > > > > 
> > > > > I am using Eclipse 3 debugger and running my
> > > class on iSeries v5R2M0.
> > > > > 
> > > > > When I try and start the debugger on the
> > Eclipse
> > > side I get 
> > > > > an error "Unable to connect to JVM".
> > > > > 
> > > > > I run the java class with:
> > > > > 
> > > > >       java -interpret
> > > -Xrunjdwp:transport=dt_socket,
> > > > >      address=8000,server=y,suspend=n
> SomeClass
> > > > > 
> > > > > But the class run to completion, how do I
> get
> > it
> > > to halt and/or break 
> > > > > on the sqh side so the Eclipse debugger can
> > hook
> > > into it?
> > > > > 
> > > > > 
> > > > > Robert
> > > > > 
> > > > > 
> > > > > 
> > > > > On Thu, 2004-06-10 at 19:19, David Gibbs
> > wrote:
> > > > > > Ashish Kulkarni wrote:
> > > > > > > I am running this process on V5R2, i
> tried
> > > to use WDSc
> > > > > > > but still could not debug the java
> process
> > > submited in batch and 
> > > > > > > running in subsytem> Do i have to
> compile
> > > this java program on 
> > > > > > > AS400, because i have compiled this java
> > > program on Windows
> > > > > > > and created jar file and copied it to
> IFS
> > > system of
> > > > > > > AS400..
> > > > > > 
> > > > > > No ... just invoke the java class with the
> > > appropriate parameters.
> > > > > > 
> > > > > > Check out
> > > http://java.sun.com/products/jpda/index.jsp for 
> > > > > information 
> > > > > > on
> > > > > > how to use JPDA.
> > > > > > 
> > > > > > Obviously you'll need a Java debugger ...
> > but
> > > WDSC provides that.
> > > > > > 
> > > > > > david
> > > > > > 
> > > > > > --
> > > > > > All paid jobs absorb and degrade the mind.
> > > > > > -Aristotle
> > > > > > --
> > > > > > This is the Java Programming on and around
> > the
> > > iSeries / AS400 
> > > > > > (JAVA400-L) mailing list To post a message
> > > email: 
> > > > > > JAVA400-L@xxxxxxxxxxxx To subscribe,
> > > unsubscribe, or change list 
> > > > > > options,
> > > > > > visit:
> > >
> >
> http://lists.midrange.com/mailman/listinfo/java400-l
> > > > > > or email: JAVA400-L-request@xxxxxxxxxxxx
> > > > > > Before posting, please take a moment to
> > review
> > > the archives
> > > > > > at http://archive.midrange.com/java400-l.
> > > > > > 
> > > > > 
> > > > > --
> > > > > This is the Java Programming on and around
> the
> > > iSeries / 
> > > > > AS400 (JAVA400-L) mailing list To post a
> > message
> > > email: 
> > > > > JAVA400-L@xxxxxxxxxxxx To subscribe,
> > > unsubscribe, or change 
> > > > > list options,
> > > > > visit:
> > >
> >
> http://lists.midrange.com/mailman/listinfo/java400-l
> > > > > or email: JAVA400-L-request@xxxxxxxxxxxx
> > > > > Before posting, please take a moment to
> review
> > > the archives
> > > > > at http://archive.midrange.com/java400-l.
> > > > > 
> > > > 
> > > > 
> > > > --
> > > > This is the Java Programming on and around the
> > > iSeries / AS400 (JAVA400-L) mailing list
> > > > To post a message email:
> JAVA400-L@xxxxxxxxxxxx
> > > > To subscribe, unsubscribe, or change list
> > options,
> > > > visit:
> > >
> >
> http://lists.midrange.com/mailman/listinfo/java400-l
> > > > or email: JAVA400-L-request@xxxxxxxxxxxx
> > > > Before posting, please take a moment to review
> > the
> > > archives
> > > > at http://archive.midrange.com/java400-l.
> > > > 
> > > 
> > > --
> > > This is the Java Programming on and around the
> > > iSeries / AS400 (JAVA400-L) mailing list
> > > To post a message email: JAVA400-L@xxxxxxxxxxxx
> > > To subscribe, unsubscribe, or change list
> options,
> > > visit:
> > >
> >
> http://lists.midrange.com/mailman/listinfo/java400-l
> > 
> === message truncated ===
> 
> 
> 
>               
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We
> finish.
> http://promotions.yahoo.com/new_mail 
> --
> This is the Java Programming on and around the
> iSeries / AS400 (JAVA400-L) mailing list
> To post a message email: JAVA400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit:
> http://lists.midrange.com/mailman/listinfo/java400-l
> or email: JAVA400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/java400-l.
> 
> 


=====
A$HI$H


                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.