dev@glassfish.java.net

Re: server startup failing

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 17 Mar 2008 15:24:35 -0700

Never mind, I had forgotton to reinstall a fresh build after building
in my "run" dir...

On Mar 17, 2008, at 3:18 PM, Lloyd L Chambers wrote:

> I've rebuilt HK2 and V3.
>
> I thought this was supposed to be fixed?
>
>
> MB2:code lloyd$ runv3
> ****************************************************
> ************ TP2 Launcher *******************
> ** The commandline below is temporarily here for your info. When
> logging is setup it will go to the log file.
> ** jvm command line **
> ---------------------------------------------------
> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/
> java
> -cp
> /v3/run/modules/glassfish-10.0-SNAPSHOT.jar:/v3/run/lib/appserv-
> launch.jar
> -XX:NewRatio=2
> -Xmx512m
> -client
> -Djava.ext.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/
> 1.5.0/Home/lib/ext:/System/Library/Frameworks/JavaVM.framework/
> Versions/1.5.0/Home/jre/lib/ext:/v3/run/domains/domain1/lib/ext:/v3/
> run/javadb/lib
> -Djava.security.policy=/v3/run/domains/domain1/config/server.policy
> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
> -Djava.endorsed.dirs=/v3/run/lib/endorsed
> -
> Dcom
> .sun
> .enterprise
> .config
> .config_environment_factory_class
> =
> com
> .sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
> -Djavax.net.ssl.trustStore=/v3/run/domains/domain1/config/cacerts.jks
> -Djavax.net.ssl.keyStore=/v3/run/domains/domain1/config/keystore.jks
> -Dsun.rmi.dgc.server.gcInterval=3600000
> -Dsun.rmi.dgc.client.gcInterval=3600000
> -Djava.security.auth.login.config=/v3/run/domains/domain1/config/
> login.conf
> com.sun.enterprise.glassfish.bootstrap.Main
> -debug
> false
> -domaindir
> /v3/run/domains/domain1
> -instancename
> server
> -embedded
> false
> -verbose
> true
> -domainname
> domain1
> ****************************************************
> Mar 17, 2008 3:16:27 PM
> com.sun.enterprise.admin.launcher.GFLauncherLogger info
> INFO: Successfully launched in 309 msec.
> Mar 17, 2008 3:16:27 PM
> com.sun.enterprise.module.common_impl.DefaultModuleDefinition
> parseClassPath
> WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
> debugger-api-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-
> connector in classpath, as it doesn't exist
> Mar 17, 2008 3:16:27 PM
> com.sun.enterprise.module.common_impl.DefaultModuleDefinition
> parseClassPath
> WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
> rhino-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-
> connector in classpath, as it doesn't exist
> Mar 17, 2008 3:16:27 PM
> com.sun.enterprise.module.common_impl.DefaultModuleDefinition
> parseClassPath
> WARNING: Skipping loading metadata from file /v3/run/modules/jaxb-
> api-2.1.jar pointed from javax.javaee:javaee in classpath, as it
> doesn't exist
> Mar 17, 2008 3:16:28 PM
> com.sun.enterprise.module.common_impl.DefaultModuleDefinition
> parseClassPath
> WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
> debugger-api-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-
> connector in classpath, as it doesn't exist
> Mar 17, 2008 3:16:28 PM
> com.sun.enterprise.module.common_impl.DefaultModuleDefinition
> parseClassPath
> WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
> rhino-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-
> connector in classpath, as it doesn't exist
> Mar 17, 2008 3:16:28 PM
> com.sun.enterprise.module.common_impl.DefaultModuleDefinition
> parseClassPath
> WARNING: Skipping loading metadata from file /v3/run/modules/jaxb-
> api-2.1.jar pointed from javax.javaee:javaee in classpath, as it
> doesn't exist
> Exception in thread "Thread-1"
> com.sun.enterprise.module.ResolveError: Module Dependency :
> org.glassfish.security:realms: referenced from
> org.glassfish.core:kernel is not resolved
> at
> com.sun.enterprise.module.impl.ModuleImpl.resolve(ModuleImpl.java:327)
> at com.sun.enterprise.module.impl.ModuleImpl.start(ModuleImpl.java:
> 350)
> at
> com
> .sun
> .enterprise
> .module.impl.ModuleClassLoader.initialize(ModuleClassLoader.java:136)
> at
> com
> .sun
> .enterprise
> .module.impl.ModuleClassLoader.loadClass(ModuleClassLoader.java:66)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:55)
> at com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:42)
> at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:151)
> at
> com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:
> 42)
> at
> com
> .sun
> .enterprise.module.impl.ModuleImpl.parseInhabitants(ModuleImpl.java:
> 276)
> at
> com
> .sun
> .enterprise
> .module
> .impl.ModulesRegistryImpl.parseInhabitants(ModulesRegistryImpl.java:
> 79)
> at
> com
> .sun
> .enterprise
> .module
> .common_impl
> .AbstractModulesRegistryImpl
> .createHabitat(AbstractModulesRegistryImpl.java:133)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:291)
> at com.sun.enterprise.module.bootstrap.Main.start(Main.java:153)
> at com.sun.enterprise.module.bootstrap.Main$1.run(Main.java:68)
>
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc