dev@glassfish.java.net

Re: exception while starting v3 server using java -jar glassfish/modules/glassfish-10.0-SNAPSHOT.jar

From: Sahoo <Sahoo_at_Sun.COM>
Date: Sun, 16 Mar 2008 13:10:58 +0530

[Please send such message to dev alias instead of users alias.]
An earlier checkin to HK2 project is the cause of this failure. I have
put back a fix this morning. If you build HK2 yourself, then refresh
your HK2 workspace and rebuild both GlassFish and HK2 using mvn -U
option. If you don't build HK2, then just rebuild the v3/distribution
directory using mvn -U command. That should fix the issue.

Thanks,
Sahoo

p.s.: I am not the source of the original problem

Sreenivas Munnangi wrote:
>
> 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
> /space/GFV3_BLD/glassfish/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
> cli-framework-10.0-SNAPSHOT.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: No such file or directory
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:203)
> at java.util.jar.JarFile.<init>(JarFile.java:132)
> at java.util.jar.JarFile.<init>(JarFile.java:97)
> at
> com.sun.enterprise.module.common_impl.Jar$Archive.<init>(Jar.java:125)
> ... 13 more
>