Hi all thanks for your answers. I tested pax-exam-karaf now and it works great ;-)
Regards Michael ----- Ursprüngliche Mail ----- Von: "Andreas Pieber" <[email protected]> An: "General OPS4J" <[email protected]> Gesendet: Mittwoch, 7. November 2012 21:43:12 Betreff: Re: Pax Exam Integration Test Questions I definitely second Achim on that one. You'll also find the documentation there for setting up your own distribution. If you have any further questions or the problem still persists after the move pls write directly to the apache-karaf community. Thanks and kind regards, Andreas On Wed, Nov 7, 2012 at 10:31 AM, Achim Nierbeck <[email protected]>wrote: > Hi, > > I suggest using the pax-exam-karaf tooling provided by the Karaf project. > It should help you a lot in using also a custom distribution. > > It might be a real possibility that this is already solved with that > project. > > You'll find a released version at [1] > > regards, Achim > > [1] - > http://search.maven.org/remotecontent?filepath=org/apache/karaf/tooling/exam/org.apache.karaf.tooling.exam.container/2.3.0/org.apache.karaf.tooling.exam.container-2.3.0.jar > > > 2012/11/7 Michael Szalay <[email protected]> > >> Hi all >> >> I have two questions regarding using Pax Exam to test our system which is >> based on Apache Karaf. >> >> 1) Is it possible to test our custom karaf distribution? I.e. instead of >> that pax-exam downloads a karaf distro, it uses >> our custom karaf distro? >> >> 2) Sometimes, my integration tests do just not work. The pax exam systems >> comes up, but hangs very long time and then >> the test each fail with the message: >> >> Exception in thread "JMX Connector Thread [service:jmx:rmi:// >> 0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root]" >> java.lang.RuntimeException: >> Port already in use: 44444; >> You may have started two containers. If you need to start a second >> container or the default ports are already in use update the config file >> etc/org.apache.karaf.management.cfg and change the Registry Port and Server >> Port to unused ports >> >> >> The port 44444 was not used before I started the maven tests... >> Is this a concurrency issue? >> >> Regards Michael >> >> >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general >> > > > > -- > > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> > Commiter & Project Lead > blog <http://notizblog.nierbeck.de/> > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > > _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
