dev@glassfish.java.net

Re: [v3] how to use admingui

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 31 Mar 2008 09:33:59 -0700

Hi Claudio,

Try: http://localhost:8080/admingui/index.jsf

The welcome-file was not specified correctly (I've fixed it now). FYI,
the admingui in v3 is in early development so there is not a lot of
content there (yet)... please let me know if you have questions.

Thanks!

Ken Paulsen

Claudio Miranda wrote:
> How to correctly deploy and use admingui ?
>
> I have used the instructions at
> http://wiki.glassfish.java.net/Wiki.jsp?page=V3GuiBuildInfo
>
> $ pwd
> /home/claudio/alphaworks/projects/gf-workspace/v3/admingui
>
> $ mvn -U install
>
> have unzipped it at other directory
> $ unzip -q
> /home/claudio/alphaworks/projects/gf-workspace/v3/distributions/glassfish/target/glassfish-10.0-SNAPSHOT.zip
>
> deploy
> $ ./asadmin deploy
> ~/alphaworks/projects/gf-workspace/v3/admingui/war/target/admingui.war
>
> but at http://localhost:8080/admingui there is not a admin console
>
> Directory Listing For /
> com_sun_webui_jsf/
>
> and looking at the admingui.war, looks like the JSF files from admingui/core
> is not packaged
>
> How can I build and deploy it in a correct way ?
>
> $ unzip -l
> ~/alphaworks/projects/gf-workspace/v3/admingui/war/target/admingui.war
> Archive:
> /home/claudio/alphaworks/projects/gf-workspace/v3/admingui/war/target/admingui.war
> Length Date Time Name
> -------- ---- ---- ----
> 0 03-31-08 08:33 META-INF/
> 382 03-31-08 08:32 META-INF/MANIFEST.MF
> 0 03-28-08 18:58 WEB-INF/
> 0 03-31-08 01:37 WEB-INF/lib/
> 0 03-28-08 18:58 WEB-INF/classes/
> 0 03-28-08 18:58 com_sun_webui_jsf/
> 0 03-28-08 18:58 com_sun_webui_jsf/help/
> 4628 03-28-08 15:49 WEB-INF/web.xml
> 36756 03-28-08 15:49 WEB-INF/lib/jsfcompounds-0.0.2.jar
> 196153 03-28-08 15:49 WEB-INF/lib/ajax-wrapper-comp-1.1.jar
> 801361 03-31-08 08:32 WEB-INF/lib/console-core-1.0-SNAPSHOT.jar
> 435163 03-28-08 15:49 WEB-INF/lib/jMakiResources.jar
> 59618 03-28-08 15:49 WEB-INF/lib/sysnet-all.jar
> 10600 03-28-08 15:49 WEB-INF/lib/registration-api-10.0-SNAPSHOT.jar
> 208275 03-28-08 22:38 WEB-INF/lib/corehelp.jar
> 45687 03-28-08 15:49
> WEB-INF/lib/sysnet-registration-10.0-SNAPSHOT.jar
> 38239 03-28-08 18:56 WEB-INF/lib/json-2.0.jar
> 101509 03-28-08 18:55 WEB-INF/lib/dataprovider-1.4.2-SNAPSHOT.jar
> 435031 03-31-08 08:32 WEB-INF/lib/jsftemplating-1.2-SNAPSHOT.jar
> 2492037 03-28-08 18:52 WEB-INF/lib/webui-jsf-suntheme-4.2-SNAPSHOT.jar
> 3529691 03-28-08 18:55 WEB-INF/lib/webui-jsf-4.2-SNAPSHOT.jar
> 132712 03-31-08 08:32
> WEB-INF/lib/jsftemplating-dynafaces-0.1-1.2-SNAPSHOT.jar
> 557529 03-28-08 15:49 WEB-INF/lib/jhall.jar
> 46725 03-28-08 15:49 WEB-INF/lib/commons-codec-1.3.jar
> 22379 03-28-08 18:56 WEB-INF/lib/commons-fileupload-1.0.jar
> 3858 03-28-08 15:49 WEB-INF/faces-config.xml
> 2793 03-28-08 15:49 WEB-INF/sun-web.xml
> 2732 03-28-08 15:48 com_sun_webui_jsf/help/buttonnav.jsp
> 3661 03-28-08 15:48 com_sun_webui_jsf/help/navigator.jsp
> 2334 03-28-08 15:48 com_sun_webui_jsf/help/tips.jsp
> 3770 03-28-08 15:48 com_sun_webui_jsf/help/helpwindow.jsp
> 0 03-31-08 08:33 META-INF/maven/
> 0 03-31-08 08:33 META-INF/maven/org.glassfish.admingui/
> 0 03-31-08 08:33 META-INF/maven/org.glassfish.admingui/war/
> 2681 03-31-08 08:06
> META-INF/maven/org.glassfish.admingui/war/pom.xml
> 117 03-31-08 08:33
> META-INF/maven/org.glassfish.admingui/war/pom.properties
>
>
> -----
> Claudio Miranda
> http://weblogs.java.net/blog/claudio
> http://www.claudius.com.br/blog
>