users@glassfish.java.net

Re: glassfish v3 not starting

From: Sanjeeb Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 08 Jun 2010 06:14:05 +0530

Where did you get osgi-http.jar from? Try deleting
modules/autostart/osgi-http.jar.

On Tuesday 08 June 2010 02:21 AM, Eve Pokua wrote:
> Hi,
>
> This what I get from windows conmand line -
>
> C:\sges-v3\bin>asadmin start-domain
> Waiting for DAS to start
> .......................................................
> ................................................................................
> ................................................................................
> ........................................................................
>
>
>
>
> Any ideas or do I have to uninstall and install again?
>
> Thanks
>
> eve
>
> ------------------------------------------------------------------------
> From: gorgeous65_at_msn.com
> To: users_at_glassfish.dev.java.net
> Date: Mon, 7 Jun 2010 19:38:27 +0100
> Subject: glassfish v3 not starting
>
> Rrror below -
>
> k.BundleException: Activator start error in bundle
> org.glassfish.osgi-http [245]
> .|#]
> [#|2010-06-07T19:32:19.757+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/,
> felix.fileinstall.debug=1};|org.osgi.framework.BundleE
> xception: Activator start error in bundle org.glassfish.osgi-http [245].
> 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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundle
> s(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Direct
> oryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryW
> atcher.java:206)
> Caused by: java.lang.NullPointerException
> at org.glassfish.internal.api.Globals.get(Globals.java:56)
> at
> org.glassfish.osgihttp.Activator.getStandardContext(Activator.java:97
> )
> at org.glassfish.osgihttp.Activator.start(Activator.java:89)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:640)
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> ... 8 more
> |#]
> [#|2010-06-07T19:32:24.764+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/, felix.fileinstall.debug=1};|Error while
> starting bundl
> e: file:/C:/sges-v3/glassfish/modules/autostart/osgi-http.jar:
> org.osgi.framewor
> k.BundleException: Activator start error in bundle
> org.glassfish.osgi-http [245]
> .|#]
> [#|2010-06-07T19:32:24.764+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/,
> felix.fileinstall.debug=1};|org.osgi.framework.BundleE
> xception: Activator start error in bundle org.glassfish.osgi-http [245].
> 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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundle
> s(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Direct
> oryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryW
> atcher.java:206)
> Caused by: java.lang.NullPointerException
> at org.glassfish.internal.api.Globals.get(Globals.java:56)
> at
> org.glassfish.osgihttp.Activator.getStandardContext(Activator.java:97
> )
> at org.glassfish.osgihttp.Activator.start(Activator.java:89)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:640)
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> ... 8 more
> |#]
> [#|2010-06-07T19:32:29.772+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/, felix.fileinstall.debug=1};|Error while
> starting bundl
> e: file:/C:/sges-v3/glassfish/modules/autostart/osgi-http.jar:
> org.osgi.framewor
> k.BundleException: Activator start error in bundle
> org.glassfish.osgi-http [245]
> .|#]
> [#|2010-06-07T19:32:29.772+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/,
> felix.fileinstall.debug=1};|org.osgi.framework.BundleE
> xception: Activator start error in bundle org.glassfish.osgi-http [245].
> 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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundle
> s(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Direct
> oryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryW
> atcher.java:206)
> Caused by: java.lang.NullPointerException
> at org.glassfish.internal.api.Globals.get(Globals.java:56)
> at
> org.glassfish.osgihttp.Activator.getStandardContext(Activator.java:97
> )
> at org.glassfish.osgihttp.Activator.start(Activator.java:89)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:640)
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> ... 8 more
> |#]
> [#|2010-06-07T19:32:34.795+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/, felix.fileinstall.debug=1};|Error while
> starting bundl
> e: file:/C:/sges-v3/glassfish/modules/autostart/osgi-http.jar:
> org.osgi.framewor
> k.BundleException: Activator start error in bundle
> org.glassfish.osgi-http [245]
> .|#]
> [#|2010-06-07T19:32:34.795+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/,
> felix.fileinstall.debug=1};|org.osgi.framework.BundleE
> xception: Activator start error in bundle org.glassfish.osgi-http [245].
> 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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundle
> s(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Direct
> oryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryW
> atcher.java:206)
> Caused by: java.lang.NullPointerException
> at org.glassfish.internal.api.Globals.get(Globals.java:56)
> at
> org.glassfish.osgihttp.Activator.getStandardContext(Activator.java:97
> )
> at org.glassfish.osgihttp.Activator.start(Activator.java:89)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:640)
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> ... 8 more
> |#]
> [#|2010-06-07T19:32:39.818+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/, felix.fileinstall.debug=1};|Error while
> starting bundl
> e: file:/C:/sges-v3/glassfish/modules/autostart/osgi-http.jar:
> org.osgi.framewor
> k.BundleException: Activator start error in bundle
> org.glassfish.osgi-http [245]
> .|#]
> [#|2010-06-07T19:32:39.818+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/,
> felix.fileinstall.debug=1};|org.osgi.framework.BundleE
> xception: Activator start error in bundle org.glassfish.osgi-http [245].
> 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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundle
> s(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Direct
> oryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryW
> atcher.java:206)
> Caused by: java.lang.NullPointerException
> at org.glassfish.internal.api.Globals.get(Globals.java:56)
> at
> org.glassfish.osgihttp.Activator.getStandardContext(Activator.java:97
> )
> at org.glassfish.osgihttp.Activator.start(Activator.java:89)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:640)
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> ... 8 more
> |#]
> [#|2010-06-07T19:32:44.841+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/, felix.fileinstall.debug=1};|Error while
> starting bundl
> e: file:/C:/sges-v3/glassfish/modules/autostart/osgi-http.jar:
> org.osgi.framewor
> k.BundleException: Activator start error in bundle
> org.glassfish.osgi-http [245]
> .|#]
> [#|2010-06-07T19:32:44.841+0100|INFO|null|javax.enterprise.system.std.com.sun.en
> terprise.v3.services.impl|_ThreadID=13;_ThreadName={felix.fileinstall.poll=5000,
> felix.fileinstall.bundles.new.start=true,
> felix.fileinstall.dir=C:\sges-v3\glas
> sfish/modules/autostart/,
> felix.fileinstall.debug=1};|org.osgi.framework.BundleE
> xception: Activator start error in bundle org.glassfish.osgi-http [245].
> 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.apache.felix.framework.BundleImpl.start(BundleImpl.java:902)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1027)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.start(Director
> yWatcher.java:1013)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundle
> s(DirectoryWatcher.java:1006)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.process(Direct
> oryWatcher.java:396)
> at
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryW
> atcher.java:206)
> Caused by: java.lang.NullPointerException
> at org.glassfish.internal.api.Globals.get(Globals.java:56)
> at
> org.glassfish.osgihttp.Activator.getStandardContext(Activator.java:97
> )
> at org.glassfish.osgihttp.Activator.start(Activator.java:89)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:640)
> at
> org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
> ... 8 more
> |#]
>
>
> It was working before!
>
> Thanks
>
> eve
>
> ------------------------------------------------------------------------
> Get a free e-mail account with Hotmail. Sign-up now.
> <http://clk.atdmt.com/UKM/go/197222280/direct/01/>
> ------------------------------------------------------------------------
> Get a free e-mail account with Hotmail. Sign-up now.