users@glassfish.java.net

Is GlassFish v3 nightlies working?

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Mon, 17 Mar 2008 12:01:46 -0700

I am trying out GlassFish v3 latest nightlies from:
http://download.java.net/javaee5/v3/releases/preview/glassfish-snapshot-v3-preview-17_03_2008.zip.


asadmin start-domain reports success but localhost:8080 is unreachable.
When I ran with --verbose=true I see that the servlet-api.jar could not
be loaded()IOException), although servlet-api.jar is there, I think
there is problem in general loading anything from modules.

Unfortunately, I tried yesterday's nightly also and the same problem. I
need the latest bits to make it work with JRuby NB plugin for my
presentation tomorrow at JUG.

-vivek.

vivekmz_at_boson(550)> bin/asadmin start-domain --verbose=true
****************************************************
************ 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 **
---------------------------------------------------
/tools/jdk/bin/java
-cp
/myhome/vivekmz/dev/gfv3/modules/glassfish-10.0-SNAPSHOT.jar:/myhome/vivekmz/dev/gfv3/lib/appserv-launch.jar
-XX:NewRatio=2
-Xmx512m
-client
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.net.ssl.trustStore=/myhome/vivekmz/dev/gfv3/domains/domain1/config/cacerts.jks
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=/myhome/vivekmz/dev/gfv3/domains/domain1/config/keystore.jks
-Djava.security.policy=/myhome/vivekmz/dev/gfv3/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=/myhome/vivekmz/dev/gfv3/domains/domain1/config/login.conf
-Djava.endorsed.dirs=/myhome/vivekmz/dev/gfv3/lib/endorsed
-Djava.ext.dirs=/tools/jdk/lib/ext:/tools/jdk/jre/lib/ext:/myhome/vivekmz/dev/gfv3/domains/domain1/lib/ext:/myhome/vivekmz/dev/gfv3/javadb/lib
com.sun.enterprise.glassfish.bootstrap.Main
-domainname
domain1
-instancename
server
-verbose
false
-debug
false
-domaindir
/myhome/vivekmz/dev/gfv3/domains/domain1
-embedded
false
****************************************************
Mar 17, 2008 6:51:00 PM
com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 65 msec.
com.sun.enterprise.module.bootstrap.BootException: Exception while
adding shared repository
        at com.sun.enterprise.module.bootstrap.Main.addRepo(Main.java:225)
        at
com.sun.enterprise.module.bootstrap.Main.createRepository(Main.java:182)
        at
com.sun.enterprise.glassfish.bootstrap.Main.createRepository(Main.java:143)
        at com.sun.enterprise.module.bootstrap.Main.start(Main.java:150)
        at com.sun.enterprise.module.bootstrap.Main$1.run(Main.java:68)
Caused by: java.io.IOException: Failed to load modules from
/myhome/vivekmz/dev/gfv3/modules/.
        at
com.sun.enterprise.module.common_impl.DirectoryBasedRepository.loadModuleDefs(DirectoryBasedRepository.java:99)
        at
com.sun.enterprise.module.common_impl.AbstractRepositoryImpl.initialize(AbstractRepositoryImpl.java:64)
        at com.sun.enterprise.module.bootstrap.Main.addRepo(Main.java:236)
        at com.sun.enterprise.module.bootstrap.Main.addRepo(Main.java:223)
        ... 4 more
Caused by: java.io.IOException: Failed to open servlet-api-2.5.jar
        at
com.sun.enterprise.module.common_impl.Jar$Archive.<init>(Jar.java:129)
        at com.sun.enterprise.module.common_impl.Jar.create(Jar.java:48)
        at
com.sun.enterprise.module.common_impl.DefaultModuleDefinition.parseClassPath(DefaultModuleDefinition.java:140)
        at
com.sun.enterprise.module.common_impl.DefaultModuleDefinition.<init>(DefaultModuleDefinition.java:101)
        at
com.sun.enterprise.module.common_impl.AbstractRepositoryImpl.newModuleDefinition(AbstractRepositoryImpl.java:208)
        at
com.sun.enterprise.module.common_impl.AbstractRepositoryImpl.loadJar(AbstractRepositoryImpl.java:115)
        at
com.sun.enterprise.module.common_impl.DirectoryBasedRepository.loadModuleDefs(DirectoryBasedRepository.java:89)
        ... 7 more
Caused by: java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
        at java.util.jar.JarFile.<init>(JarFile.java:133)
        at java.util.jar.JarFile.<init>(JarFile.java:97)
        at
com.sun.enterprise.module.common_impl.Jar$Archive.<init>(Jar.java:125)
        ... 13 more