voyent
Can't launch Glassfish Admin Console when Icefaces.jar present in glassfish\lib  XML
Forum Index -> General Help
Author Message
ffrreeaakk

Joined: 16/Nov/2010 18:45:50
Messages: 13
Offline


I can't launch Glassfish admin console when I put icefaces.jar, icefaces-ace.jar, icefaces-compat.jar, icepush.jar into glassfish-3.1.1\glassfish\lib\
It works again when I delete them.
I'm posting both logs: good and bad.

Glassfish log WITHOUT ICEFACES:
Code:
Launching GlassFish on Felix platform
 2011-09-09 01:33:56 com.sun.enterprise.server.logging.LogManagerService postConstruct
 WARNING: Record begin marker is not a proper value so using default.
 2011-09-09 01:33:56 com.sun.enterprise.server.logging.LogManagerService postConstruct
 WARNING: Record end marker is not a proper value so using default.
 2011-09-09 01:33:56 com.sun.enterprise.server.logging.LogManagerService postConstruct
 WARNING: Log Format field separator is not a character so using default.
 INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
 INFO: Grizzly Framework 1.9.36 started in: 94ms - bound to [0.0.0.0:8080]
 INFO: Grizzly Framework 1.9.36 started in: 63ms - bound to [0.0.0.0:8181]
 INFO: Grizzly Framework 1.9.36 started in: 16ms - bound to [0.0.0.0:3700]
 INFO: Grizzly Framework 1.9.36 started in: 62ms - bound to [0.0.0.0:4848]
 INFO: Grizzly Framework 1.9.36 started in: 31ms - bound to [0.0.0.0:7676]
 INFO: The Admin Console is already installed, but not yet loaded.
 INFO: GlassFish Server Open Source Edition 3.1.1 (12) startup time : Felix (1 469ms), startup services(640ms), total(2 109ms)
 INFO: Hibernate Validator 4.1.0.Final
 INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
 INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://pc:8686/jndi/rmi://pc:8686/jmxrmi
 INFO: Grizzly Framework 1.9.36 started in: 0ms - bound to [0.0.0.0:8080]
 INFO: Grizzly Framework 1.9.36 started in: 0ms - bound to [0.0.0.0:8181]
 INFO: Grizzly Framework 1.9.36 started in: 0ms - bound to [0.0.0.0:8080]
 WARNING: GUIAPT0040:Resource not found:  com/sun/enterprise/v3/admin/adapter/theme/com/sun/webui/jsf/suntheme/images/commontaskssection/grad2.gif
 INFO: Grizzly Framework 1.9.36 started in: 0ms - bound to [0.0.0.0:8181]
 INFO: The Admin Console is already installed, but not yet loaded.
 INFO: The Admin Console is starting. Please wait.
 INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]
 INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]
 INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]
 INFO: WEB0171: Created virtual server [server]
 INFO: WEB0171: Created virtual server [__asadmin]
 INFO: Initiating Jersey application, version 'Jersey: 1.8 06/24/2011 12:17 PM'
 INFO: WEB0172: Virtual server [server] loaded default web module []
 INFO: SEC1002: Security Manager is OFF.
 INFO: SEC1010: Entering Security Startup Service
 INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
 INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
 INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
 INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
 INFO: SEC1011: Security Service(s) Started Successfully
 INFO: REST00001: Listening to REST requests at context: /management/domain
 INFO: Initializing Mojarra 2.1.3 (FCS b02) for context ''
 INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
 INFO: WEB0671: Loading application [__admingui] at [/]
 INFO: CORE10010: Loading application __admingui done in 9 469 ms
 INFO: The Admin Console application is loaded.
 WARNING: PWC4011: Unable to set request character encoding to UTF-8 from context , because request parameters have already been read, or ServletRequest.getReader() has already been called
 INFO: Redirecting to /
 INFO: Admin Console: Initializing Session Attributes...


Glassfish log WITH ICEFACES.
Code:
Launching GlassFish on Felix platform
 2011-09-09 01:16:46 com.sun.enterprise.server.logging.LogManagerService postConstruct
 WARNING: Record begin marker is not a proper value so using default.
 2011-09-09 01:16:46 com.sun.enterprise.server.logging.LogManagerService postConstruct
 WARNING: Record end marker is not a proper value so using default.
 2011-09-09 01:16:46 com.sun.enterprise.server.logging.LogManagerService postConstruct
 WARNING: Log Format field separator is not a character so using default.
 INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
 INFO: Grizzly Framework 1.9.36 started in: 110ms - bound to [0.0.0.0:3700]
 INFO: Grizzly Framework 1.9.36 started in: 157ms - bound to [0.0.0.0:8181]
 INFO: Grizzly Framework 1.9.36 started in: 172ms - bound to [0.0.0.0:8080]
 INFO: Grizzly Framework 1.9.36 started in: 157ms - bound to [0.0.0.0:4848]
 INFO: Grizzly Framework 1.9.36 started in: 125ms - bound to [0.0.0.0:7676]
 INFO: The Admin Console is already installed, but not yet loaded.
 INFO: GlassFish Server Open Source Edition 3.1.1 (12) startup time : Felix (1 391ms), startup services(718ms), total(2 109ms)
 INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://pc:8686/jndi/rmi://pc:8686/jmxrmi
 INFO: Hibernate Validator 4.1.0.Final
 INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
 INFO: Grizzly Framework 1.9.36 started in: 15ms - bound to [0.0.0.0:8080]
 INFO: Grizzly Framework 1.9.36 started in: 15ms - bound to [0.0.0.0:8181]
 INFO: Grizzly Framework 1.9.36 started in: 0ms - bound to [0.0.0.0:8080]
 INFO: Grizzly Framework 1.9.36 started in: 0ms - bound to [0.0.0.0:8181]
 INFO: The Admin Console is already installed, but not yet loaded.
 INFO: The Admin Console is starting. Please wait.
 INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080]
 INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181]
 INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848]
 INFO: WEB0171: Created virtual server [server]
 INFO: WEB0171: Created virtual server [__asadmin]
 INFO: Initiating Jersey application, version 'Jersey: 1.8 06/24/2011 12:17 PM'
 INFO: WEB0172: Virtual server [server] loaded default web module []
 INFO: SEC1002: Security Manager is OFF.
 INFO: SEC1010: Entering Security Startup Service
 INFO: SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
 INFO: SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
 INFO: SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
 INFO: SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
 INFO: SEC1011: Security Service(s) Started Successfully
 INFO: REST00001: Listening to REST requests at context: /management/domain
 INFO: Initializing Mojarra 2.1.3 (FCS b02) for context ''
 INFO: ICEsoft Technologies Inc.
 ICEpush 2.0.2
 Build number: 6
 Revision: 24488
 
 INFO: ICEfaces Configuration: 
 org.icefaces.render.auto: true [default]
 org.icefaces.autoid: true [default]
 org.icefaces.aria.enabled: true [default]
 org.icefaces.blockUIOnSubmit: false [default]
 org.icefaces.compressDOM: false [default]
 org.icefaces.compressResources: true [default]
 org.icefaces.connectionLostRedirectURI: null [default]
 org.icefaces.deltaSubmit: false [default]
 org.icefaces.lazyPush: true [default]
 org.icefaces.sessionExpiredRedirectURI: null [default]
 org.icefaces.standardFormSerialization: false [default]
 org.icefaces.strictSessionTimeout: false [default]
 org.icefaces.windowScopeExpiration = 1000 [default]
 org.icefaces.mandatoryResourceConfiguration: null [default]
 org.icefaces.uniqueResourceURLs: true [default]
 org.icefaces.lazyWindowScope: true [default]
 org.icefaces.disableDefaultErrorPopups: false [default]
 
 INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
 INFO: ICEsoft Technologies Inc.
 ICEfaces 2.0.2
 Build number: 8
 Revision: 24561
 
 INFO: WEB0671: Loading application [__admingui] at [/]
 INFO: CORE10010: Loading application __admingui done in 9 531 ms
 INFO: The Admin Console application is loaded.
 WARNING: ICEfaces configured for view /login.jsf but h:head and h:body components are required
 SEVERE: failed to append text[
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
 <head>
     <title>Login</title>
 <script type="text/javascript">
 <!-- FIXME: add code to ensure we're the top-most frame -->
     if (document.getElementById('layout-doc') != null) {
         // Just refresh the page... login will take over
         window.location = window.location;
     }
 </script>
     <style type="text/css">
         /* clickjacking defense */
         body { display : none; }
     </style>
 ] into #document
 org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(ParentNode.java:356)
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(ParentNode.java:284)
 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:399)
 	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:357)
 	at org.icefaces.impl.context.DOMResponseWriter.write(DOMResponseWriter.java:193)
 	at com.sun.jsftemplating.handlers.UtilHandlers.write(UtilHandlers.java:166)
 	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)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:321)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:246)
 	at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:683)
 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
 	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
 	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
 	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
 	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
 	at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:231)
 	at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
 	at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
 	at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
 	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)
 
 SEVERE: failed to write 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
 <head>
     <title>Login</title>
 <script type="text/javascript">
 <!-- FIXME: add code to ensure we're the top-most frame -->
     if (document.getElementById('layout-doc') != null) {
         // Just refresh the page... login will take over
         window.location = window.location;
     }
 </script>
     <style type="text/css">
         /* clickjacking defense */
         body { display : none; }
     </style>
 java.lang.RuntimeException: failed to append text[
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
 <head>
     <title>Login</title>
 <script type="text/javascript">
 <!-- FIXME: add code to ensure we're the top-most frame -->
     if (document.getElementById('layout-doc') != null) {
         // Just refresh the page... login will take over
         window.location = window.location;
     }
 </script>
     <style type="text/css">
         /* clickjacking defense */
         body { display : none; }
     </style>
 ] into #document
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:362)
 	at org.icefaces.impl.context.DOMResponseWriter.write(DOMResponseWriter.java:193)
 	at com.sun.jsftemplating.handlers.UtilHandlers.write(UtilHandlers.java:166)
 	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)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:321)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:246)
 	at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:683)
 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
 	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
 	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
 	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
 	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
 	at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:231)
 	at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
 	at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
 	at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
 	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: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(ParentNode.java:356)
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(ParentNode.java:284)
 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:399)
 	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:357)
 	... 74 more
 
 SEVERE: failed to append text[
 ] into #document
 org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(ParentNode.java:356)
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(ParentNode.java:284)
 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:399)
 	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:357)
 	at org.icefaces.impl.context.DOMResponseWriter.write(DOMResponseWriter.java:193)
 	at com.sun.webui.jsf.util.RenderingUtilities.renderStylesheetLinks(RenderingUtilities.java:492)
 	at com.sun.webui.jsf.util.RenderingUtilities.renderStyleSheetLink(RenderingUtilities.java:461)
 	at com.sun.webui.jsf.renderkit.html.ThemeLinksRenderer.encodeBegin(ThemeLinksRenderer.java:69)
 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:549)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:246)
 	at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:683)
 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
 	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
 	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
 	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
 	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
 	at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:231)
 	at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
 	at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
 	at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
 	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)
 
 SEVERE: failed to write 
 java.lang.RuntimeException: failed to append text[
 ] into #document
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:362)
 	at org.icefaces.impl.context.DOMResponseWriter.write(DOMResponseWriter.java:193)
 	at com.sun.webui.jsf.util.RenderingUtilities.renderStylesheetLinks(RenderingUtilities.java:492)
 	at com.sun.webui.jsf.util.RenderingUtilities.renderStyleSheetLink(RenderingUtilities.java:461)
 	at com.sun.webui.jsf.renderkit.html.ThemeLinksRenderer.encodeBegin(ThemeLinksRenderer.java:69)
 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:549)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:246)
 	at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:683)
 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
 	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
 	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
 	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
 	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
 	at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:231)
 	at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
 	at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
 	at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
 	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: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(ParentNode.java:356)
 	at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(ParentNode.java:284)
 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:399)
 	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:357)
 	... 66 more
 
 SEVERE: failed to append element[tag: script; attributes: ] into #document
 org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:391)
 	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:357)
 	at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseWriter.java:245)
 	at com.sun.webui.jsf.util.JavaScriptUtilities.renderJavaScript(JavaScriptUtilities.java:286)
 	at com.sun.webui.jsf.renderkit.html.ThemeLinksRenderer.encodeBegin(ThemeLinksRenderer.java:78)
 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:549)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:246)
 	at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:683)
 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
 	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
 	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
 	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
 	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
 	at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:231)
 	at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
 	at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
 	at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
 	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)
 
 WARNING: ApplicationDispatcher[] PWC1231: Servlet.service() for servlet FacesServlet threw exception
 java.lang.RuntimeException: failed to append element[tag: script; attributes: ] into #document
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:362)
 	at org.icefaces.impl.context.DOMResponseWriter.startElement(DOMResponseWriter.java:245)
 	at com.sun.webui.jsf.util.JavaScriptUtilities.renderJavaScript(JavaScriptUtilities.java:286)
 	at com.sun.webui.jsf.renderkit.html.ThemeLinksRenderer.encodeBegin(ThemeLinksRenderer.java:78)
 	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:820)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:549)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
 	at com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
 	at com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
 	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
 	at com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
 	at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
 	at com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:246)
 	at com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:683)
 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
 	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
 	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
 	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
 	at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
 	at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
 	at org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:231)
 	at com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
 	at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
 	at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
 	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
 	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: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 
 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:391)
 	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
 	at org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:357)
 	... 65 more
 
 
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team