james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin" <robertburrelldon...@gmail.com>
Subject Re: Developer environment
Date Wed, 01 Aug 2007 21:55:19 GMT
On 8/1/07, Zsombor <gzsombor@gmail.com> wrote:
> Hi,
>
>  What is the simplest way to start James in debug mode in Eclipse currently?
> Is it possible, or everyone runs/test it outside of a VM? To figure out the
> whole SAR/Phoenix/classloader mess is not simple.

i run it in a separate VM and ask eclipse to attach to it

when you start pheonix, you need to add something like

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000

to PHOENIX_JVM_OPTS

here's an snippet from my bash script:

PHOENIX_JVM_OPTS="$PHOENIX_JVM_OPTS -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5000"
export PHOENIX_JVM_OPTS

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message