You can also set an environment variable like this one:

OPENEJB_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE - Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"

-David

On Jun 17, 2009, at 8:59 AM, Mohammad Nour El-Din wrote:

You can do this by running the class which  the openejb.sh/bat file
bootstrap by Java. You run this class giving the main method the
parameters it need. This way you will have a standalone openejb server
running inside Eclipse but not from the plugin. Then you run you
client separately in debug mode too.

Try it and let us know if you have anyother problems.

On Wed, Jun 17, 2009 at 4:06 PM, recursion<[email protected]> wrote:

Hi, Jonathan,

Actually when i started my OpenEJB server in debug mode through the Eclipse plug-in, i could hit my breakpoints successfully. So the problem was at my
side.

Thank you for you help and efforts, i appreciate them!
Still i cannot find how to start the engine in debug mode from the OS prompt
?

Regards,
recursion.
--
View this message in context: 
http://www.nabble.com/Security-in-embedded-mode-tp24054743p24073265.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
ley




--
----
Thanks
- Mohammad Nour
- LinkedIn: http://www.linkedin.com/in/mnour
----
"Life is like riding a bicycle. To keep your balance you must keep moving"
- Albert Einstein


Reply via email to