dev@glassfish.java.net

Re: [v3] Workaround for accessing Admin Console for V3 Prelude promoted build 16

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Tue, 29 Jul 2008 11:18:30 -0700

This means it can't find the dataprovider jar.
v3/admingui/provider should build and publish
org/glassfish/admingui/dataprovider/4.2/dataprovider-4.2.jar to your
local repository. Can you check if this is happening ?

In v3/admingui pom.xml which is the parent for admingui/core, we
specify this dependency.

     <dependency>
            <groupId>org.glassfish.admingui</groupId>
            <artifactId>dataprovider</artifactId>
            <version>${dataprovider.version}</version>
            <scope>provided</scope>
        </dependency>

Let me know how it goes.

Anissa

Tim Quinn wrote:
> I was going to try the workaround but get Java compilation errors,
> starting with
>
> /Users/Tim/asgroup/v3/jun-11/v3/admingui/core/src/main/java/org/glassfish/admingui/handlers/TableHandlers.java:73:
> package com.sun.data.provider does not exist
> import com.sun.data.provider.RowKey;
> ^
>
>
> This is after a cd admingui, mvn clean, svn update, and mvn install
> (and mvn -U install just to inflict more pain on myself).
>
> Any suggestions?
>
> - Tim
>
> Anissa Lam wrote:
>> Hi Amy,
>>
>> The workaround is intended for promoted build 16. QA is using that
>> and confirmed working.
>>
>> However, if you are building your own, the best is go to admingui
>> directory and do 'mvn install' to build the gui module as well.
>> Then:
>> cp admingui/dataprovider/target/dataprovider-4.2.jar to
>> glassfish/modules
>> cp admingui/jsftemplating/target/jsftemplating-1.2.1.jar to
>> glassfish/modules
>> deploy admingui/war/target/admingui.war access the gui by
>> http://localhost:8080/admingui
>>
>> As we are in the process to move towards using Update Center 2.0 for
>> GUI, there are few glitches we are still working on for a smooth
>> process.
>> Thanks for your patience.
>>
>> Anissa
>>