Hi David,
I don't know much about JBoss AS 7 but I understand it is now fully
based on OSGi, much like Glassfish 3.x which runs on either Felix or
Equinox, whereas JBoss AS 7 comes with its own OSGi framework
implementation.
But "JBoss AS runs on an OSGi framework of its own" is not equivalent to
"JBoss AS _is_ an OSGi framework".
So if there is another framework to be supported by Pax Runner (and Pax
Exam or any other Pax projects), it should be JBoss OSGi but not JBoss AS.
From what I read here
https://docs.jboss.org/author/display/JBOSGI/Getting+Started
the project is only distributed in the form of an installer bundle.
Pax Runner and Pax Exam would require a direct URL to an executable JAR
which launches the framework.
This URL should preferably be a Maven artifact, and saying Maven I mean
Maven Central, though a plain HTTP URL would also be acceptable (this is
what we use for Knopflerfish and earlier Equinox versions, before
Sonatype started publishing Maven artifacts).
(BTW, I never understood why JBoss stopped publishing their artifacts on
Maven Central. It just make everyone else's lives harder....)
Next question: JBoss AS has its own launcher scripts, and I guess most
people don't even notice that there is now OSGi under the hood. So why
would anyone want to use Pax Runner to launch JBoss AS?
If you just want to launch the JBoss OSGi framework and provision some
additional bundles to it, you can use Pax Exam (Native Container or
Server Mode). This should work out of the box for any OSGi 4.2 compliant
implementation with a FrameworkFactory.
To support JBoss OSGi in Pax Runner, we'd have to write an adapter to
generate config file(s) (i.e. the equivalent of an Equinox config.ini).
Regarding downloads: yes, most of the OPS4J download links are somewhat
out of date I'm afraid, due to the fact that Maven is the main
distribution channel and no one really expects people to use old school
download links anymore ;-)
Having said that, Pax Runner 1.7.5 is bound to be released within the
next few days, and I'll make a note to update the download info in the
Wiki along with the release notes.
Best regards,
Harald
Am 29.08.2011 17:39, schrieb David Bosschaert:
Hi all,
Since JBoss AS7 is now a fully compliant OSGi Framework as well I
thought it might make sense to add it to the list of supported OSGi
Frameworks in Pax Runner. What would be the best path of getting this
done?
Thanks,
David
BTW I see that Pax-Runner 1.7.3 is the latest version but
http://team.ops4j.org/wiki/display/paxrunner/Download doesn't seem to
contain a download link...
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general