users@glassfish.java.net

Unable to launch Glassfish

From: Florent THOMAS <mailinglist_at_tdeo.fr>
Date: Mon, 04 Oct 2010 17:13:54 +0000

  Hy,

A few months ago I've planned automated updates for GF3.0.1. I've
accepted all the updates during the past few weeks.
Now, I'm try to launch the server what I haven't done since a month.
Unfortunately I have the following message :

/4 oct. 2010 17:09:11 com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Felix platform
Welcome to Felix
================
ATTENTION: Exception while starting bundle
com.sun.enterprise.osgi-adapter [139]
org.osgi.framework.BundleException: Activator start error in bundle
com.sun.enterprise.osgi-adapter [139].
         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
         at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
         at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
         at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
         at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
         at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.enterprise.module.ResolveError: Failed to start
Bundle Id [264] State [INSTALLED]
[org.glassfish.ha.shoal-cache-bootstrap(GlassFish
ha-shoal-cache-bootstrap):3.1.0.b22]
         at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
         at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
         at
com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
         at
com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:78)
         at
com.sun.enterprise.v3.server.AppServerStartup$2.compare(AppServerStartup.java:439)
         at
com.sun.enterprise.v3.server.AppServerStartup$2.compare(AppServerStartup.java:437)
         at
java.util.PriorityQueue.siftUpUsingComparator(PriorityQueue.java:594)
         at java.util.PriorityQueue.siftUp(PriorityQueue.java:572)
         at java.util.PriorityQueue.offer(PriorityQueue.java:274)
         at java.util.PriorityQueue.add(PriorityQueue.java:251)
         at java.util.AbstractQueue.addAll(AbstractQueue.java:161)
         at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:224)
         at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128)
         at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
         at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
         at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125)
         at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
         at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
         ... 9 more
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle org.glassfish.ha.shoal-cache-bootstrap [264]: package;
(&(package=org.glassfish.api)(version>=3.1.0))
         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.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:166)
         ... 26 more

INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
{mypath}/Serveurs/Glassfish-3.0.1/glassfish/domains/domain1/autodeploy/bundles,
felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start =
false, felix.fileinstall.tmpdir = /tmp/fileinstall--7118351905251961116,
felix.fileinstall.filter = null}
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
{mypath}/Serveurs/Glassfish-3.0.1/glassfish/modules/autostart,
felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true,
felix.fileinstall.tmpdir = /tmp/fileinstall--1322483304132601077,
felix.fileinstall.filter = null}
INFO: Started bundle:
file:{mypath}/Serveurs/Glassfish-3.0.1/glassfish/modules/autostart/osgi-web-container.jar
INFO: Started bundle:
file:{mypath}/Serveurs/Glassfish-3.0.1/glassfish/modules/autostart/org.apache.felix.scr.jar
INFO: Updating configuration from
org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: Installed
{mypath}/Serveurs/Glassfish-3.0.1/glassfish/modules/autostart/org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir =
{mypath}/Serveurs/Glassfish-3.0.1/glassfish/domains/domain1/autodeploy/bundles,
felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start =
false, felix.fileinstall.tmpdir = /tmp/fileinstall-1661230202875482683,
felix.fileinstall.filter = null}
/
I've googled a bit maybe a wrong way because I didn't succeed in finding
a solution for this issue.

If anyone can help it would be useful.

Best regards