dev@glassfish.java.net

Re: [GFv3] Build broken - org.glassfish.connectors.jdbc-ra:jdbc-ra:pom:10.0-SNAPSHOT not found

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 27 Mar 2008 08:57:20 -0700

Hong Zhang wrote:
> Hi,
> After I worked around it by going to v3/connectors/jdbc-ra directory
> and run mvn install, I got following error messages when I tried to
> start the server:

I just checked in a fix for this.
Please update v3/core/kernel and this will go away.

Sorry for the trouble.

Regards,
Kedar

>
> WARNING: Closing initialized network proxies
> Mar 27, 2008 11:24:08 AM SEVERE: java.lang.NullPointerException
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter.setContextRoot(AdminConsoleAdapter.java:141)
>
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter.init(AdminConsoleAdapter.java:94)
>
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter.postConstruct(AdminConsoleAdapter.java:118)
>
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:114)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:50)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
>
> Mar 27, 2008 11:24:08 AM SEVERE: at
> org.jvnet.hk2.component.Habitat$1.get(Habitat.java:206)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> java.util.AbstractList$Itr.next(AbstractList.java:422)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:119)
>
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:114)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:50)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
>
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:96)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.launch(Main.java:364)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.module.bootstrap.Main.start(Main.java:153)
> Mar 27, 2008 11:24:08 AM SEVERE: at
> com.sun.enterprise.module.bootstrap.Main$1.run(Main.java:68)
> Mar 27, 2008 11:25:04 AM com.sun.grizzly.tcp.StaticResourcesAdapter service
>
> Anyone seeing the same thing?
>
> - Hong
>
>
> o wrote:
>> I think the V3 build is broken. I have heard several people reporting
>> about it earlier today and when I tried doing a build on a fresh
>> system ( by fresh I mean empty local maven repo), I also see the error
>> (details given below). The condition that triggers this failure is
>> absence of *org.glassfish.connectors.jdbc-ra:jdbc-ra* artifact in the
>> local maven repository. This can happen if you emptied the repository
>> either completely or removed all org.glassfish.* artifacts. The
>> artifact is not found in any of the remote repositories, nor is it
>> built as part of v3 (most likely because of the change made in
>> revision 19326 by Kohsuke).
>>
>> To work around it, go to v3/connectors/jdbc-ra directory and run mvn
>> install. This will install the missing artifact in the local
>> repository. Then try to build v3.
>>
>> [INFO] Building Glassfish Web Bundle
>> [INFO] task-segment: [install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: org.glassfish.connectors.jdbc-ra
>> ArtifactId: jdbc-ra
>> Version: 10.0-SNAPSHOT
>>
>> Reason: Unable to download the artifact from any repository
>>
>> org.glassfish.connectors.jdbc-ra:jdbc-ra:pom:10.0-SNAPSHOT
>>
>> 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/repository),
>> java.net-m2-repository (http://download.java.net/maven/2),
>> java.net-m1-repository (http://download.java.net/maven/1),
>> glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/)
>> ----------
>>
>> Not sure why Hudson is not facing this problem. It might be to do with
>> the fact that Hudson has this artifact in its local maven repo from an
>> earlier run.
>>
>> Thanks,
>> Sahoo
>>
>> ---------------------------------------------------------------------
>> 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
>