If your 3thd party library is embedded in the SU, it will have the same classloader as the classes you wrote. So I don't really see why this would fail. Could you set up a test case and attach it to a JIRA issue so that I can reproduce the issue ?
On Thu, Nov 13, 2008 at 7:53 AM, Martin Kuhn <[EMAIL PROTECTED]> wrote: > > > gnodet wrote: >> >> Did you make sure you have the needed osgi import header for the >> missing package. >> > > It is a commercial library we bought from a software company. > > The only thing I did was to define the lib in our maven repository and to > define a dependency in the Maven pom file. > > I have NO osgi specific def's in my SA and SU's. The whole stuff is based on > the SMX Maven archetypes. So the SA contains a SU which contains a jar file > of the 3rd party jar file. > > BTW, it would be really nice to find documentation what the differences > between the different things are > (in the examples there are three camel examples, camel, camel-nmr, > camel-osgi -> I've no idea what are the differenences and in what situation > I use should use it) > > From my point of view I want to use infrastructural things of SMX (most > important loosely coupling of components, and hot deployment capabilities). > And it is very impressive what SMX provides from a technical point of view. > But the experience with SMX is really painfull and frustrating. Even the > simplest things don't work for me without spending much time. > Furthermore it came to two problems where SMX guys (like you) have to fix > errors. > > I would really like to have a book or something which explains things but > the material I read until now helped not so much. > E.g. camel for routing -> you need much imaginativeness to grasp how to code > it in reality. > > -- > View this message in context: > http://www.nabble.com/Re%3A-SM4%3A-java.lang.NoClassDefFoundError%3A-sun-misc-BASE64Encoder-%21%21-tp20418115p20475646.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
