John,
I have successfully got netbeans to set a break point and stop a running ejb
in progress under orion, and then go on to single step and show variable
contents.
It working by using something called JPDA (download from somewhere in
www.javasoft.com)
You will need JPDA installed and netbeans will need to be started with
access to the JPDA .dll's (or shared libraries if you are not on NT).
Netbeans will also require access to the JPDA jar (or jars?).
Start Orion with:
java -Xdebug
runjdwp:transport=dt_socket,server=y,suspend=y,address=5000
com.evermind.server.ApplicationServer
orion will also need access to the JPDA .jar's and .dll's
orion will hang up waiting for a JPDA connection.
get netbeans to do a remote connection, specifying port 5000
Orion then resumes.
Get netbeans to point to your source and set a break point.
Get the client program (servlet, or whatever) to invoke the ejb.
Orion will again stop and allow netbeans to step line by line in the
debugger.
Regards,
Rob Lapensee
Director of Technology
Delfour Corporation
[EMAIL PROTECTED]
www.delfour.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 16, 2000 11:04 AM
To: Rob Lapensee
Cc: Orion-Interest
Subject: RE: ORION and VAJ?
Rob,
Thanks for the reply.
Ditto.
I have run both WebLogic (4.1 using the VAJ kit) and the latest TOMCAT out
of
VAJ. No Cigar with Orion.
When you say netbeans, isn't that Forte now? Can you set breaks in Sevlets
and
EJB's and have them break when hit at runtime?
That is really the main reason I wanted to import into VAJ. I don't really
miss the VAJ project management stuff. Ant takes care of that nicely. But
system.out.println()'s only go so far in debugging.
Peace
john
On 16-Nov-00 Rob Lapensee wrote:
> John,
>
> I switched to netbeans (www.netbeans.org) because of exactly that, I could
> not get VAJ to work with Orion.
> Or more accurately I could not get Orion to import into VAJ and run from
> within VAJ, which would have allowed debugging of EJB's
> I got Tomcat to import into VAJ quite nicely...
>
>
> Regards,
>
> Rob Lapensee
> Director of Technology
> Delfour Corporation
> [EMAIL PROTECTED]
> www.delfour.com
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, November 15, 2000 7:42 PM
> To: Orion-Interest
> Subject: ORION and VAJ?
>
> Briefly looking at the archives I saw this question with no real
resolution
> so
> please forgive the bandwidth while I ask again.
>
> Has anyone succeeded in running Orion from within Visual Age Java?
>
> All comments welcome.
> john
> ----------------------------------
> E-Mail: [EMAIL PROTECTED]
> Date: 15-Nov-00
> Time: 18:39:20
>
> This message was sent by XFMail
> ----------------------------------
>
----------------------------------
E-Mail: [EMAIL PROTECTED]
Date: 16-Nov-00
Time: 09:58:31
This message was sent by XFMail
----------------------------------