dev@glassfish.java.net

Galssfish startup problems

From: Kin-man Chung <Kin-Man.Chung_at_Sun.COM>
Date: Thu, 18 Jun 2009 14:28:53 -0700

I just did a "svn update" followed by a "mvn -U clean install".

When I startup glassfish with "./asadmin start-domain --verbose --debug"
I first got the following

INFO: Launching GlassFish on Felix platform

Welcome to Felix.
=================

java.lang.NullPointerException
         at
org.apache.felix.framework.cache.JarRevision.getManifestHeader(JarRevision.java:98)
         at
org.apache.felix.framework.BundleImpl.createModule(BundleImpl.java:965)
         at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:79)
         at org.apache.felix.framework.Felix.installBundle(Felix.java:2123)
         at org.apache.felix.framework.Felix.installBundle(Felix.java:2026)
         at
org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
         at org.jvnet.hk2.osgimain.Main.installBundle(Main.java:153)
         at org.jvnet.hk2.osgimain.Main.access$000(Main.java:66)
         at org.jvnet.hk2.osgimain.Main$1.accept(Main.java:139)
         at java.io.File.listFiles(File.java:1134)
         at org.jvnet.hk2.osgimain.Main.installBundles(Main.java:131)
         at org.jvnet.hk2.osgimain.Main.start(Main.java:95)
         at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
         at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)
         at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
         at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
         at java.lang.Thread.run(Thread.java:619)


which may or may not be OK.

Then it got stuck at felix.fileinstall.bundles.new.start:

Jun 18, 2009 1:59:52 PM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Jun 18, 2009 1:59:52 PM
INFO: felix.fileinstall.poll (ms) 5000
Jun 18, 2009 1:59:52 PM
INFO: felix.fileinstall.dir
/export/work/v3x/glassfishv3/glassfish/domains/domain1/autodeploy-bundles
Jun 18, 2009 1:59:52 PM
INFO: felix.fileinstall.debug 1
Jun 18, 2009 1:59:52 PM
INFO: felix.fileinstall.bundles.new.start true
Jun 18, 2009 2:03:58 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.extras.grizzly-container [101]

Note the 3 minute elapse time.

Eventually it went on but got stuck again.

...
INFO: Started bundle org.glassfish.security [179]
Jun 18, 2009 2:03:58 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.scripting.gf-jruby-connector [78]
Jun 18, 2009 2:03:58 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.appclient.server.appclient-connector [22]
Jun 18, 2009 2:03:58 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.web.gf-web-connector [79]
Jun 18, 2009 2:03:58 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.webservices.jsr109-impl [147]
Jun 18, 2009 2:03:58 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.extras.osgi-container [172]

And it been there for 25 minutes.

Did anyone also has this problem?