dev@glassfish.java.net

osgi problem

From: Justin Lee <Justin.Lee_at_Sun.COM>
Date: Fri, 27 Mar 2009 15:16:31 -0400

I'm having a problem launching glassfish using the distribution I just
built. glassfish just sits there at start up. if I pass --verbose to
start-domain, I get what you see in asadmin.out (attached). Using
jstack, I can see that glassfish is stuck of in felix code. It spent a
couple of hours there last night when I left it running to see if it'd
ever make it out. The attached pom.xml is what I'm using to generate my
bundle in the grizzly-config module. The bundles in question, as best
as I can tell, are:

10 glassfish/modules/common-util.jar
68 modules/stax-osgi.jar

If i remove my grizzly-config.jar from modules, I get errors about
missing bundles (mine) but when I put it back i get what you see in
asadmin.out for as long as I care to let it run. I'm not sure what I'm
missing but I've run out of ideas to try. Anyone see what I'm missing?


Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: 1.6.0_07 (Apple Inc.)
Built-By: jlee
Build-Jdk: 1.6.0_07
Extension-Name: grizzly-config
Specification-Vendor: SUN Microsystems
Implementation-Vendor: SUN Microsystems
Implementation-Title: grizzly-config
Implementation-Version: 1.9.11-SNAPSHOT
HK2-Import-Bundles: com.sun.enterprise:hk2
HK2-Class-Path-Id: com.sun.enterprise:stax-osgi:jar:0.3.41 javax.xml.s
 tream:stax-api:jar:1.0-2 woodstox:wstx-asl:jar:3.2.3 javax.xml.bind:j
 axb-api:jar:2.1 javax.activation:activation:jar:1.1 com.sun.grizzly:g
 rizzly-http:jar:1.9.11-SNAPSHOT com.sun.grizzly:grizzly-framework:jar
 :1.9.11-SNAPSHOT com.sun.grizzly:grizzly-utils:jar:1.9.11-SNAPSHOT co
 m.sun.grizzly:grizzly-rcm:jar:1.9.11-SNAPSHOT com.sun.grizzly:grizzly
 -portunif:jar:1.9.11-SNAPSHOT com.sun.enterprise:osgi-adapter:jar:0.3
 .45
HK2-Bundle-Name: com.sun.grizzly:grizzly-config
Class-Path: stax-osgi.jar stax-api.jar wstx-asl.jar jaxb-api.jar activ
 ation.jar grizzly-http.jar grizzly-framework.jar grizzly-utils.jar gr
 izzly-rcm.jar grizzly-portunif.jar osgi-adapter.jar
Export-Package: com.sun.grizzly.config.dom;uses:="org.jvnet.hk2.compon
 ent,org.jvnet.hk2.config,org.jvnet.hk2.annotations";version="1.9.11.S
 NAPSHOT",com.sun.grizzly.config;uses:="com.sun.grizzly.filter,com.sun
 .grizzly,com.sun.grizzly.portunif,com.sun.grizzly.ssl,org.jvnet.hk2.c
 onfig,com.sun.grizzly.util.net,org.jvnet.hk2.annotations,com.sun.griz
 zly.tcp,com.sun.grizzly.http,javax.net.ssl,javax.naming,com.sun.grizz
 ly.util.http.mapper,com.sun.grizzly.util.http,com.sun.grizzly.standal
 one,com.sun.hk2.component,com.sun.grizzly.util.buf,com.sun.grizzly.co
 nfig.dom,org.jvnet.hk2.component,com.sun.grizzly.http.portunif,com.su
 n.grizzly.util,com.sun.grizzly.arp";version="1.9.11.SNAPSHOT",dtd;ver
 sion="1.9.11.SNAPSHOT"
Tool: Bnd-0.0.255
Bundle-Name: grizzly-config
Bundle-Vendor: SUN Microsystems
Bundle-Version: 1.9.11.SNAPSHOT
Bnd-LastModified: 1238178378770
Bundle-ManifestVersion: 2
Bundle-License: https://glassfish.dev.java.net/public/CDDLv1.0.html
Import-Package: com.sun.grizzly,com.sun.grizzly.arp,com.sun.grizzly.co
 nfig;version="1.9.11.SNAPSHOT",com.sun.grizzly.config.dom;version="1.
 9.11.SNAPSHOT",com.sun.grizzly.filter,com.sun.grizzly.http,com.sun.gr
 izzly.http.portunif,com.sun.grizzly.portunif,com.sun.grizzly.ssl,com.
 sun.grizzly.standalone,com.sun.grizzly.tcp,com.sun.grizzly.util,com.s
 un.grizzly.util.buf,com.sun.grizzly.util.http,com.sun.grizzly.util.ht
 tp.mapper,com.sun.grizzly.util.net,com.sun.hk2.component;version="0.3
 ",dtd;version="1.9.11.SNAPSHOT",javax.naming,javax.net.ssl,org.jvnet.
 hk2.annotations;version="0.3",org.jvnet.hk2.component;version="0.3",o
 rg.jvnet.hk2.config;version="0.3"
Bundle-SymbolicName: com.sun.grizzly.grizzly-config
Bundle-DocURL: http://www.sun.com