Error « osgi « Java Enterprise Q&A





1. osgi: fragment is not working outside eclipse pde (and no error appeared)    stackoverflow.com

Context of this problem: OSGi and Eclipse Platform. I've got bundle (plugin) which is host for some fragment. Fragment is running only when I start it through Eclipse "run configuration" (I add ...

2. Error while deploying a web application in OSGI container using pax web    stackoverflow.com

Hello I am trying to deploy a web application in a Felix container. I have all the required configuration done with my web app like the setting up of the manifest headers: Webapp-Context: Bundle-ClassPath: Bundle-Activator: ...

3. Eclipse projects get compile errors, cant find org.eclipse.* or org.osgi.*    stackoverflow.com

Sometimes I get compilation problems with my Eclipse projects, they suddenly cant find any org.eclipse.* packages and therefore nothing compiles. It doesnt happen that often, so I havent been able to ...

4. eclipse error - org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.net.Activator.start()    stackoverflow.com

i have the following error message written to the workspace log file... i tried several different Eclipse versions and fresh workspaces...

!SESSION 2011-01-11 16:56:49.375 -----------------------------------------------
eclipse.buildId=M20100909-0800 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: ...

5. OSGI bundle error: Unresolved package in bundle 73:package=org.apache.commons.httpclient    stackoverflow.com

  1. I have to use camel-http component.
  2. I added the dependencies in the POM file. (Code Listing 1)
  3. I started getting Unresolved package error for "package=org.apache.commons.httpclient" at Runtime.
  4. So I have added ...

6. OSGI expose An "ClassNotFoundException: org.w3c.dom.***" Error when release    stackoverflow.com

I only wrote the following codes in Activator.start() function

    public void start(BundleContext bundleContext) throws Exception {
    Activator.context = bundleContext;
    Node ...