[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Configure Jetty in OSGi

I am trying to create a Jetty Fragment which includes the jetty.xml file to configure Jetty within my OSGi container.  I can include the fragment and it get's resolved but the changes implemented in the jetty.xml file are not taking affect.  What should the fragment host be for the Jetty fragment.  Below is the latest MANIFEST file as well the list of bundles in my OSGi container.
 
Manifest-Version: 1.0
Built-By: me
Created-By: Apache Maven Bundle Plugin
Bundle-License: http://www.something.com/
Bnd-LastModified: 1240859452761
Bundle-Version: 1.2.0.SNAPSHOT
Bundle-Name: Jetty Fragment
Bundle-Description: A bundle fragment for configuring Jetty
Build-Jdk: 1.5.0_09
Private-Package: etc
Bundle-DocURL: http://ace.norforge.something.com
Bundle-Vendor: Product Name
Bundle-ManifestVersion: 2
Fragment-Host: org.eclipse.equinox.http.servlet
Bundle-SymbolicName: JettyFragment
Tool: Bnd-0.0.255
Embed-Dependency: *;scope=compile|runtime;inline=true
osgi> ss
 
Framework is launched.
 
id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.4.2.R34x_v20080826-1230
1       ACTIVE      org.eclipse.equinox.common_3.4.0.v20080421-2006
2       ACTIVE      org.eclipse.update.configurator_3.2.201.R34x_v20080819
3       ACTIVE      org.eclipse.equinox.http.jetty_2.0.0.v20080425
4       ACTIVE      org.eclipse.core.commands_3.4.0.I20080509-2000
5       ACTIVE      org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
6       ACTIVE      org.eclipse.osgi.util_3.1.300.v20080303
7       ACTIVE      org.eclipse.osgi.services_3.1.200.v20071203
8       ACTIVE      org.eclipse.equinox.launcher_1.0.101.R34x_v20080819
9       ACTIVE      org.eclipse.core.expressions_3.4.0.v20080603-2000
10      ACTIVE      org.eclipse.core.contenttype_3.3.0.v20080604-1400
11      ACTIVE      third-party-dependencies-bundle_1.0.0
                    Fragments=23
12      ACTIVE       (CUSTOM APP)
13      ACTIVE       (CUSTOM APP)
14      ACTIVE       (CUSTOM APP)
15      ACTIVE       (CUSTOM APP)
16      ACTIVE       (CUSTOM APP)
17      ACTIVE       (CUSTOM APP)
18      RESOLVED    org.apache.commons.logging_1.0.4.v20080605-1930
21      ACTIVE      org.eclipse.equinox.app_1.1.0.v20080421-2006
23      RESOLVED    Log4JProperties_1.2.0.SNAPSHOT (log4j.properties)
                    Master=11
28      RESOLVED    org.mortbay.jetty.util_6.1.11
32      RESOLVED    org.mortbay.jetty.servlet-api-2.5_2.5.0
33      RESOLVED    org.mortbay.jetty.server_6.1.11
34      ACTIVE      org.eclipse.equinox.preferences_3.2.201.R34x_v20080709
36      RESOLVED    JettyFragment_1.2.0.SNAPSHOT
                    Master=37
37      ACTIVE      org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
                    Fragments=36
39      RESOLVED    slf4j.simple_1.3.1
41      ACTIVE      org.eclipse.equinox.registry_3.4.0.v20080516-0950
43      RESOLVED    javax.servlet_2.4.0.v200806031604
44      ACTIVE      org.eclipse.core.runtime.compatibility.auth_3.2.100.v20070502
45      RESOLVED    org.mortbay.jetty.jsp-api-2.1_2.1.0
46      RESOLVED    org.mortbay.jetty.management_6.1.11
49      ACTIVE      org.eclipse.core.runtime_3.4.0.v20080512
52      ACTIVE      org.eclipse.core.jobs_3.4.0.v20080512
53      RESOLVED    slf4j.api_1.3.1
Michael Vandenberg