No problem :-)
2013/6/11 Charles Moulliard
> Been able to attach karaf remote debugger ;-) with thread.sleep. Many
> thanks
>
>
> On Tue, Jun 11, 2013 at 3:31 PM, Achim Nierbeck >wrote:
>
> > Hi Charles,
> >
> > hmm might possibly be that you are affected by the same "thing" that most
> > of m
Been able to attach karaf remote debugger ;-) with thread.sleep. Many thanks
On Tue, Jun 11, 2013 at 3:31 PM, Achim Nierbeck wrote:
> Hi Charles,
>
> hmm might possibly be that you are affected by the same "thing" that most
> of my tests are.
> The TestContainer is just merely to fast :)
> that'
Hi Charles,
hmm might possibly be that you are affected by the same "thing" that most
of my tests are.
The TestContainer is just merely to fast :)
that's why I added a Sleep in my tests first [1].
regards, Achim
[1] -
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest-karaf/src
My class contains the following @Configure configuration
@Configuration
public static Option[] configure() {
return new Option[]{
// Install Karaf Container
karafDistributionConfiguration().frameworkUrl(
maven().groupId("org.apache.karaf").artifact
Hi Charles,
I think you're mixing some things up here.
If your trying to debug a karaf - container inside Pax-Exam it's working
differently then debugging a standalone Pax-Exam Container with remote
debugging, for example if run from maven and not embedded inside eclipse.
So please take a look at
Why do we show a different port number (intellij screenshot) in the doc
here --> https://ops4j1.jira.com/wiki/display/paxexam/Pax+Exam+-+Tutorial+1?
On Tue, Jun 11, 2013 at 12:52 PM, Charles Moulliard wrote:
> No. Everytime I click on debug button of "Karaf" = Remote Debugger,
> intellij is not
No. Everytime I click on debug button of "Karaf" = Remote Debugger,
intellij is not able to be attached to pax exam started separately
On Tue, Jun 11, 2013 at 12:46 PM, Andreas Pieber wrote:
> is it possible that intellij has troubles with two debug processes at the
> same time? try to run the
is it possible that intellij has troubles with two debug processes at the
same time? try to run the tests regularly and attach the remote debugger.
Does this do the trick?
Kind regards,
Andreas
On Tue, Jun 11, 2013 at 12:00 PM, Charles Moulliard wrote:
> Even if I use this option, I cannot atta
Even if I use this option, I cannot attach from intellij a remote process
on the port 5005 when I start also in intellij the unit test in debug mode.
So is there another magic thing to do ?
On Tue, Jun 11, 2013 at 11:12 AM, Achim Nierbeck wrote:
> Hi Charles,
>
> afairc something like this shoul
Hi Charles,
afairc something like this should be sufficient :)
debugConfiguration("5005", true),
regards, Achim
P.S. you might also take a look here:
https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest-karaf/src/test/java/org/ops4j/pax/web/itest/karaf/KarafBaseTest.java#L89
Has added this option to the Unit test config
vmOption("-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"),
systemTimeout(0),
but when the unit test is launched, I get this exception
java.rmi.NotBoundException: b7cb86c5-596e-4265-be00-a3c8d38c28ff
at sun.rmi.registry.RegistryImpl.
Hi Charles,
as Karaf is started as a separate jvm process in the pax-exam-karaf setup
you need to enable remote debugging.
Regards, Achim
2013/6/11 Charles Moulliard
> Hi,
>
> Is there something to be able do debug a unit test class using pax-exam2 ?
> I have added a break point in one the bu
Hi,
Is there something to be able do debug a unit test class using pax-exam2 ?
I have added a break point in one the bundle that I would like to debug but
when pax-exam + karaf container is started then the debugger never stops
there ? Do we have to start a remote debugger ?
Regards,
--
Charles
13 matches
Mail list logo