You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Ja kub <jj...@gmail.com> on 2014/02/17 13:16:51 UTC
sample web application which cannot be run on tomcat7
Do you know sample simple web application that cannot be run on jboss6/5
and tomcat7
but can be run on karaf laveraging karaf osgi classloader ?
Re: sample web application which cannot be run on tomcat7
Posted by Achim Nierbeck <bc...@googlemail.com>.
Hm, yes this is a valid use-case though the dependency to two external
libraries and different versions dependencies won't be a happy scenario for
your use-case, it'll fail. It's gonna be different if you use two different
versions of services though :D
regards, Achim
2014-02-17 13:57 GMT+01:00 Ja kub <jj...@gmail.com>:
> I am interested in application, that has dependencies to two external
> libraries, that are dependant on two different versions of the same library
> and make use of different apis of the same library.
> I am interested in something that can be run under osgi container, but not
> under standard classloaders. Tomcat or jboss should have problems with
> classloaders and dependencies, that osgi container will easily resolve and
> proof it's superirity ( with wow effect) .
>
>
>
> On Mon, Feb 17, 2014 at 1:20 PM, Achim Nierbeck <bc...@googlemail.com>wrote:
>
>> I'm not sure I follow about the "cannot be run on jboss ..." though
>> the Pax Web project is full of samples, might be some of them are special
>> for Pax Web and therefore OSGi / Karaf.
>> Take a look at the samples at [1] and the integration tests using them
>> at [2]
>>
>> regards, Achim
>>
>> [1] - https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples
>> [2] -
>> https://github.com/ops4j/org.ops4j.pax.web/tree/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty
>>
>>
>>
>> 2014-02-17 13:16 GMT+01:00 Ja kub <jj...@gmail.com>:
>>
>> Do you know sample simple web application that cannot be run on jboss6/5
>>> and tomcat7
>>> but can be run on karaf laveraging karaf osgi classloader ?
>>>
>>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
>> Commiter & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>
>
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>
Re: sample web application which cannot be run on tomcat7
Posted by Ja kub <jj...@gmail.com>.
I am interested in application, that has dependencies to two external
libraries, that are dependant on two different versions of the same library
and make use of different apis of the same library.
I am interested in something that can be run under osgi container, but not
under standard classloaders. Tomcat or jboss should have problems with
classloaders and dependencies, that osgi container will easily resolve and
proof it's superirity ( with wow effect) .
On Mon, Feb 17, 2014 at 1:20 PM, Achim Nierbeck <bc...@googlemail.com>wrote:
> I'm not sure I follow about the "cannot be run on jboss ..." though
> the Pax Web project is full of samples, might be some of them are special
> for Pax Web and therefore OSGi / Karaf.
> Take a look at the samples at [1] and the integration tests using them at
> [2]
>
> regards, Achim
>
> [1] - https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples
> [2] -
> https://github.com/ops4j/org.ops4j.pax.web/tree/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty
>
>
>
> 2014-02-17 13:16 GMT+01:00 Ja kub <jj...@gmail.com>:
>
> Do you know sample simple web application that cannot be run on jboss6/5
>> and tomcat7
>> but can be run on karaf laveraging karaf osgi classloader ?
>>
>>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
> Commiter & Project Lead
> blog <http://notizblog.nierbeck.de/>
>
Re: sample web application which cannot be run on tomcat7
Posted by Achim Nierbeck <bc...@googlemail.com>.
I'm not sure I follow about the "cannot be run on jboss ..." though
the Pax Web project is full of samples, might be some of them are special
for Pax Web and therefore OSGi / Karaf.
Take a look at the samples at [1] and the integration tests using them at
[2]
regards, Achim
[1] - https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples
[2] -
https://github.com/ops4j/org.ops4j.pax.web/tree/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty
2014-02-17 13:16 GMT+01:00 Ja kub <jj...@gmail.com>:
> Do you know sample simple web application that cannot be run on jboss6/5
> and tomcat7
> but can be run on karaf laveraging karaf osgi classloader ?
>
>
--
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>