0 Replies Latest reply: Mar 21, 2010 5:42 PM by 807574 RSS

    Error when running Personal Glassfish v3

    807574
      When I try to deploy my server program with Personal Glassfish v3, I get this error:
      Mar 21, 2010 3:32:18 PM com.sun.enterprise.glassfish.bootstrap.ASMain main
      INFO: Launching GlassFish on Felix platform
      Welcome to Felix
      ================
      Mar 21, 2010 3:32:35 PM Main start
      WARNING: Exception while starting bundle com.sun.enterprise.osgi-adapter [84]
      org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [84].
              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:619)
      Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [150]         State [INSTALLED]         [org.glassfish.core.kernel(Kernel Classes):3.0.0.b74b]
              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 org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:172)
              at com.sun.hk2.component.InhabitantsParser.add(InhabitantsParser.java:154)
              at com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:133)
              at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.parseInhabitants(OSGiModuleImpl.java:373)
              at org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.parseInhabitants(OSGiModulesRegistryImpl.java:304)
              at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:142)
              at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:418)
              at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:122)
              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.admin.config-api [98]: package; (&(package=com.sun.grizzly.config.dom)(version>=1.9.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)
              ... 22 more
      ERROR: Error starting reference:file:/C:/Program%20Files%20(x86)/sges-v3/glassfish/modules/osgi-main.jar (org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-main [1].)
      java.lang.NullPointerException
              at org.jvnet.hk2.osgimain.Main.start(Main.java:130)
              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:619)
      Does anyone know the problem and/or how to fix it? It's stopping me from testing my program. I'm using NetBeans IDE on 64-bit Windows Vista, and the Glassfish server is the one that came with J2EE version 6.