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 10:40:06 -0700

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

Amy Roh wrote:
> With fresh svn checkout, I still cannot access Admin Console
>
> http://localhost:8080/admin/login.jsf
>
> GlassFish Administration Console Installation page appears
>
> I get "Not Found" with error -
>
> Jul 29, 2008 10:16:22 AM
> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter
> logRequest
> INFO: AdminConsoleAdapter's STATE IS: Application is not yet installed
> ...
> Jul 29, 2008 10:17:39 AM
> com.sun.enterprise.v3.services.impl.AbstractHttpHandler
> initializeHttpRequestProcessing
> WARNING: Mapper exception
> java.lang.NullPointerException
> at
> com.sun.grizzly.util.http.mapper.Mapper.internalMapWrapper(Mapper.jav
> a:927)
> at
> com.sun.grizzly.util.http.mapper.Mapper.internalMap(Mapper.java:833)
> at com.sun.grizzly.util.http.mapper.Mapper.map(Mapper.java:692)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.map(ContainerMapp
> er.java:222)
> at
> com.sun.enterprise.v3.services.impl.AbstractHttpHandler.initializeHtt
> pRequestProcessing(AbstractHttpHandler.java:80)
> at
> com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpPr
> otocolFilter.java:80)
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executePro
> tocolFilter(GlassfishProtocolChain.java:70)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
> a:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
> a:90)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
> ask.java:67)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
> java:56)
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)
> Jul 29, 2008 10:17:39 AM
> com.sun.enterprise.v3.services.impl.ContainerMapper map
>
> WARNING: Invalid url
> java.io.IOException: Invalid URI character encoding
> at
> com.sun.grizzly.util.http.HttpRequestURIDecoder.decode(HttpRequestURI
> Decoder.java:80)
> at
> com.sun.enterprise.v3.services.impl.ContainerMapper.map(ContainerMapp
> er.java:201)
> at
> com.sun.enterprise.v3.services.impl.AbstractHttpHandler.initializeHtt
> pRequestProcessing(AbstractHttpHandler.java:80)
> at
> com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpPr
> otocolFilter.java:80)
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executePro
> tocolFilter(GlassfishProtocolChain.java:70)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
> a:104)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
> a:90)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
> ask.java:67)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
> java:56)
> at
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)
>
> This doesn't seem related to issue 5327.
>
> Thanks,
> Amy
>
> Jan.Luehe_at_Sun.COM wrote:
>> Hi Anissa,
>>
>> Anissa Lam wrote:
>>
>>> Hi Jan,
>>>
>>> I am running the promoted build:
>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-express-b16.zip
>>>
>>> I get this redirect issue on Mac with Firefox 3. If you do
>>> http://localhost:8080/admin it is fine the first time since the
>>> admin console adapter is intercepting it and try to download and
>>> install GUI. But once it is deployed, you can't get to the login
>>> page by just saying http://localhost:8080/admin, you have to use
>>> http://localhost:8080/admin/index.jsf
>>
>>
>>
>> OK, I had misunderstood the issue then.
>>
>> Now, after installing the GUI, I get an empty page regardless of
>> whether I access
>> http://localhost:8080/admin or http://localhost:8080/admin/index.jsf ...
>>
>>
>> Jan
>>
>>
>>>
>>> thanks
>>> Anissa.
>>>
>>> Jan.Luehe_at_Sun.COM wrote:
>>>
>>>> Anissa,
>>>>
>>>> Anissa Lam wrote:
>>>>
>>>>>
>>>>> For promoted build 16, there needs to be 2 OSGi bundles in
>>>>> glassfish/modules directory in order to run admin console. These
>>>>> 2 bundles are not included in the web.zip for this build.
>>>>> Please follow the instructions i have in
>>>>> http://wiki.glassfish.java.net/Wiki.jsp?page=GUIV3LiteP16Workaround
>>>>> to access admin console.
>>>>
>>>>
>>>>
>>>>
>>>> I noticed the need for the workaround has already been filed as a bug
>>>> against the webcontainer, see
>>>>
>>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5327
>>>>
>>>>
>>>> I tried to reproduce and just downloaded b15 and b16, and was able
>>>> to bring up the login page by accessing
>>>>
>>>> http://localhost:8080/admin
>>>>
>>>> without having to use the workaroud.
>>>>
>>>> I'm on Solaris/Mozilla.
>>>>
>>>> Seems the problem is limited to Vista/IE, which is what you listed
>>>> in the bug report.
>>>>
>>>>
>>>> Jan
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>