users@glassfish.java.net

Re: Update Tool Causes Death to Domain

From: Snjezana Sevo-Zenzerovic <snjezana.sevozenzerovic_at_oracle.com>
Date: Wed, 18 Aug 2010 14:42:32 -0700

It seems that you installed Felix web console package on top of your
GlassFish installation and this package works only with recent GlassFish
3.1 builds and not with the original GlassFish v3 - unfortunately,
package version dependencies are not enforced strictly enough and this
will get fixed.

Things should get back to normal if you run updatetool and uninstall
glassfish-osgi-http and glassfish-osgi-admin-console packages.

glassfish_at_javadesktop.org wrote:
> After running the update tool on a test domain I was not able to get it to start.
>
> The version from the admin page shows: GlassFish v3 (build 74.2) but I'm not sure that is right, since the other prod domains have not been restarted.
>
> After building the new domain, I ran the update tool. I then shut the domain down. When I attemped to start it - it times out.
>
> A review of the server.log looks as though there is a dependency problem in one of the OSGi bundles:
>
> [#|2010-08-17T15:41:20.538-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Thread-1;|Error while starting bundle: file:/opt/glassfishv3/glassfish/modules/autostart/org.apache.felix.webconsole.jar: org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.osgi-http [279]: package; (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))|#]
>
> [#|2010-08-17T15:41:20.538-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Thread-1;|org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.osgi-http [279]: package; (&(package=com.sun.enterprise.config.serverbeans)(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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
> |#]
>
> [#|2010-08-17T15:41:25.541-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Thread-1;|Error while starting bundle: file:/opt/glassfishv3/glassfish/modules/autostart/osgi-http.jar: org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.osgi-http [279]: package; (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))|#]
>
> [#|2010-08-17T15:41:25.542-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Thread-1;|org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.osgi-http [279]: package; (&(package=com.sun.enterprise.config.serverbeans)(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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
> |#]
>
> [#|2010-08-17T15:41:25.542-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Thread-1;|Error while starting bundle: file:/opt/glassfishv3/glassfish/modules/autostart/org.apache.felix.webconsole.jar: org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.osgi-http [279]: package; (&(package=com.sun.enterprise.config.serverbeans)(version>=3.1.0))|#]
>
> [#|2010-08-17T15:41:25.543-0700|INFO|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=12;_ThreadName=Thread-1;|org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.osgi-http [279]: package; (&(package=com.sun.enterprise.config.serverbeans)(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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1027)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1013)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1006)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:396)
> at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:206)
> |#]
>
>
> Does anyone out there know how to resolve this? We really like some elements of GFv3 - but this could be a game changer for us. If we have to rebuild the server (again) I don't think we'll use GFv3.
>
> TIA
> [Message sent by forum member 'javamonkey79']
>
> http://forums.java.net/jive/thread.jspa?messageID=480513
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
Oracle <http://www.oracle.com>
Snjezana Sevo-Zenzerovic
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment