ejp-152x-105:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/bin # ./asadmin start-domain -v Jul 16, 2012 9:56:22 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info INFO: JVM invocation command line: /space/sony/tools/jdk/bin/java -cp /space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:MaxPermSize=192m -XX:NewRatio=2 -Xmx512m -client -javaagent:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/lib/monitor/flashlight-agent.jar -Dfelix.fileinstall.disableConfigSave=false -Djavax.net.ssl.keyStore=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1/config/keystore.jks -Djava.awt.headless=true -Dfelix.fileinstall.poll=5000 -Djava.endorsed.dirs=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/endorsed:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/lib/endorsed -Dfelix.fileinstall.bundles.startTransient=true -Djavax.net.ssl.trustStore=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1/config/cacerts.jks -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.security.auth.login.config=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1/config/login.conf -Dgosh.args=--nointeractive -Dosgi.shell.telnet.maxconn=1 -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Dfelix.fileinstall.dir=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/autostart/ -Dosgi.shell.telnet.port=6666 -Djava.security.policy=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1/config/server.policy -Dfelix.fileinstall.log.level=2 -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dosgi.shell.telnet.ip=127.0.0.1 -Dcom.sun.aas.instanceRoot=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1 -Dcom.sun.aas.installRoot=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish -Djava.ext.dirs=/space/sony/tools/jdk/lib/ext:/space/sony/tools/jdk/jre/lib/ext:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1/lib/ext -Dfelix.fileinstall.bundles.new.start=true -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall -Djava.library.path=/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/lib:/space/sony/tools/jdk1.6.0_16/jre/lib/amd64/server:/space/sony/tools/jdk1.6.0_16/jre/lib/amd64:/space/sony/tools/jdk1.6.0_16/lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib com.sun.enterprise.glassfish.bootstrap.ASMain -domainname domain1 -asadmin-args --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=true,,,--watchdog=false,,,--debug=false,,,--domaindir,,,/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains,,,domain1 -instancename server -verbose true -debug false -asadmin-classpath /space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/admin-cli.jar -asadmin-classname com.sun.enterprise.admin.cli.AsadminMain -upgrade false -type DAS -domaindir /space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1 -read-stdin true Launching GlassFish on Felix platform Jul 16, 2012 9:56:23 AM com.sun.enterprise.glassfish.bootstrap.ASMainHelper$PlatformHelper getFrameworkConfigFile INFO: Using /space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/domains/domain1/config/osgi.properties as the framework configuration file. Jul 16, 2012 9:56:23 AM BundleProvisioner createBundleProvisioner INFO: clazz = class com.sun.enterprise.glassfish.bootstrap.osgi.MinimalBundleProvisioner Jul 16, 2012 9:56:24 AM MinimalBundleProvisioner hasAnyThingChanged INFO: false : latest file in installation location = file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/ and latest installed bundle = file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/webservices-extra-jdk-packages.jar Jul 16, 2012 9:56:24 AM MinimalBundleProvisioner startBundles INFO: Skipping starting of bundles bundles have been provisioned already org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.core [5]: Unable to resolve 5.0: missing requirement [5.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.hk2.component)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.host; (&(osgi.wiring.host=org.glassfish.hk2.api)(bundle-version>=0.0.0)) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))]] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:619) org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.api [6]: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0))) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) ERROR: Bundle org.glassfish.hk2.core [5] Error starting file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/core.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.core [5]: Unable to resolve 5.0: missing requirement [5.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.hk2.component)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.host; (&(osgi.wiring.host=org.glassfish.hk2.api)(bundle-version>=0.0.0)) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))]]) ERROR: Bundle org.glassfish.hk2.api [6] Error starting file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/hk2-api.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.api [6]: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:619) org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.locator [9]: Unable to resolve 9.0: missing requirement [9.0] osgi.wiring.package; (osgi.wiring.package=net.sf.cglib.proxy) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) ERROR: Bundle org.glassfish.hk2.locator [9] Error starting file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/hk2-locator.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.locator [9]: Unable to resolve 9.0: missing requirement [9.0] osgi.wiring.package; (osgi.wiring.package=net.sf.cglib.proxy)) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:619) org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.runlevel [11]: Unable to resolve 11.0: missing requirement [11.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:619) org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.config-types [12]: Unable to resolve 12.0: missing requirement [12.0] osgi.wiring.package; (&(osgi.wiring.package=org.jvnet.hk2.annotations)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:619) ERROR: Bundle org.glassfish.hk2.runlevel [11] Error starting file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/hk2-runlevel.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.runlevel [11]: Unable to resolve 11.0: missing requirement [11.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))]) ERROR: Bundle org.glassfish.hk2.config-types [12] Error starting file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/config-types.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.config-types [12]: Unable to resolve 12.0: missing requirement [12.0] osgi.wiring.package; (&(osgi.wiring.package=org.jvnet.hk2.annotations)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))]) ERROR: Bundle org.glassfish.hk2.osgi-adapter [16] Error starting file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/osgi-adapter.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.osgi-adapter [16]: Unable to resolve 16.0: missing requirement [16.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.enterprise.module)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 5.0: missing requirement [5.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.hk2.component)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.host; (&(osgi.wiring.host=org.glassfish.hk2.api)(bundle-version>=0.0.0)) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))]]]) org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.hk2.osgi-adapter [16]: Unable to resolve 16.0: missing requirement [16.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.enterprise.module)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 5.0: missing requirement [5.0] osgi.wiring.package; (&(osgi.wiring.package=com.sun.hk2.component)(version>=2.1.0)(!(version>=3.0.0))) [caused by: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.host; (&(osgi.wiring.host=org.glassfish.hk2.api)(bundle-version>=0.0.0)) [caused by: Unable to resolve 6.0: missing requirement [6.0] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.1.0)(!(version>=3.0.0)))]]] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826) at org.apache.felix.framework.Felix.startBundle(Felix.java:1868) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:619) ERROR: Bundle org.glassfish.main.core.glassfish [17] Error starting file:/space/siva/hudson/hudson-master-loopback-home/workspace/GF_OSGI_OnDemand/glassfish3/glassfish/modules/glassfish.jar (org.osgi.framework.BundleException: Activator start error in bundle org.glassfish.main.core.glassfish [17].) java.lang.NoClassDefFoundError: com/sun/enterprise/module/bootstrap/BootException at com.sun.enterprise.glassfish.bootstrap.osgi.GlassFishMainActivator.start(GlassFishMainActivator.java:126) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:641) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1977) at org.apache.felix.framework.Felix.startBundle(Felix.java:1895) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.module.bootstrap.BootException not found by org.glassfish.main.core.glassfish [17] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1460) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:72) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1843) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 7 more Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) Caused by: org.glassfish.embeddable.GlassFishException: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime available at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:169) at org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime.java:157) at org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime.java:110) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:112) ... 6 more Caused by: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime available at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.getGlassFishRuntime(OSGiGlassFishRuntimeBuilder.java:207) at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:167) ... 9 more Error stopping framework: java.lang.NullPointerException java.lang.NullPointerException at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(GlassFishMain.java:203) Command start-domain failed. The DAS was stopped.