It does not seem to matter what I put in logback-test.xml, I get: 12:06:48.959 [main] INFO o.o.pax.exam.spi.DefaultExamSystem - Pax Exam System (Version: 4.8.0) created. 12:06:48.963 [main] DEBUG o.ops4j.store.intern.TemporaryStore - Storage Area is /var/folders/80/5l86669j3278_x4hlpntlz380000gp/T/1456506408962-0
On Fri, Feb 26, 2016 at 12:02 PM, Benson Margulies <[email protected]> wrote: > That did it. All I have to do is figure out how to shut up the DEBUG logging. > > On Fri, Feb 26, 2016 at 11:41 AM, Achim Nierbeck > <[email protected]> wrote: >> As little hint, >> Check the PAX Web integration tests. >> The embedded tests did work for me with that setup. >> >> Regards, Achim >> >> sent from mobile device >> >> Am 26.02.2016 5:20 nachm. schrieb "Benson Margulies" <[email protected]>: >>> >>> I am failing to come up with a working set of pom dependencies for the >>> karaf pax-exam container with karaf 4.0.4 once I stop putting my >>> entire assembly's dependency tree in the tree. Has someone got a >>> working example to share? The tests in the ops4j repo use >>> org.apache.karaf.features:standard:xml:features:3.0.3:test. >>> >>> On Fri, Feb 26, 2016 at 9:20 AM, Benson Margulies <[email protected]> >>> wrote: >>> > I see why. >>> > >>> > >>> > /Users/benson/.m2/repository/org/eclipse/birt/runtime/org.eclipse.osgi/3.10.2.v20150203-1939/org.eclipse.osgi-3.10.2.v20150203-1939.jar >>> > >>> > is in the classpath, because the stock eclipse features have it as a >>> > dependency, and it has a META-INF file that calls for Equinox! >>> > >>> > >>> > >>> > On Fri, Feb 26, 2016 at 9:09 AM, Benson Margulies <[email protected]> >>> > wrote: >>> >> Now I am really stumped. >>> >> >>> >> karaf.framework=felix >>> >> >>> >> equinox is _not_ in the classpath any longer. >>> >> >>> >> when I run the assembly from command line, it runs felix. >>> >> >>> >> But when I launch embedded, it's equinox. >>> >> >>> >> I'm continuing to poke. >>> >> >>> >> >>> >> On Fri, Feb 26, 2016 at 8:15 AM, Benson Margulies >>> >> <[email protected]> wrote: >>> >>> Achim, I don't know why I have equinox. I have karaf.framework=felix >>> >>> in config.properties, since I don't customize that file. >>> >>> >>> >>> I might have equinox in my Maven test classpath, should pax-exam be >>> >>> respecting that? I can probably get rid of it. >>> >>> >>> >>> >>> >>> On Fri, Feb 26, 2016 at 7:24 AM, Achim Nierbeck >>> >>> <[email protected]> wrote: >>> >>>> Hi, >>> >>>> >>> >>>> I've seen you are using equinox as container. Did you check if this >>> >>>> also >>> >>>> happens if you use a felix container? >>> >>>> >>> >>>> regards, Achim >>> >>>> >>> >>>> >>> >>>> 2016-02-26 3:51 GMT+01:00 Benson Margulies <[email protected]>: >>> >>>>> >>> >>>>> Here is a thread dump of all things stuck when trying to use >>> >>>>> pax-exam >>> >>>>> 4.8.0 with runEmbedded(true), and the thing eventually times out. >>> >>>>> >>> >>>>> https://gist.github.com/benson-basis/dafe72561c5ee6d1c1d6 >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> -- >>> >>>> >>> >>>> Apache Member >>> >>>> Apache Karaf <http://karaf.apache.org/> Committer & PMC >>> >>>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> >>> >>>> Committer & >>> >>>> Project Lead >>> >>>> blog <http://notizblog.nierbeck.de/> >>> >>>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >>> >>>> >>> >>>> Software Architect / Project Manager / Scrum Master >>> >>>>
