Hi David,
What I did is building a geronimo-jetty8-minimal assembly, starting it, and
then installing and activating welcome-jetty car bundle on it.
The build order of geronimo-jetty8-minimal assembly as follows:
framework->plugins->plugingroups/web-jetty(disable some
modules)->assemblies/geronimo-jetty8-minimal
When first starting the assembly, jetty8-deployer bundle seems not activated
correctly, and it suspends the server boot.
Exceptions as below:
WARN [DependencyManager] Could not install bundle for artifact:
org.apache.geronimo.configs/connector-deployer-1_6//car
org.osgi.framework.BundleException: Unable to cache bundle:
mvn:org.apache.geronimo.configs/connector-deployer-1_6/null/car
at org.apache.felix.framework.Felix.installBundle(Felix.java:2321)
...
Caused by: java.lang.RuntimeException: URL
[mvn:org.apache.geronimo.configs/connector-deployer-1_6/null/car] could not
be resolved.
WARN [DependencyManager] Could not install bundle for artifact:
org.apache.geronimo.configs/jetty8//car
org.osgi.framework.BundleException: Unable to cache bundle:
mvn:org.apache.geronimo.configs/jetty8/null/car
at org.apache.felix.framework.Felix.installBundle(Felix.java:2321)
...
Caused by: java.lang.RuntimeException: URL
[mvn:org.apache.geronimo.configs/jetty8/null/car] could not be resolved.
WARN [DependencyManager] Could not install bundle for artifact:
org.apache.geronimo.configs/j2ee-deployer//car
org.osgi.framework.BundleException: Unable to cache bundle:
mvn:org.apache.geronimo.configs/j2ee-deployer/null/car
...
Caused by: java.lang.RuntimeException: URL
[mvn:org.apache.geronimo.configs/j2ee-deployer/null/car] could not be
resolved.
WARN [DependencyManager] Could not install bundle for artifact:
org.apache.geronimo.modules/geronimo-web-2.5-builder//jar
org.osgi.framework.BundleException: Unable to cache bundle:
mvn:org.apache.geronimo.modules/geronimo-web-2.5-builder/null
...
Caused by: java.lang.RuntimeException: URL
[mvn:org.apache.geronimo.modules/geronimo-web-2.5-builder/null] could not be
resolved.
Startup failed
org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.geronimo.configs/jetty8-deployer/3.0-SNAPSHOT/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:305)
at
org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:145)
at
org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:81)
at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:109)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle org.apache.geronimo.configs.jetty8-deployer [125]: package;
(package=org.apache.geronimo.jetty8.deployment)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:300)
... 5 more
Seems we need to adjust the module dependencies of web-jetty to ensure the
necessary dependent bundles installed and activate.
Please share your thoughts about why it does not work if doing like that.
thanks!
Forrest