On 03/23/2011 10:53 AM, Max Rydahl Andersen wrote:
> Are you using the managed or the embedded container?
>
> If you are using managed you should be able to do:
>
> -Djboss.options="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y"
>
> If you are using embedded -Dmaven.surefire.debug should work as normal.
That does not remove the problem of users running their server at the same time doing
development.
I wonder if Arquillian could start its server needs on a separate port to not have
conflicts ?
To me, that's solving the problem at the wrong level. ARQ's job is not
to define configuration for the server. If we want to default to a
different development config profile to avoid these types of conflicts,
I find that more attractive.
S,
ALR
/max
>
> Stuart
>
> On 22/03/2011, at 6:37 AM, Anil Saldhana wrote:
>
>> You might wonder why I cannot start AS7 in JPDA mode and debug in Eclipse.
>> The issue is Arquilian tries to start the container again and I see
>> "Address in use" exceptions in the
>> log. This is even after I have used
>> =======
>> @RunWith(Arquillian.class)
>> @Run(RunModeType.AS_CLIENT)
>> =======
>> annotations.
>>
>> So I am not sure if Arquilian can check whether AS7 is already running.
>> If yes, don't try to start the containers.
>>
>> On 03/21/2011 12:56 PM, Anil Saldhana wrote:
>>> Hi all,
>>> I have a test case that constructs a web archive using arquilian and
>>> then deploys on AS7.
>>>
>>> But I am not seeing any way to use JPDA on AS7 via the JUnit test
>>> because Arquilian is starting the container. Neither the standalone.conf
>>> JPDA settings nor the vm arguments set in eclipse allow me to trace
>>> through AS7 code.
>>>
>>> Anybody else faced this?
>>>
>>> Regards,
>>> Anil
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
/max
http://about.me/maxandersen
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev