admin@glassfish.java.net

Re: [v3] ResolveError: Failed to start org.glassfish.admingui:console-plugin-service:1.0

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Wed, 02 Jul 2008 15:02:28 -0700

I don't think the incorrect version in admingui/pom.xml is used
(anymore?). We have a lot of cleanup work needed on these pom.xml files
(sorry!). The parent for the admingui/plugin-service/pom.xml is:

    <parent>
        <groupId>org.glassfish</groupId>
        <artifactId>glassfish-parent</artifactId>
        <version>10.0-SNAPSHOT</version>
    </parent>

So it should be the correct version. However, this may not have got
built (or installed) in your ~/.m2 directory. Try rebuilding it and
placing it in your modules directory.

Good luck!

Ken

Claudio Miranda wrote:
> On Wed, Jul 2, 2008 at 2:41 PM, Ken Paulsen <Ken.Paulsen_at_sun.com> wrote:
>
>> HK2 was upgraded to 0.3.5 recently and we will require this release very
>> soon... However, I think the error that you're seeing is related to the JSP
>> bundle (or maybe another one) looking for HK2 0.3.2. I think your build
>> correctly installed and built w/ 0.3.5, but downloaded the JSP bundle which
>> requires version 0.3.2. This prevents the web module from starting.
>>
>
> At admingui/pom.xml there are some properties at the end
>
> <properties>
> <hk2.version>0.3.0</hk2.version>
> <glassfish.version>10.0-SNAPSHOT</glassfish.version>
> <amx-api.version>2.0-SNAPSHOT</amx-api.version>
> <jsp-api.version>2.1</jsp-api.version>
> </properties>
>
> Perhaps, the hk2.version should be updated to 0.3.5 ?
>
>
>> To verify this, look at your
>> domains/domain1/.felix/gf/bundle65/bundle.location file. This will tell you
>> which .jar file requires HK2 0.3.2.
>>
>
> $ cat ../domains/domain1/.felix/gf/bundle65/bundle.location
> file:/opt/glassfish-v3/glassfish/modules/console-plugin-service-10.0-SNAPSHOT.jar
>
>
>> If it is another module, you can look into why its requiring version 0.3.2,
>> ask if you have questions.
>>
>
> At admingui/plugin-service/pom.xml there is
>
> <dependency>
> <groupId>com.sun.enterprise</groupId>
> <artifactId>hk2</artifactId>
> <version>${hk2.version}</version>
> </dependency>
>
> As it refers to parent pom whose hk2.version value is 0.3.0.
> I will try to update it to 0.3.5 and build
>
> Thanks
>
> Claudio Miranda
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>