dev@glassfish.java.net

Re: error when running the new admingui

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Tue, 15 Jul 2008 20:24:40 -0700

I am also experiencing this. I figured out the problem. When I opened
up the MANIFEST.MF file for the repackaged jsftemplating.jar, it had:

    Bundle-SymbolicName: org.glassfish.jsftemplating

The pom.xml file has:

    <groupId>org.glassfish.jsftemplating</groupId>
    <artifactId>jsftemplating</artifactId>

So I believe this should mean the bundle symbolic name is supposed to be
"org.glassfish.jsftemplating.jsftemplating". Sahoo?

I didn't see this error because I had previously had the artifactId set
to "jsft" in which case it correctly generated the symbolic name of:
"org.glassfish.jsftemplating.jsft". When I did a quick search/replace
of "jsft" for "jsftemplating" it breaks b/c of this.

Work-a-round: change the admingui/war/pom.xml file's HK2-Import-Bundles
value where it says "org.glassfish.jsftemplating.jsftemplating" to
"org.glassfish.jsftemplating".

Sahoo, all the files are currently checked in if you want to observe
this. You can simply build the v3/admingui/jsftemplating/pom.xml to see
this.

Thanks!

Ken


Anissa Lam wrote:
>
> build entire v3 and admingui
> cp dataprovider.jar and jsftemplating.jar to glassfish/modules
> start server
> deploy admingui/war/target/admingui.war successfully
>
> When trying to go to http://localhost:8080/admingui, get 404 error.
>
> server log says:
> NFO: Initializing Mojarra (1.2_08-b06-FCS) for context '/admingui'
> Jul 15, 2008 7:13:27 PM com.sun.enterprise.web.WebApplication start
> INFO: Loading application admingui at /admingui
> Jul 15, 2008 7:13:27 PM com.sun.enterprise.v3.deployment.DeployCommand
> execute
> INFO: Deployment of admingui done is 9563 ms
> Jul 15, 2008 7:13:47 PM org.apache.jasper.servlet.JspServlet
> serviceJspFile
> SEVERE: PWC6117: File
> "/export/Users/anilam/Awork/V3/v3-new/v3/glassfish/domains/domain1/applications/admingui/login.jsp"
> not found
>
> If you want to take a look, the workspace is on bigtruck.sfbay
>
> server at: /export/Users/anilam/Awork/V3/v3-new/v3/glassfish
> (unzip of web.zip)
> workspace is /export/Users/anilam/Awork/V3/v3-new/v3
> repository is /export/Users/anilam/Awork/V3/v3-new/repository
>
> root password is iplanet.
>
> Anissa.