Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Jetty OSGi bundles

Hi Hugues

Ok, so it probably makes sense to try the same set of JARs as outside of the OSGi world. Again I have no clue what those are. Looking in the binary distribution I see:

[gnormington-desktop:jetty-distribution-7.2.0.v20101020]$ find . -name "*.jar"
./lib/annotations/javax.annotation_1.0.0.v20100513-0750.jar
./lib/annotations/org.objectweb.asm_3.1.0.v200803061910.jar
./lib/jetty-ajp-7.2.0.v20101020.jar
./lib/jetty-annotations-7.2.0.v20101020.jar
./lib/jetty-client-7.2.0.v20101020.jar
./lib/jetty-continuation-7.2.0.v20101020.jar
./lib/jetty-deploy-7.2.0.v20101020.jar
./lib/jetty-http-7.2.0.v20101020.jar
./lib/jetty-io-7.2.0.v20101020.jar
./lib/jetty-jmx-7.2.0.v20101020.jar
./lib/jetty-jndi-7.2.0.v20101020.jar
./lib/jetty-plus-7.2.0.v20101020.jar
./lib/jetty-policy-7.2.0.v20101020.jar
./lib/jetty-rewrite-7.2.0.v20101020.jar
./lib/jetty-security-7.2.0.v20101020.jar
./lib/jetty-server-7.2.0.v20101020.jar
./lib/jetty-servlet-7.2.0.v20101020.jar
./lib/jetty-servlets-7.2.0.v20101020.jar
./lib/jetty-util-7.2.0.v20101020.jar
./lib/jetty-webapp-7.2.0.v20101020.jar
./lib/jetty-websocket-7.2.0.v20101020.jar
./lib/jetty-xml-7.2.0.v20101020.jar
./lib/jndi/javax.activation_1.1.0.v201005080500.jar
./lib/jndi/javax.mail.glassfish_1.4.1.v201005082020.jar
./lib/jsp/com.sun.el_1.0.0.v201004190952.jar
./lib/jsp/ecj-3.6.jar
./lib/jsp/javax.el_2.1.0.v201004190952.jar
./lib/jsp/javax.servlet.jsp.jstl_1.2.0.v201004190952.jar
./lib/jsp/javax.servlet.jsp_2.1.0.v201004190952.jar
./lib/jsp/jetty-jsp-2.1-7.2.0.v20101020.jar
./lib/jsp/org.apache.jasper.glassfish_2.1.0.v201007080150.jar
./lib/jsp/org.apache.taglibs.standard.glassfish_1.2.0.v201004190952.jar
./lib/jta/javax.transaction_1.1.1.v201004190952.jar
./lib/servlet-api-2.5.jar
./start.jar

So presumably all these except start.jar are what you have in mind. Are these all valid OSGi bundles? If so, I'll try them along with the OSGi boot bundle.

I am trying to provide a pretty pure Jetty OSGi environment on top of the Virgo kernel, so there should be zero overlap. The Virgo kernel has no webish stuff in it: no javax packages, no Gemini Web, no web layer, etc. If I can get that going, the next step will be to get the Virgo admin console (a webapp) running and we'll have a fairly decent package for starters.

Regards,
Glyn

On 4 Nov 2010, at 14:37, Hugues Malphettes wrote:

Hi Glyn,

On Thu, Nov 4, 2010 at 6:44 AM, Glyn Normington <gnormington@xxxxxxxxxx<mailto:gnormington@xxxxxxxxxx>> wrote:
I am building Jetty with a view to running Jetty OSGi on top of the Virgo kernel. The wiki [1] is very helpful and tells me that I need the bundle org.eclipse.jetty.osgi.boot for starters and that it will wire up "all the jetty jars that can be located". Problem is I have no clue what the relevant set of JARs is. Any suggestions?
All the jetty jars will happily run in OSGi... minus the bugs.
Maybe you are not interested in the whole set of features; maybe some features are already provided by Virgo.

The pax tests provisions 2 different configurations:
- the first one webapps without jsp
- the second one webapps with jsp.

When we run jetty-osgi we are mostly targeting developers who adopt p2 as their build and provisioning environment. p2 takes care of finding what bundles of jetty and what libraries of eclipse orbit are required to run the web-bundles.
So I must say that documenting the many variations of jetty jars that make sense for jetty-osgi has not been useful to us so far.
If we need a starting point it would be the same set of jars than outside of the osgi world.

In the case of Virgo can you point us to what it provides so we can see which subset of jetty are the most appropriate?
In particular does Virgo or Gemini provide some abstraction for the servlet containers or are we going to use jetty's?

Best regards,
Hugues


Regards,
Glyn
[1] http://wiki.eclipse.org/Jetty/Feature/Jetty_OSGi

_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx<mailto:jetty-dev@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/jetty-dev

<ATT00001..txt>



Back to the top