|
And the OSGi fun continues... It would be a lot less frustrating if you could actually get answers from people in the various OSGI communities... Ugh!
After major headaches getting Karaf to actually properly handle mvn: url bundles in Gradle environment I now have the hibernate-osgi feature file properly added in Karaf and our features installing correctly. This is true both from Karaf console as well as using PaxExam+Karaf.
However I am now having trouble getting PaxExam to perform properly. Again it appears to be issues with url handling. Here is the full stack of the error:
This seems to be a "features" issue within Karaf. I say that because initially I had Karaf limiting its bootFeatures based on code I based my PaxExam test on. It limited the boot features to "standard" because apparently "enterprise" mucks with our stuff. Anyway, at that time the exception was still a ClassNotFoundException, but it referenced UrlReference rather than MavenUrlReference. Having Karaf boot all of its standard boot features leads to the above error.
Does Karaf not load the pax-url-aether bundle/feature by default?
|