Thanks for the advice Sahoo.
I am not an osgi/felix expert, but could take a look at
distributions/external/asm-all/pom.xml as a sample, I could create the
attached pom file.
It produced a file of 536K as the same size of the jodatime.jar
~/.m2/repository/org/glassfish/external/jodatime-repackaged/3.0-SNAPSHOT/jodatime-repackaged-3.0-SNAPSHOT.jar
But deploying those files to $GFV3/modules and restarting gfv3, throws
the following
[#|2009-01-08T03:07:35.863-0200|SEVERE|glassfish|null|_ThreadID=15;_ThreadName=Thread-4;|Caused
by: org.osgi.framework.BundleException: Unresolved constraint in
bundle 76: package;
(&(package=org.joda.time.chrono)(version>=1.6.0))|#]
Unfortunately I could not advance, I started to read osgi/felix
guides, but they are not easy to digest in a short time.
Please, could you take a look and see if there is any misconfiguration ?
The manifest file is attached, there are osgi info there.
Thanks
Claudio
On Thu, Jan 8, 2009 at 6:13 AM, Sahoo <Sahoo_at_sun.com> wrote:
> An OSGi bundle can't resolve classes from non-OSGi bundles. So, you have to
> convert/wrap those libraries to/as OSGi bundles.
>
--
Claudio Miranda
_______________________________________________