geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Genc, Ă–mer <>
Subject LifecycleException on startup after server crash
Date Fri, 23 Jan 2015 08:54:39 GMT
Hey there,

i am having problems with deploying my artifacts on geronimo server after the server crashed.
I am using Geronimo 3.0.1. When starting with a fresh geronimo installation, my ear can be
deployed and works correctly.
However, if the module is already deployed on the server and the server crashes, the server
has problems starting up again.
The reason for this is my ear. On startup the server fails with the following exception, while
trying to load my ear:

org.apache.geronimo.kernel.config.LifecycleException: load of TEST/ failed
       at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(
       at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(
       at org.apache.geronimo.system.main.EmbeddedDaemon.execute(
       at org.apache.geronimo.system.osgi.BootActivator$1.execute(
       at org.apache.geronimo.main.Bootstrapper.start(
       at org.apache.geronimo.main.Bootstrapper.execute(
       at org.apache.geronimo.cli.AbstractCLI.executeMain(
       at org.apache.geronimo.cli.daemon.DaemonCLI.main(
Caused by: org.osgi.framework.BundleException: The bundle " [378]"
could not be resolved. Reason: Missing Constraint: Import-Package: org.osgi.service.prefs;
       at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(
       at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(
       at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(
       at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(
       at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(
       ... 7 more

Restarting the server does not solve the problem. The only way to solve this is to manually
delete the artifact from the repository using the command line or the file system.
However, this is a no-op for me. Can anyone give me an advice, where to look and why the server
has problems loading my ear on startup?

Thanks in advance,

View raw message