dev@glassfish.java.net

Re: Build problem

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 16 Sep 2008 10:09:13 -0700

Thanks, that allows me to build, but starting the server fails, just
as for Jason.


INFO: Started bundle org.glassfish.common.container-common [38]
Sep 16, 2008 10:08:03 AM OSGiModuleImpl start
INFO: Started bundle org.glassfish.flashlight.flashlight-framework [104]
Sep 16, 2008 10:08:03 AM
SEVERE: Exception in thread "GlassFish Kernel Main Thread"
Sep 16, 2008 10:08:03 AM
SEVERE: java.lang.NoClassDefFoundError: com/sun/grizzly/http/
SelectorThread
Sep 16, 2008 10:08:03 AM
SEVERE: at java.lang.ClassLoader.defineClass1(Native Method)
Sep 16, 2008 10:08:03 AM
SEVERE: at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework
.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:214)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework
.searchpolicy
.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:85)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework
.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:162)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:101)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework
.searchpolicy.R4SearchPolicyCore.searchImports(R4SearchPolicyCore.java:
505)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework
.searchpolicy
.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:466)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework
.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:185)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
Sep 16, 2008 10:08:03 AM
SEVERE: at
org
.apache
.felix
.framework
.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:109)
Sep 16, 2008 10:08:03 AM
SEVERE: at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Sep 16, 2008 10:08:03 AM
SEVERE: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
374)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun
.enterprise
.v3.services.impl.GrizzlyProxy.configureGrizzly(GrizzlyProxy.java:137)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun.enterprise.v3.services.impl.GrizzlyProxy.<init>(GrizzlyProxy.java:
128)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun
.enterprise
.v3
.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:
262)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun
.enterprise
.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:204)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
86)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
58)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun
.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
60)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun
.enterprise
.v3
.server
.ApplicationLoaderInjector
.postConstruct(ApplicationLoaderInjector.java:52)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:150)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
86)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
58)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun
.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
60)
Sep 16, 2008 10:08:03 AM
SEVERE: at
com
.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:
177)
Sep 16, 2008 10:08:03 AM
SEVERE: at com.sun.enterprise.v3.server.AppServerStartup
$1.run(AppServerStartup.java:107)
Sep 16, 2008 10:08:03 AM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.glassfish-api [101]


On Sep 16, 2008, at 9:56 AM, Jeanfrancois Arcand wrote:

>
>
> Lloyd Chambers wrote:
>> Thanks.
>> Any ETA? Uploads should take seconds if things are working...
>
> As a workaround (this is not the final solution), edit common/
> glassfish-api/pom.xml
>
> and change the grizzly.version to 10.0-SNAPSHOT
>
> This is just a workaround for now (we have discussed the issue on
> the tech meeting). Final fix coming...
>
> -- Jeanfrancois
>
>
>> It's still failing at 09:52 PST.
>> On Sep 16, 2008, at 9:41 AM, Jeanfrancois Arcand wrote:
>>> Salut,
>>>
>>> waiting for Hudson to upload the two grizzly jars. Should be back
>>> to normal soon.
>>>
>>> A+
>>>
>>> -- Jeanfrancois
>>>
>>> Lloyd Chambers wrote:
>>>> I'm seeing the same problem.
>>>> Downloading: http://repo1.maven.org/maven2/org/glassfish/external/grizzly-module/1.8.6-RC2/grizzly-module-1.8.6-RC2.jar
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Failed to resolve artifact.
>>>> Missing:
>>>> ----------
>>>> 1) org.glassfish.external:grizzly-module:jar:1.8.6-RC2
>>>> Try downloading the file manually from the project website.
>>>> Then, install it using the command:
>>>> mvn install:install-file -DgroupId=org.glassfish.external -
>>>> DartifactId=grizzly-module -Dversion=1.8.6-RC2 -Dpackaging=jar -
>>>> Dfile=/path/to/file
>>>> Alternatively, if you host your own repository you can deploy the
>>>> file there:
>>>> mvn deploy:deploy-file -DgroupId=org.glassfish.external -
>>>> DartifactId=grizzly-module -Dversion=1.8.6-RC2 -Dpackaging=jar -
>>>> Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>> Path to dependency:
>>>> 1) org.glassfish.common:glassfish-api:hk2-jar:10.0.415
>>>> 2) org.glassfish.external:grizzly-module:jar:1.8.6-RC2
>>>> ----------
>>>> 1 required artifact is missing.
>>>> for artifact:
>>>> org.glassfish.common:glassfish-api:hk2-jar:10.0.415
>>>> from the specified remote repositories:
>>>> central (http://repo1.maven.org/maven2),
>>>> glassfish-repository (http://download.java.net/maven/glassfish),
>>>> java-dev-repository (https://maven-repository.dev.java.net/nonav/repository
>>>> ),
>>>> repo1.maven.org (http://repo1.maven.org/maven2),
>>>> maven2.java.net (http://download.java.net/maven/2),
>>>> java.net (http://download.java.net/maven/1),
>>>> maven2.java.net-backup (https://maven2-repository.dev.java.net/nonav/repository
>>>> ),
>>>> glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
>>>> ..............................................
>>>> Lloyd Chambers
>>>> lloyd.chambers_at_sun.com
>>>> GlassFish team, LSARC member
>>>> On Sep 16, 2008, at 9:34 AM, Bhakti Mehta wrote:
>>>>> I am running in the same issue as http://hudson.sfbay/job/glassfish-v3-devbuild/3078/console
>>>>> I think this is happening because the http://hudson.sfbay/job/glassfish-v3/
>>>>> is red so it cannot push to maven repo?
>>>>>
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Failed to resolve artifact.
>>>>>
>>>>> Missing:
>>>>> ----------
>>>>> 1) org.glassfish.external:grizzly-module:jar:1.8.6-RC2
>>>>>
>>>>> Try downloading the file manually from the project website.
>>>>>
>>>>> Then, install it using the command:
>>>>> mvn install:install-file -DgroupId=org.glassfish.external -
>>>>> DartifactId=gri
>>>>> zzly-module \
>>>>> -Dversion=1.8.6-RC2 -Dpackaging=jar -Dfile=/path/to/file
>>>>> Alternatively, if you host your own repository you can deploy
>>>>> the file there:
>>>>> mvn deploy:deploy-file -DgroupId=org.glassfish.external -
>>>>> DartifactId=grizzly
>>>>> -module \
>>>>> -Dversion=1.8.6-RC2 -Dpackaging=jar -Dfile=/path/to/file \
>>>>> -Durl=[url] -DrepositoryId=[id]
>>>>>
>>>>> Path to dependency:
>>>>> 1) org.glassfish.common:glassfish-api:hk2-jar:10.0.415
>>>>> 2) org.glassfish.external:grizzly-module:jar:1.8.6-RC2
>>>>>
>>>>> ----------
>>>>> 1 required artifact is missing.
>>>>>
>>>>> for artifact:
>>>>> org.glassfish.common:glassfish-api:hk2-jar:10.0.415
>>>>>
>>>>> from the specified remote repositories:
>>>>> central (http://repo1.maven.org/maven2),
>>>>> maven2.java.net (http://download.java.net/maven/2),
>>>>> repo1.maven.org (http://repo1.maven.org/maven2),
>>>>> java-dev-repository (https://maven-repository.dev.java.net/nonav/repository
>>>>> ),
>>>>> glassfish-repository (http://download.java.net/maven/glassfish),
>>>>> maven2.java.net-backup (https://maven2-repository.dev.java.net/nonav/repositor
>>>>> y),
>>>>> glassfish-repository-wsinterop (http://maven.dyndns.org/
>>>>> glassfish/)
>>>>>
>>>>> Regards,
>>>>> Bhakti
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>