glassfish
  1. glassfish
  2. GLASSFISH-5097

failure to start results in "Framework successfully started"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: V3
    • Fix Version/s: 4.0
    • Component/s: other
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      5,097
    • Status Whiteboard:
      Hide

      gfv3-prelude-excluded

      Show
      gfv3-prelude-excluded

      Description

      The user is informed that "Framework successfully started", but it hasn't been. The startup process
      should detect the failure, report it as a failure, then abort. It's unclear why this build is not starting,
      but that is irrelevant; the point here is that the server doesn't start properly, yet reports that it has.

      -----------

      — Creating new installation in /v3/run —
      --- unjarring /v3/code/distributions/web/target/web.zip---
      DONE

      Jun 3, 2008 10:22:43 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
      INFO: JVM invocation command line:
      /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
      -cp
      /v3/run/modules/glassfish-10.0-SNAPSHOT-sources.jar:/v3/run/modules/glassfish-10.0-
      SNAPSHOT.jar
      -XX:+UnlockDiagnosticVMOptions
      -XX:NewRatio=2
      -XX:+LogVMOutput
      -XX:LogFile=/v3/run/domains/domain1/logs/jvm.log
      -Xmx512m
      -client
      -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
      -Djavax.net.ssl.trustStore=/v3/run/domains/domain1/config/cacerts.jks
      -Dsun.rmi.dgc.client.gcInterval=3600000
      -Djavax.net.ssl.keyStore=/v3/run/domains/domain1/config/keystore.jks
      -Djava.security.policy=/v3/run/domains/domain1/config/server.policy
      -Dsun.rmi.dgc.server.gcInterval=3600000
      -
      Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.
      AppserverConfigEnvironmentFactory
      -Djava.security.auth.login.config=/v3/run/domains/domain1/config/login.conf
      -Djava.endorsed.dirs=/v3/run/lib/endorsed
      -
      Djava.ext.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext:/System
      /Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/jre/lib/ext:/v3/run/domains/domain1/
      lib/ext:/v3/run/javadb/lib
      com.sun.enterprise.glassfish.bootstrap.ASMain
      -domainname
      domain1
      -instancename
      server
      -verbose
      true
      -debug
      false
      -domaindir
      /v3/run/domains/domain1
      Jun 3, 2008 10:22:43 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
      INFO: Successfully launched in 154 msec.
      Jun 3, 2008 10:22:43 AM com.sun.enterprise.glassfish.bootstrap.ASMain main
      INFO: Launching GlassFish on Apache Felix OSGi platform
      Jun 3, 2008 10:22:43 AM com.sun.enterprise.glassfish.bootstrap.ASMainOSGi getSharedRepos
      INFO: /v3/run/domains/domain1/lib does not exist

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

      Jun 3, 2008 10:22:43 AM HK2Main start
      INFO: contextRootDir = /v3/run/modules
      Jun 3, 2008 10:22:43 AM OSGiFactoryImpl initialize
      INFO: Singleton already initialized as com.sun.enterprise.module.impl.HK2Factory@a4aad7f
      ERROR: Error starting file:/v3/run//modules/osgi-adapter-0.3.1.jar
      (org.osgi.framework.BundleException: Activator start error.)
      com.sun.enterprise.module.ResolveError: Failed to start org.glassfish.core:kernel:1.0
      at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:112)
      at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:121)
      at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1.loadClass(OSGiModuleImpl.java:256)
      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:155)
      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:273)
      at
      org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.parseInhabitants(OSGiModulesRegistryImpl.java:10
      4)
      at
      com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModules
      RegistryImpl.java:135)
      at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:392)
      at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:114)
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:591)
      at org.apache.felix.framework.Felix._startBundle(Felix.java:1610)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
      at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1125)
      at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
      at java.lang.Thread.run(Thread.java:637)
      Caused by: org.osgi.framework.BundleException: Unresolved package in bundle 15: module;
      (&(bundle-symbolic-name=com.sun.enterprise.hk2)(bundle-version>=0.3.1)(bundle-version<=0.3.1))
      at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
      at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
      at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:109)
      ... 18 more
      Jun 3, 2008 10:22:44 AM com.sun.enterprise.glassfish.bootstrap.ASMainFelix launchOSGiFW
      INFO: Framework successfully started

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Tom Mueller
            Reporter:
            llc
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: