dev@glassfish.java.net

Re: RestResponse failure when listing apps in admin console

From: Mitesh Meswani <mitesh.meswani_at_oracle.com>
Date: Mon, 17 Oct 2011 23:36:52 -0700

Hi Cheng,

I just did a clean build in my workspace (rev 50301) and I can access
both the admin gui and rest backend through browser. Please try to
update and do a clean build

-Mitesh
On 10/17/2011 7:49 PM, Cheng Fang wrote:
>
>
> On 10/17/11 10:44 PM, Mitesh Meswani wrote:
>> Can you try going to http://localhost:4848/management/domain/ from a
>> browser to see what happens
>
> Got a blank screen, and nothing in server.log.
>
> I was able to run list-applications successfully in command line.
>
> Thanks,
> -cheng
>>
>> On 10/17/2011 7:40 PM, Cheng Fang wrote:
>>> I'm seeing the following failures when clicking Applications node in
>>> admin console (trunk build today svn rev 50299)
>>>
>>> REST Request
>>> 'http://localhost:4848/management/domain/anonymous-user-enabled'
>>> failed with response code '404'.
>>>
>>> server.log contains the following severe messages:
>>>
>>> [#|2011-10-17T22:21:47.308-0400|INFO|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|Admin
>>> Console: Initializing Session Attributes...|#]
>>>
>>> [#|2011-10-17T22:21:48.507-0400|INFO|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|Update
>>> Center option set to "NEVER". Ping is disabled. No checking for
>>> available update.|#]
>>>
>>> [#|2011-10-17T22:21:49.652-0400|SEVERE|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|RestResponse.getResponse()
>>> gives FAILURE. endpoint =
>>> 'http://localhost:4848/management/domain/applications/application/list-components.json';
>>> attrs = '{target=domain}'|#]
>>>
>>> [#|2011-10-17T22:21:49.699-0400|SEVERE|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|RestResponse.getResponse()
>>> gives FAILURE. endpoint =
>>> 'http://localhost:4848/management/domain/applications/application/list-lifecycle-modules.json';
>>> attrs = '{target=domain}'|#]
>>>
>>> [#|2011-10-17T22:21:50.087-0400|SEVERE|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|RestResponse.getResponse()
>>> gives FAILURE. endpoint =
>>> 'http://localhost:4848/management/domain/configs/config/default-config/jms-service/jms-host.json';
>>> attrs = '{}'|#]
>>>
>>> [#|2011-10-17T22:21:51.355-0400|SEVERE|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|RestResponse.getResponse()
>>> gives FAILURE. endpoint =
>>> 'http://localhost:4848/management/domain/configs/config/default-config/iiop-service/iiop-listener.json';
>>> attrs = '{}'|#]
>>>
>>> [#|2011-10-17T22:21:52.439-0400|SEVERE|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|RestResponse.getResponse()
>>> gives FAILURE. endpoint =
>>> 'http://localhost:4848/management/domain/configs/config/server-config/jms-service/jms-host.json';
>>> attrs = '{}'|#]
>>>
>>> [#|2011-10-17T22:21:52.786-0400|SEVERE|44.0|org.glassfish.admingui|_ThreadID=14;_ThreadName=Thread-2;|RestResponse.getResponse()
>>> gives FAILURE. endpoint =
>>> 'http://localhost:4848/management/domain/configs/config/server-config/iiop-service/iiop-listener.json';
>>> attrs = '{}'|#]
>>>
>>> [#|2011-10-17T22:22:01.103-0400|SEVERE|44.0|org.glassfish.admingui|_ThreadID=17;_ThreadName=Thread-2;|RestResponse.getResponse()
>>> gives FAILURE. endpoint =
>>> 'http://localhost:4848/management/domain/applications/application/list-components.json';
>>> attrs = '{target=domain}'|#]
>>>
>>> Any idea?
>>>
>>> Thanks,
>>> -cheng
>>>
>>>
>>