Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty 9.1.2 in OSGi

Mikhail,

The jetty p2 bundles haven't ever (AFAIK) contained any of the
dependency jars, just the jetty jars themselves. I think this was not
a problem in the past because most of the dependency jars we needed
were fetchable from orbit or already in the equinox plugins. With the
latest versions of jetty, we are using versions of dependencies that
are not in Orbit, such as:  asm 4.1, and a servlet-3.1 jar.

I would try downloading asm 4.1 from maven and installing it manually
(see http://repo1.maven.org/maven2/org/ow2/asm/asm/)  and also the
servlet-3.1 jar ( see
http://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/3.1.0/).
Then do the install of the latest jetty bundle.

Unfortunately we don't have enough volunteers to take on the workload
of constantly updating Orbit - any takers on the list ????

Jan

On 21 February 2014 15:31, Mikhail Mazursky <ash2kk@xxxxxxxxx> wrote:
> Hello,
>
> I'm trying to update my OSGi (Equinox-based) distribution from Jetty 9.0.7
> to 9.1.2. The distibution is assembled by maven tycho plugin. I get the
> following output:
>
> Caused by:
> org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: No
> solution found because the problem is unsatisfiable.: [
> Unable to satisfy dependency from org.eclipse.jetty.annotations
> 9.1.2.v20140210 to package org.objectweb.asm [4.1.0,5.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.continuation
> 9.1.2.v20140210 to package javax.servlet [3.1.0,4.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot
> 9.1.2.v20140210 to package javax.servlet [3.1.0,3.2.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot
> 9.1.2.v20140210 to package javax.servlet.http [3.1.0,3.2.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot.jsp
> 9.1.2.v20140210 to package javax.el [3.0.0,3.1.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot.jsp
> 9.1.2.v20140210 to package javax.servlet [3.1.0,3.2.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot.jsp
> 9.1.2.v20140210 to package javax.servlet.jsp [2.3.0,2.4.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot.jsp
> 9.1.2.v20140210 to package javax.servlet.jsp.el [2.3.0,2.4.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot.jsp
> 9.1.2.v20140210 to package javax.servlet.jsp.resources [3.1.0,3.2.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot.jsp
> 9.1.2.v20140210 to package javax.servlet.jsp.tagext [2.3.0,2.4.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.boot.jsp
> 9.1.2.v20140210 to package javax.servlet.resources [3.1.0,3.2.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.httpservice
> 9.1.2.v20140210 to package javax.servlet [3.1.0,4.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.osgi.httpservice
> 9.1.2.v20140210 to package javax.servlet.http [3.1.0,4.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.spdy.http.server
> 9.1.2.v20140210 to package org.eclipse.jetty.spdy.http [9.0.0,10.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.websocket.server
> 9.1.2.v20140210 to package javax.servlet [3.0.0,4.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.websocket.server
> 9.1.2.v20140210 to package javax.servlet.http [3.0.0,4.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.websocket.servlet
> 9.1.2.v20140210 to package javax.servlet [3.0.0,4.0.0).;
> Unable to satisfy dependency from org.eclipse.jetty.websocket.servlet
> 9.1.2.v20140210 to package javax.servlet.http [3.0.0,4.0.0).;
> No solution found because the problem is unsatisfiable.]
>
> I'm using the following repositories:
> http://download.eclipse.org/jetty/updates/jetty-bundles-9.x/9.1.2.v20140210/
> http://download.eclipse.org/releases/kepler/
> http://download.eclipse.org/tools/orbit/downloads/drops/S20140116105218/repository/
> (LATEST ORBIT)
>
> Looks like the bundles in Orbit repo are too old and cannot satisfy the
> dependencies of 9.1.2.
>
> Maybe someone on the list can help me with this?
>
> Kind regards,
> Mikhail.
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
Jan Bartel <janb@xxxxxxxxxxx>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'


Back to the top