문제

Using bndtools 2.0 and creating project as per latest Brindy Github version, Vaadin starts up and all works well when I create run bnd that pulls in dependencies based on felix http jetty and felix scr.

But if I try to run with org.eclipse.equinox.http.jetty etc. the servlet does not seem to be registered and vaadin fails to start.

When debugging into the code all of the ds component factory bits work OK but the servlet does not recognise the alias.

I am trying to get this to run before attempting to alter it for vaadin 7.

Any suggestions where the problem might be?

도움이 되었습니까?

해결책

It is now working..I had not entered org.eclipse.equinox.cm as a dependency.

Using these bundles provided the working result, with just one problem.

org.apache.felix.webconsole resulted in error

2013-02-12 12:20:14.441:WARN:/:ERROR: org.apache.felix.webconsole.internal.servlet.OsgiManager: Failed to instantiate plugin org.apache.felix.webconsole.internal.deppack.DepPackServlet

Caused by: java.lang.ClassNotFoundException: org.osgi.service.deploymentadmin.DeploymentException

id  State       Bundle
0   ACTIVE      org.eclipse.osgi_3.7.2.v20120110-1415
1   ACTIVE      com.vaadin_6.8.0
2   ACTIVE      javax.servlet_3.0.0.v201112011016
3   ACTIVE      org.eclipse.equinox.cm_1.0.400.v20120522-1841
4   ACTIVE      org.eclipse.equinox.ds_1.4.0.v20120522-1841
5   ACTIVE      org.eclipse.equinox.http.jetty_3.0.0.v20120522-1841
6   ACTIVE      org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841
7   ACTIVE      org.eclipse.equinox.util_1.0.300.v20110502
8   ACTIVE      org.eclipse.jetty.continuation_8.1.3.v20120522
9   ACTIVE      org.eclipse.jetty.http_8.1.3.v20120522
10  ACTIVE      org.eclipse.jetty.io_8.1.3.v20120522
11  ACTIVE      org.eclipse.jetty.security_8.1.3.v20120522
12  ACTIVE      org.eclipse.jetty.server_8.1.3.v20120522
13  ACTIVE      org.eclipse.jetty.servlet_8.1.3.v20120522
14  ACTIVE      org.eclipse.jetty.util_8.1.3.v20120522
15  ACTIVE      org.eclipse.osgi.services_3.3.100.v20120522-1822
16  ACTIVE      org.vaadin.osgi_0.0.0
17  ACTIVE      org.vaadin.osgi.staticres_0.0.0
18  ACTIVE      org.vaadin.guessit_0.0.0
19  ACTIVE      org.vaadin.guessit-support_0.0.0
20  ACTIVE      org.apache.felix.webconsole_3.1.8
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top