users@glassfish.java.net

Re: Update Tool Causes Death to Domain

From: <glassfish_at_javadesktop.org>
Date: Wed, 18 Aug 2010 17:30:51 PDT

Ok, I got the pkg command installed by running yum and installing the libidn. I also ran both of these:
sudo ./pkg uninstall glassfish-osgi-admin-console
sudo ./pkg uninstall glassfish-osgi-http

It kinda looked like it worked and I'm not seeing any complaints in the log anymore, however, I am seeing this still:

[#|2010-08-18T17:07:43.536-0700|WARNING|glassfishv3.0|org.jvnet.hk2.osgimain|_ThreadID=11;_ThreadName=Thread-1;|Exception while starting bundle com.sun.enterprise.osgi-adapter [45]
org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [45].
        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:636)
Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [19] State [INSTALLED] [org.glassfish.ha.shoal-cache-bootstrap(GlassFish ha-shoal-cache-bootstrap):3.1.0.b15]
        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:611)
        at java.util.PriorityQueue.siftUp(PriorityQueue.java:589)
        at java.util.PriorityQueue.offer(PriorityQueue.java:291)
        at java.util.PriorityQueue.add(PriorityQueue.java:268)
        at java.util.AbstractQueue.addAll(AbstractQueue.java:189)
        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 [19]: 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
|#]

I'm guessing I need to also uninstall: org.glassfish.ha.shoal-cache-bootstrap

But I am not 100% sure and would rather be safe than sorry...
[Message sent by forum member 'javamonkey79']

http://forums.java.net/jive/thread.jspa?messageID=480526