[jboss-as7-dev] Arquillian and JPDA on AS7

Max Rydahl Andersen max.andersen at redhat.com
Wed Mar 30 11:34:00 EDT 2011


>> That is what I meant, but since the configs would be the same but simply just an offset specified when starting up
>> it becomes the same does it not ?
>> 
>> Anyway, I'm curious how you guys workaround this problem when using arquillian - I keep having to remember shutting
>> down my AS before running anything Arquillian related.
>> 
>> Maybe that is the only approach?
> 
> Well, yes.  I always shut down my AS instance before starting another one (whether via ARQ or not).  

Yeah, its just that its so easy now to end up in a weird port or runtime conflict that I think many won't notice and believe there is a bug when if they had
just been made aware of it somehow the confusion could be avoided.

> Unless you're using the ARQ remote connector to attach to an existing remote process, and you don't want ARQ managing your server lifecycle (only deployment and testing).

ARQ Managing your server lifecycle ? How would that work ? For me ARQ is just about starting/attaching and stopping/detaching when running tests.

IMO Starting/Stopping AS for debugging/"real" testing is done from command line scripts or if using an IDE for it with whatever mechanism they use (which aren't ARQ)

/max

> 
> S,
> ALR
> 
>> 
>> 
>> /max
>> 
>>> 
>>> 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 at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> jboss-as7-dev mailing list
>>>>> jboss-as7-dev at 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 at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>> 
>> /max
>> http://about.me/maxandersen
>> 
>> 
>> 

/max
http://about.me/maxandersen







More information about the jboss-as7-dev mailing list