That's right. Just set breakpoints and then run Jonas via the passthrough
class. When it gets to your breakpoints, it will break as you'd expect.
What about if you want to trace through the generated code as well? Define
a JBuilder "library" pointing at the generated code (both for classes and
source), and add this library to your project. Now if you step out of one
of your handwritten functions, you will correctly drop back into the
generated code.
Joe
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, March 30, 2000 1:17 PM
To: Joe Gittings
Subject: Re: .ser files in jonas.properties with environment
Hi Joe,
thank you very much for your help, this is exactly what I need!!!
Can you tell me, how you are debugging with JBuilder, by example:
set a breakpoint in my sessionbean and then start EJB with your very good
commented startclass from JBuilder3?
Again, thank you very much,
Juergen Messer
----- Original Message -----
From: "Joe Gittings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 30, 2000 1:56 PM
Subject: RE: .ser files in jonas.properties with environment
> One approach is to write your own server class, and invoke
> org.objectweb.jonas.server.Server.main() from your main(). Then you can
> monkey around to your heart's content with the environment properties
prior
> to calling org.objectweb.jonas.server.Server.main().
>
> Here is an example: I wrote it to enable me to debug my EJBs using
JBuilder
> whilst running within Jonas.
>
> Due to a silly bug in JBuilder, it has to fully qualify the filenames in
> jonas.beans.descriptor in order to do this. So it just happens to
> illustrate exactly what you're trying to do!
>
> Joe
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, March 30, 2000 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: .ser files in jonas.properties with environment
>
> Hello,
>
> we want to store the .ser files in a variable path. I tried to specify
the
> .ser files in jonas.properties like:
>
> jonas.beans.descriptors $SOFTWARE_HOME/sers/EB.ser
>
> But that doesn't work. How can I solve this problem?
>
> Another question:
> Is Jonas able to find the .ser in the Beans Jar File? If so, how can I
set
> the variable Path in jonas properties?
>
> jonas.beans.descriptors $SOFTWARE_HOME/jars/EB.jar
>
> Thanks for any hints,
>
> Juergen Messer
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".