quality@glassfish.java.net

Re: 3.1.1 b9 URI is not absolute issue in admin gui

From: Richard Kolb <rjdkolb_at_gmail.com>
Date: Tue, 28 Jun 2011 07:44:18 +0200

Created issue :
http://java.net/jira/browse/GLASSFISH-16921


On 27 June 2011 10:29, Richard Kolb <rjdkolb_at_gmail.com> wrote:

> Seems like I only get this when I refresh :
> http://localhost:4848/common/appServer/restart-2.jsf
>
> But when I go to http://localhost:4848/, it's fine
>
>
> On 27 June 2011 10:17, Richard Kolb <rjdkolb_at_gmail.com> wrote:
>
>> Hello
>>
>> I got this issue when I restarted via the admin interface
>>
>> Is this a known issue ?
>>
>> Steps to reproduce
>> 1) unzip Glassfish 3.1.1 b9
>> 2) enter admin GUI and set max sessions in web container to 200
>> 3) restart via admin GUI
>>
>> [#|2011-06-27T10:13:23.112+0200|INFO|glassfish3.1|org.glassfish.admingui|_ThreadID=21;_ThreadName=Thread-2;|Redirecting
>> to /common/appServer/restart-2.jsf|#]
>>
>> [#|2011-06-27T10:13:23.325+0200|INFO|glassfish3.1|org.glassfish.admingui|_ThreadID=22;_ThreadName=Thread-2;|Exception
>> Occurred :com.sun.jersey.api.client.ClientHandlerException:
>> java.lang.IllegalArgumentException: URI is not absolute|#]
>>
>> [#|2011-06-27T10:13:23.332+0200|WARNING|glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=22;_ThreadName=Thread-2;|StandardWrapperValve[FacesServlet]:
>> PWC1406: Servlet.service() for servlet FacesServlet threw exception
>> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>> while attempting to process a 'beforeCreate' event for 'sun_staticText24'.
>> at
>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:422)
>> at
>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
>> at
>> com.sun.jsftemplating.layout.descriptors.LayoutComponent.beforeCreate(LayoutComponent.java:348)
>> at
>> com.sun.jsftemplating.layout.descriptors.LayoutComponent.getChild(LayoutComponent.java:288)
>> at
>> com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:556)
>> at
>> com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
>> at
>> com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
>> at
>> com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
>> at
>> com.sun.jsftemplating.layout.LayoutViewHandler.buildUIComponentTree(LayoutViewHandler.java:590)
>> at
>> com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:255)
>> at
>> com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:247)
>> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
>> at
>> com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
>> at
>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
>> at
>> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
>> at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:233)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>> at
>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
>> at
>> org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
>> at
>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
>> at
>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:232)
>> at
>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
>> at
>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
>> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
>> at
>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
>> at
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>> at
>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>> at
>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
>> at
>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>> at
>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>> at
>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>> at
>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>> at java.lang.Thread.run(Thread.java:662)
>> Caused by: java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
>> at
>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
>> ... 44 more
>> Caused by: com.sun.jersey.api.client.ClientHandlerException:
>> java.lang.IllegalArgumentException: URI is not absolute
>> at
>> com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
>> at com.sun.jersey.api.client.Client.handle(Client.java:648)
>> at com.sun.jersey.api.client.WebResource.handle(WebResource.java:670)
>> at
>> com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
>> at
>> com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
>> at org.glassfish.admingui.common.util.RestUtil.get(RestUtil.java:698)
>> at
>> org.glassfish.admingui.common.util.RestUtil.restRequest(RestUtil.java:190)
>>
>>
>