RE: Real Debuggin On Orion? How

2000-07-13 Thread Rob Lapensee









Put my
vote in for IBM Visual Age for Java support.



All you
would need to do is get Orion to run within IBM Visual Age. I have tried this, but it doesnt work.

It works
quite well with Tomcat, and I can debug servlets very nicely (www.ibm.com/vadd has details on how to do
this).

But I
would really like to be able to debug EJBs from within the IDE.



This also
begs the question of what Orion themselves are using.

Is it
straight JDK, or one of the IDEs?





Regards,



Rob Lapensee

Director of Technology

Delfour Corporation

[EMAIL PROTECTED]

www.delfour.com



-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Steven Punte
Sent: Wednesday, July 12, 2000
7:29 PM
To: Orion-Interest
Subject: Real Debuggin On Orion?
How



Dear
Orion, and Orion Users:




How does one do serious servlet and server side java bean debugging 


on orion?




I understand how I could run the jdb debugger on the entire Orion


server, but I expect a more user friendly and productive mechanism


on a commercial product. In particular, I have several developers


all using the same orion process to server from.




Being that Orion is 100% Java, and how wonderful Java is, is


there, or is the Orion company working on a way, that I as


a developer could debug a particular threadwhich is 


initiatedbythe browser I'musing? And it would be nice


if it an IDE could interface with it.




Sure, it is not straight forwardto implement, but something


that is desperately needed by developers.




And, yes, send me a million dollars while your at it! :-)



STeve
Punte
e-Business Software Architect
Technologent Inc
[EMAIL PROTECTED]








Re: Real Debuggin On Orion? How

2000-07-13 Thread Steven Punte



Rob:

 Thanks for the reply. 


 This is very interesting. 
So WebSphere has the ability to allow a
 particular thread, and their 
dependences, to be debugged without
 putting the entire server into 
debug mode. Is this a correct
 perception of you statement, or 
is the debugging mode taking 
 over the server completely and 
it is not usable by other when
 in this mode?

 Sincerely

  STeve 
Punte




  - Original Message - 
  From: 
  Rob 
  Lapensee 
  To: Orion-Interest 
  Sent: Thursday, July 13, 2000 4:30 
  AM
  Subject: RE: Real Debuggin On Orion? 
  How
  
  
  Put my 
  vote in for IBM Visual Age for Java 
  support.
  
  All 
  you would need to do is get Orion to run within IBM Visual Age. I have tried this, but it doesnt 
  work.
  It 
  works quite well with Tomcat, and I can debug servlets very nicely (www.ibm.com/vadd has details on how to do 
  this).
  But I 
  would really like to be able to debug EJBs from within the 
  IDE.
  
  This 
  also begs the question of what Orion themselves are 
  using.
  Is it 
  straight JDK, or one of the IDEs?
  
  
  Regards,
  
  Rob Lapensee
  Director of Technology
  Delfour Corporation
  [EMAIL PROTECTED]
  www.delfour.com
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Steven PunteSent: Wednesday, July 12, 2000 7:29 
  PMTo: 
  Orion-InterestSubject: Real 
  Debuggin On Orion? How
  
  Dear 
  Orion, and Orion Users:
  
   
  How does one do serious servlet and server side java bean debugging 
  
   
  on orion?
  
   I 
  understand how I could run the jdb debugger on the entire 
  Orion
   
  server, but I expect a more user friendly and productive 
  mechanism
   
  on a commercial product. In particular, I have several 
  developers
   
  all using the same orion process to server from.
  
   
  Being that Orion is 100% Java, and how wonderful Java is, 
  is
   
  there, or is the Orion company working on a way, that I as
   a 
  developer could debug a particular threadwhich is 
   
  initiatedbythe browser I'musing? And it would be 
  nice
   
  if it an IDE could interface with it.
  
   
  Sure, it is not straight forwardto implement, but 
  something
   
  that is desperately needed by developers.
  
   
  And, yes, send me a million dollars while your at it! 
  :-)
  
  STeve 
  Puntee-Business Software ArchitectTechnologent Inc[EMAIL PROTECTED]


Re: Real Debuggin On Orion? How

2000-07-13 Thread Steven Punte



Rob:

 Thanks for the 
reply.

 From your description it sounds 
like the operation and control
 of tomcat is taken over by the 
IDE. No one else would be 
 able to use this server while 
you are in this debug mode.

 This same strategy should/must 
be doable for Orion or
 any other java based 
server.

 Perhaps my desire to have a 
server BOTH be running
 for some users, and also be able 
to support a debugging
 mode is too much to ask 
for.

 Sincerely:

  Steve 
Punte

 

  - Original Message - 
  From: 
  Rob 
  Lapensee 
  To: Steven Punte ; Orion-Interest 
  Sent: Thursday, July 13, 2000 10:22 
  AM
  Subject: RE: Real Debuggin On Orion? 
  How
  
  
  Perhaps 
  I should clarify
  
  Strictly 
  speaking of servlets, not JSPs.
  Tomcat 
  can be imported into IBM Visual Age for 
  Java.
  Once 
  this is done, a small java program can be written to start up tomcat from 
  within the IBM Visual Age for Java IDE.
  If a 
  break point is set on any servlet code, since Tomcat is running within IBM 
  Visual Age for Java, then when the browser hits the correct servlet, and the 
  correct line of code, it will stop the servlet and show the code on the IDE in 
  debugging mode. At this point you 
  can step through the program line by line. The browser will wait until the 
  servlet completes to show any results.
  
  Again 
  the full information is somewhere in www.ibm.com/vadd
  
  Note 
  that I used IBM Visual Age professional, which does not have WebSphere in 
  it.
  
  Regards, 
  
  
  Rob Lapensee
  Director of 
  Technology
  Delfour Corporation
  [EMAIL PROTECTED]
  www.delfour.com
  
  -Original 
  Message-From: Steven 
  Punte [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 13, 2000 12:38 
  PMTo: Rob Lapensee; 
  Orion-InterestSubject: Re: 
  Real Debuggin On Orion? How
  
  Rob:
  
   
  Thanks for the reply. 
  
   
  This is very interesting. So WebSphere has the ability to allow 
  a
   
  particular thread, and their dependences, to be debugged 
  without
   
  putting the entire server into debug mode. Is this a 
  correct
   
  perception of you statement, or is the debugging mode taking 
  
   
  over the server completely and it is not usable by other 
  when
   
  in this mode?
  
   
  Sincerely
  
   
   STeve Punte
  
  
  
  
  - Original 
  Message - 
  
  From: Rob 
  Lapensee 
  
  To: Orion-Interest 
  Sent: Thursday, July 13, 
  2000 4:30 AM
  Subject: RE: Real Debuggin 
  On Orion? How
  
  Put my 
  vote in for IBM Visual Age for Java 
  support.
  
  All 
  you would need to do is get Orion to run within IBM Visual Age. I have tried this, but it doesnt 
  work.
  It 
  works quite well with Tomcat, and I can debug servlets very nicely (www.ibm.com/vadd has details on how to do 
  this).
  But I 
  would really like to be able to debug EJBs from within the 
  IDE.
  
  This 
  also begs the question of what Orion themselves are 
  using.
  Is it 
  straight JDK, or one of the IDEs?
  
  
  Regards,
  
  Rob Lapensee
  Director of Technology
  Delfour Corporation
  [EMAIL PROTECTED]
  www.delfour.com
  
  
  -Original 
  Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Steven PunteSent: Wednesday, July 12, 2000 7:29 
  PMTo: 
  Orion-InterestSubject: Real 
  Debuggin On Orion? How
  
  Dear Orion, and 
  Orion Users:
  
   
  How does one do serious servlet and server side java bean debugging 
  
   
  on orion?
  
   I 
  understand how I could run the jdb debugger on the entire 
  Orion
   
  server, but I expect a more user friendly and productive 
  mechanism
   
  on a commercial product. In particular, I have several 
  developers
   
  all using the same orion process to server from.
  
   
  Being that Orion is 100% Java, and how wonderful Java is, 
  is
   
  there, or is the Orion company working on a way, that I as
   a 
  developer could debug a particular threadwhich is 
   
  initiatedbythe browser I'musing? And it would be 
  nice
   
  if it an IDE could interface with it.
  
   
  Sure, it is not straight forwardto implement, but 
  something
   
  that is desperately needed by developers.
  
   
  And, yes, send me a million dollars while your at it! 
  :-)
  
  STeve 
  Puntee-Business Software ArchitectTechnologent Inc[EMAIL PROTECTED]


RE: Real Debuggin On Orion? How

2000-07-13 Thread Darren Gibbons



Steven,

AFAIK, 
there does not exist the ability to do what you're looking for with any 
application server/IDE combo. I think you are going to be stuck running 
the entire application server in debug mode to step through the 
code.

While 
I haven't tried it with Orion, I've debugged servlets in Resin using the 1.3 
JDK, the JPDA (http://java.sun.com/products/jpda/) 
and Forte (http://www.sun.com/forte/). I don't 
see why this wouldn't work the same for Orion.

To get 
around the issues with multiple developers, you might want to use CVS, a central 
"unit test" development server, and individual servers installed on each of the 
developers machines. Developers would check out the code to their local 
machine, test on their local copy of Orion (with the ability to run it in 
debugging mode without screwing everyone else up) and post their changes back to 
the unit test server to check for completeness.

As a 
side note, CVS is a good thing if you're not using it already, especially when 
multiple developers get into the mix...

Darren.

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Steven 
  PunteSent: Thursday, July 13, 2000 10:28 AMTo: 
  Orion-InterestSubject: Re: Real Debuggin On Orion? 
  How
  Rob:
  
   Thanks for the 
  reply.
  
   From your description it 
  sounds like the operation and control
   of tomcat is taken over by the 
  IDE. No one else would be 
   able to use this server while 
  you are in this debug mode.
  
   This same strategy should/must 
  be doable for Orion or
   any other java based 
  server.
  
   Perhaps my desire to have a 
  server BOTH be running
   for some users, and also be 
  able to support a debugging
   mode is too much to ask 
  for.
  
   Sincerely:
  
Steve 
  Punte
  
   
  
- Original Message - 
From: 
Rob 
Lapensee 
To: Steven Punte ; Orion-Interest 
Sent: Thursday, July 13, 2000 10:22 
AM
Subject: RE: Real Debuggin On Orion? 
How


Perhaps 
I should clarify

Strictly 
speaking of servlets, not JSPs.
Tomcat 
can be imported into IBM Visual Age for 
Java.
Once 
this is done, a small java program can be written to start up tomcat from 
within the IBM Visual Age for Java IDE.
If a 
break point is set on any servlet code, since Tomcat is running within IBM 
Visual Age for Java, then when the browser hits the correct servlet, and the 
correct line of code, it will stop the servlet and show the code on the IDE 
in debugging mode. At this 
point you can step through the program line by line. The browser will wait until the 
servlet completes to show any results.

Again 
the full information is somewhere in www.ibm.com/vadd

Note 
that I used IBM Visual Age professional, which does not have WebSphere in 
it.

Regards, 


Rob Lapensee
Director of 
Technology
Delfour 
Corporation
[EMAIL PROTECTED]
www.delfour.com

-Original 
Message-From: Steven 
Punte [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 13, 2000 12:38 
PMTo: Rob Lapensee; 
Orion-InterestSubject: Re: 
Real Debuggin On Orion? How

Rob:

 
Thanks for the reply. 

 
This is very interesting. So WebSphere has the ability to allow 
a
 
particular thread, and their dependences, to be debugged 
without
 
putting the entire server into debug mode. Is this a 
correct
 
perception of you statement, or is the debugging mode taking 

 
over the server completely and it is not usable by other 
when
 
in this mode?

 
Sincerely

 
 STeve Punte




- Original 
Message - 

From: Rob 
Lapensee 

To: Orion-Interest 

Sent: Thursday, July 
13, 2000 4:30 AM
Subject: RE: Real Debuggin 
    On Orion? How

Put 
my vote in for IBM Visual Age for Java 
support.

All 
you would need to do is get Orion to run within IBM Visual Age. I have tried this, but it doesnt 
work.
It 
works quite well with Tomcat, and I can debug servlets very nicely (www.ibm.com/vadd has details on how to do 
this).
But 
I would really like to be able to debug EJBs from within the 
IDE.

This 
also begs the question of what Orion themselves are 
using.
Is 
it straight JDK, or one of the IDEs?


Regards,

Rob Lapensee
Director of 
Technology
Delfour Corporation
[EMAIL PROTECTED]
www.delfour.com


-Original 
Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of Steven PunteSent: Wednesday, July 12, 2000 7:29 
PMTo: 
Orion-InterestSubject: 
Real Debuggin On Orion? How

Dear Orion, and 
O