Will try to write up a how to do osgi problem solving, guess its the only
way to help you without actually seeing your project ;) (yet).
Give me some time for that. Or you just dump your project somewhere and we
can look at it (?)

Its quite important to see how paxexam thinks, then you can use it as a
workbench to dig deeper, agreed.


On Sun, Jan 16, 2011 at 12:02 AM, Pete Carapetyan <p...@datafundamentals.com
> wrote:

> I could be helped with advice on using pax-exam. Hopefully I can explain
> the situation before your eyes glaze over from too much information :(
>
> So far, pax exam 1.2.3 has worked for me successfully on several bundle
> projects. It really helped me isolate OSGi service problems in a module
> before trying to consume bundles upstream. Thanks Toni and all !
>
> My current challenge is a JMS based project that uses SpringJMS and QPID.
> This bundle passes integration tests successfully before running in OSGi.
> The dependency tree is pretty hairy but of course it is something I don't
> worry about because Maven takes care of this for me.
>
> Pax-exam doesn't like the way I am trying to test this one project, but I
> think it's because I'm missing some bundles deep down in the dependency
> tree. The challenge for me is
>
> - missing bundles don't seem to report as missing bundles, but instead
> there is a "NoClassDefFoundError" on the first spring bean that I call from
> that bundle, which is not the bundle that is missing.
>
> I've tried the brute force approach, just including bundle after bundle
> hoping that eventually something would work, but so far all I get is that
> same old NoClassDef for the first spring bean that is called.
> - it is a pretty large dependency tree
> - some of the bundles may or may not be optional, not even sure.
> - some of the bundles may already be a part of pax-exam (spring dm bundles
> for example)
> - some of the bundles of course are not OSGi ready and like any OSGi
> project, I have to figure out which ones.
>
> So the advice that I believe that I need to ask for is how to get pax-exam
> to give me better feedback on what I am missing? This is especially
> challenging since there is a lot of indirection that seems to hide what is
> really going on - pax-exam > container > spring > myBundle > otherBundles
>
> Suggestions?
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
*Toni Menzel || **http://okidokiteam.com*
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to