You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Pablo Beltran <pb...@gmail.com> on 2015/03/10 11:47:11 UTC
Embedding Karaf in Eclipse Equinox?
Hi,
Is it possible to embed Karaf (mainly the web server module) in an Eclipse
Equinox instance?
ServletBridge -> Equinox -> Karaf?
...in order to deploy wabs (web application bundles)...
Thanks!
Pablo.
Re: Embedding Karaf in Eclipse Equinox?
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi Pablo,
well, you can use the Pax Web bundles standalone in your eclipse Project if
you don't want to use Karaf.
Karaf is basically a pre-bundles (with lots and lots of enhancements) OSGi
Framework + infrastructure Bundles.
But basically you still can build your own stuff, in that case just install
all required Pax Web Bundles.
regards, Achim
2015-03-10 12:16 GMT+01:00 Pablo Beltran <pb...@gmail.com>:
> Hi JB,
>
> Thanks for the answer. I was aware about that. To be sure only: So is the
> short answer "no"?
>
> Regards,
> Pablo
> El 10/3/2015 11:55, "Jean-Baptiste Onofré" <jb...@nanthrax.net> escribió:
>
> Hi Pablo,
>>
>> actually, it's the opposite: karaf can use equinox as OSGi framework (you
>> just have to change in etc/config.properties from felix to equinox). Once
>> done, you can install the war feature and you will be able to deploy wabs
>> in Karaf.
>>
>> Regards
>> JB
>>
>> On 03/10/2015 11:47 AM, Pablo Beltran wrote:
>>
>>> Hi,
>>>
>>> Is it possible to embed Karaf (mainly the web server module) in an
>>> Eclipse Equinox instance?
>>>
>>> ServletBridge -> Equinox -> Karaf?
>>>
>>> ...in order to deploy wabs (web application bundles)...
>>>
>>> Thanks!
>>> Pablo.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
--
Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
Software Architect / Project Manager / Scrum Master
Re: Embedding Karaf in Eclipse Equinox?
Posted by Pablo Beltran <pb...@gmail.com>.
Hmm, unfortunately the are not too much chances for Karaf... I got
"married" to Equinox and it is the core of this Eclipse for the Atlassian's
plugin framework:
https://marketplace.atlassian.com/plugins/com.kintosoft.jira.eclipse.eclipse-osgi-for-jira
It was a headache running Equinox on such environment as it is a
pseudo-servlet container. Now it's easy to run any Eclipse plugin on JIRA,
however I know nothing about Karaf and perhaps I would stumble with a lot
of problems.... I'll try Pax for now,. Sorry for the bad news :(
Thanks!
Pablo.
2015-03-10 13:23 GMT+01:00 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> Hi Pablo,
>
> no, in that case, you can rid out Karaf and install pax-web directly on
> top of Equinox (I would be sad if you do that, but it should work ;)).
>
> Regards
> JB
>
> On 03/10/2015 12:16 PM, Pablo Beltran wrote:
>
>> Hi JB,
>>
>> Thanks for the answer. I was aware about that. To be sure only: So is
>> the short answer "no"?
>>
>> Regards,
>> Pablo
>>
>> El 10/3/2015 11:55, "Jean-Baptiste Onofré" <jb@nanthrax.net
>> <ma...@nanthrax.net>> escribió:
>>
>> Hi Pablo,
>>
>> actually, it's the opposite: karaf can use equinox as OSGi framework
>> (you just have to change in etc/config.properties from felix to
>> equinox). Once done, you can install the war feature and you will be
>> able to deploy wabs in Karaf.
>>
>> Regards
>> JB
>>
>> On 03/10/2015 11:47 AM, Pablo Beltran wrote:
>>
>> Hi,
>>
>> Is it possible to embed Karaf (mainly the web server module) in an
>> Eclipse Equinox instance?
>>
>> ServletBridge -> Equinox -> Karaf?
>>
>> ...in order to deploy wabs (web application bundles)...
>>
>> Thanks!
>> Pablo.
>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org <ma...@apache.org>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Embedding Karaf in Eclipse Equinox?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Pablo,
no, in that case, you can rid out Karaf and install pax-web directly on
top of Equinox (I would be sad if you do that, but it should work ;)).
Regards
JB
On 03/10/2015 12:16 PM, Pablo Beltran wrote:
> Hi JB,
>
> Thanks for the answer. I was aware about that. To be sure only: So is
> the short answer "no"?
>
> Regards,
> Pablo
>
> El 10/3/2015 11:55, "Jean-Baptiste Onofré" <jb@nanthrax.net
> <ma...@nanthrax.net>> escribió:
>
> Hi Pablo,
>
> actually, it's the opposite: karaf can use equinox as OSGi framework
> (you just have to change in etc/config.properties from felix to
> equinox). Once done, you can install the war feature and you will be
> able to deploy wabs in Karaf.
>
> Regards
> JB
>
> On 03/10/2015 11:47 AM, Pablo Beltran wrote:
>
> Hi,
>
> Is it possible to embed Karaf (mainly the web server module) in an
> Eclipse Equinox instance?
>
> ServletBridge -> Equinox -> Karaf?
>
> ...in order to deploy wabs (web application bundles)...
>
> Thanks!
> Pablo.
>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Embedding Karaf in Eclipse Equinox?
Posted by Pablo Beltran <pb...@gmail.com>.
Hi JB,
Thanks for the answer. I was aware about that. To be sure only: So is the
short answer "no"?
Regards,
Pablo
El 10/3/2015 11:55, "Jean-Baptiste Onofré" <jb...@nanthrax.net> escribió:
> Hi Pablo,
>
> actually, it's the opposite: karaf can use equinox as OSGi framework (you
> just have to change in etc/config.properties from felix to equinox). Once
> done, you can install the war feature and you will be able to deploy wabs
> in Karaf.
>
> Regards
> JB
>
> On 03/10/2015 11:47 AM, Pablo Beltran wrote:
>
>> Hi,
>>
>> Is it possible to embed Karaf (mainly the web server module) in an
>> Eclipse Equinox instance?
>>
>> ServletBridge -> Equinox -> Karaf?
>>
>> ...in order to deploy wabs (web application bundles)...
>>
>> Thanks!
>> Pablo.
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
Re: Embedding Karaf in Eclipse Equinox?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Pablo,
actually, it's the opposite: karaf can use equinox as OSGi framework
(you just have to change in etc/config.properties from felix to
equinox). Once done, you can install the war feature and you will be
able to deploy wabs in Karaf.
Regards
JB
On 03/10/2015 11:47 AM, Pablo Beltran wrote:
> Hi,
>
> Is it possible to embed Karaf (mainly the web server module) in an
> Eclipse Equinox instance?
>
> ServletBridge -> Equinox -> Karaf?
>
> ...in order to deploy wabs (web application bundles)...
>
> Thanks!
> Pablo.
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com