You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Cristian Petroaca <cr...@gmail.com> on 2014/06/14 12:52:34 UTC
javax.servlet depepdency error when starting server
Hi,
I recently tried to start the stanbol server and I get this:
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.felix.http.jetty [5]: Unable to resolve 5.0: missing requirement
[5.0] osgi.wiring.package;
(&(osgi.wiring.package=javax.servlet)(version>=3.0.0)(!(version>=4.0.0)))
19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3962)
19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
org.apache.felix.framework.Felix.startBundle(Felix.java:2025)
19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1279)
19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
java.lang.Thread.run(Thread.java:695)
followed by a bigger number of similar errors.
It seems that this is related to version 2.3.0 of org.apache.felix.http.jetty
which needs javax.servlet 3.0.
I've also found a Sling jira describing this and also the solution:
https://issues.apache.org/jira/browse/SLING-3468.
I've applied the described solution to the pom.xml file of the launcher I
am using.
I assume this would be a temporary solution since version 2.3.0 of the
felix jetty jar should be used in the future.
Regards,
Cristian
Re: javax.servlet depepdency error when starting server
Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Cristian,
I am currently in the progress of updating to 2.3.0 of the Apache
Felix HTTP modules. For using version 2.3.0 I needed to update the
launcher configuration as described by SLING-3401 [1]
As this version upgrade also affects the launcher configuration (incl.
custom launchers of Stanbol users) I created STANBOL-1356 [2] about
this.
best
Rupert
[1] https://issues.apache.org/jira/browse/SLING-3401
[2] https://issues.apache.org/jira/browse/STANBOL-1356
On Sat, Jun 14, 2014 at 12:52 PM, Cristian Petroaca
<cr...@gmail.com> wrote:
> Hi,
>
> I recently tried to start the stanbol server and I get this:
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.felix.http.jetty [5]: Unable to resolve 5.0: missing requirement
> [5.0] osgi.wiring.package;
> (&(osgi.wiring.package=javax.servlet)(version>=3.0.0)(!(version>=4.0.0)))
> 19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3962)
> 19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
> org.apache.felix.framework.Felix.startBundle(Felix.java:2025)
> 19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
> org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1279)
> 19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
> 19.03.2014 16:17:59.128 *ERROR* [FelixStartLevel] at
> java.lang.Thread.run(Thread.java:695)
>
> followed by a bigger number of similar errors.
>
> It seems that this is related to version 2.3.0 of org.apache.felix.http.jetty
> which needs javax.servlet 3.0.
>
> I've also found a Sling jira describing this and also the solution:
> https://issues.apache.org/jira/browse/SLING-3468.
>
> I've applied the described solution to the pom.xml file of the launcher I
> am using.
>
> I assume this would be a temporary solution since version 2.3.0 of the
> felix jetty jar should be used in the future.
>
> Regards,
> Cristian
--
| Rupert Westenthaler rupert.westenthaler@gmail.com
| Bodenlehenstraße 11 ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO ..........................................................................
| http://redlink.co/