11 Replies Latest reply on Nov 27, 2008 11:27 AM by Dimitris Andreadis

    java2ClassLoadingCompliance in AS5?

    Stan Silvert Master

      Dimitris just re-enabled an old test that excercises the WAR_BUNDLES_JSF_IMPL community-only feature:
      http://www.jboss.org/community/docs/DOC-10182

      The test is now failing on AS5 because the JSF classes in jbossweb.sar/jsf-libs are loaded before the JSF classes in WEB-INF/lib.

      The observed behavior is the same as if you set java2ClassLoadingCompliance=true on AS4.2.

      So I'm first wondering if anyone knows if we have a reliable unit test for java2ClassLoadingCompliance? Perhaps java2ClassLoadingCompliance simply isn't working in AS5.

      If that's not it then we will need to dig deeper. Any ideas?

      Stan

        • 1. Re: java2ClassLoadingCompliance in AS5?
          David Lloyd Master

          In the new AS5/MC classloader methodology, wouldn't the proper fix be to exclude the builtin JSF classes from deployments that specify this parameter? Like, using classloading metadata somehow... maybe bunding the JSF RI as a "module" and implicitly adding a "depends" thing into any web deployment that does NOT specify the WAR_BUNDLES_JSF_JAR context param.

          I guess it might be tricky since it's implemented as a context-param rather than, say, a top-level metadata thinger in jboss-web.xml. But I bet it's still doable this way... where does the WAR deployer live these days? Has it been POJO-ized?

          • 2. Re: java2ClassLoadingCompliance in AS5?
            Scott Stark Master

            We have a few tests for overriding things like logging, the xml parser impl that rely on this and are working. The general problem with overriding is whether or not the api was designed for it. For example, you cannot override the javax.xml.* classes, only the implementation of the interfaces.

            Do the jsf classes in question have a similar factory type of pattern where the implementation is loaded in the context of the war class loader, or are these classes that are bound to some tomcat container class that would require the container to be recreated in the war class loader?

            If I run the org.jboss.test.web.test.JSFIntegrationUnitTestCase it looks to be passing, so am I missing some recent change that altered this?

            2244 [main] DEBUG org.jboss.test.JBossTestCase - ==== setUp org.jboss.test.JBossTestCase ====
            2245 [main] DEBUG org.jboss.test.JBossTestCase - JBossTestServices.setUp()
            2276 [main] DEBUG org.jboss.test.JBossTestCase - initialContext.getEnvironment()={jnp.parsedName=, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.provider.url=localhost:1099, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
            2276 [main] INFO org.jboss.test.JBossTestCase - jbosstest.beancount: null
            2276 [main] INFO org.jboss.test.JBossTestCase - jbosstest.iterationcount: null
            2276 [main] INFO org.jboss.test.JBossTestCase - jbosstest.threadcount: null
            2276 [main] INFO org.jboss.test.JBossTestCase - jbosstest.nodeploy: null
            2276 [main] INFO org.jboss.test.JBossTestCase - jbosstest.jndiurl: localhost:1099
            2276 [main] INFO org.jboss.test.JBossTestCase - jbosstest.jndifactory: org.jnp.interfaces.NamingContextFactory
            2276 [main] DEBUG org.jboss.test.JBossTestCase - jbosstest-jsf.war is not a valid URL, no protocol: jbosstest-jsf.war
            2276 [main] DEBUG org.jboss.test.JBossTestCase - Testing file: output/lib/jbosstest-jsf.war
            2276 [main] DEBUG org.jboss.test.JBossTestCase - /Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf.war is a valid file
            2277 [main] DEBUG org.jboss.test.JBossTestCase - Deploying jbosstest-jsf.war, url=file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf.war
            2278 [main] DEBUG org.jnp.interfaces.TimedSocketFactory - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0
            2652 [main] DEBUG org.jboss.test.JBossTestCase - Invoking jboss.system:service=MainDeployer method=deploy
            2652 [main] DEBUG org.jboss.test.JBossTestCase - args=[file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf.war]
            4081 [main] DEBUG org.jboss.test.JBossTestCase - jbosstest-jsf-facelets.war is not a valid URL, no protocol: jbosstest-jsf-facelets.war
            4081 [main] DEBUG org.jboss.test.JBossTestCase - Testing file: output/lib/jbosstest-jsf-facelets.war
            4082 [main] DEBUG org.jboss.test.JBossTestCase - /Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf-facelets.war is a valid file
            4082 [main] DEBUG org.jboss.test.JBossTestCase - Deploying jbosstest-jsf-facelets.war, url=file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf-facelets.war
            4082 [main] DEBUG org.jboss.test.JBossTestCase - Invoking jboss.system:service=MainDeployer method=deploy
            4082 [main] DEBUG org.jboss.test.JBossTestCase - args=[file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf-facelets.war]
            4467 [main] DEBUG org.jboss.test.web.test.JSFIntegrationUnitTestCase - ==== Starting testJSFIntegrated ====
            4468 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Open connection to localhost:8080
            4469 [main] DEBUG httpclient.wire.header - >> "GET /jbosstest-jsf/index.jsf HTTP/1.1[\r][\n]"
            4469 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
            4472 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
            4472 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"
            4472 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"
            6191 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]"
            6193 [main] DEBUG httpclient.wire.header - << "Server: Apache-Coyote/1.1[\r][\n]"
            6193 [main] DEBUG httpclient.wire.header - << "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1[\r][\n]"
            6193 [main] DEBUG httpclient.wire.header - << "X-Powered-By: JSF/1.2[\r][\n]"
            6193 [main] DEBUG httpclient.wire.header - << "Set-Cookie: JSESSIONID=92AE9D1FF4B232B544CC297833DF1E3B; Path=/jbosstest-jsf[\r][\n]"
            6193 [main] DEBUG httpclient.wire.header - << "Content-Type: text/html;charset=UTF-8[\r][\n]"
            6193 [main] DEBUG httpclient.wire.header - << "Content-Language: en-US[\r][\n]"
            6193 [main] DEBUG httpclient.wire.header - << "Transfer-Encoding: chunked[\r][\n]"
            6194 [main] DEBUG httpclient.wire.header - << "Date: Tue, 25 Nov 2008 17:32:56 GMT[\r][\n]"
            6194 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; JSESSIONID=92AE9D1FF4B232B544CC297833DF1E3B; $Path=/jbosstest-jsf"
            6195 [main] DEBUG httpclient.wire.content - << "7"
            6195 [main] DEBUG httpclient.wire.content - << "b"
            6195 [main] DEBUG httpclient.wire.content - << "f"
            6195 [main] DEBUG httpclient.wire.content - << "[\r]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6195 [main] DEBUG httpclient.wire.content - << "[\n]"
            6196 [main] DEBUG httpclient.wire.content - << "<html>[\n]"
            6196 [main] DEBUG httpclient.wire.content - << " <head>[\n]"
            6196 [main] DEBUG httpclient.wire.content - << " <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">[\n]"
            6196 [main] DEBUG httpclient.wire.content - << " <title>JBoss JSF Integration Test</title>[\n]"
            6196 [main] DEBUG httpclient.wire.content - << " </head>[\n]"
            6196 [main] DEBUG httpclient.wire.content - << " <body>[\n]"
            6196 [main] DEBUG httpclient.wire.content - << "[\n]"
            6196 [main] DEBUG httpclient.wire.content - << " [\n]"
            6196 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>InjectionBean: hit this page twice to complete the test.</h1></font>[\n]"
            6196 [main] DEBUG httpclient.wire.content - << " <h3>@PostConstruct was called.</h3>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <h3></h3>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <h3>Datasource was injected.</h3>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " [\n]"
            6197 [main] DEBUG httpclient.wire.content - << " [\n]"
            6197 [main] DEBUG httpclient.wire.content - << " [\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Classic test of JSTL 1.2/JSF 1.2 with deferred expressions:</h1></font>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " [\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <h3>number one</h3>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " [\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <h3>number two</h3>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " [\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <h3>number three</h3>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " [\n]"
            6197 [main] DEBUG httpclient.wire.content - << "[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>ServletContext Minor Version Test (should return 5)</h1></font>[\n]"
            6197 [main] DEBUG httpclient.wire.content - << " <h3>ServletContext.getMinorVersion() = 5</h3>[\n]"
            6198 [main] DEBUG httpclient.wire.content - << "[\n]"
            6198 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Enum Test</h1></font>[\n]"
            6198 [main] DEBUG httpclient.wire.content - << " <h3>JBoss Color selection is PURPLE</h3>[\n]"
            6198 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Test using JDK class as a managed bean</h1></font> [\n]"
            6198 [main] DEBUG httpclient.wire.content - << " <h3>JButto"
            6198 [main] DEBUG httpclient.wire.content - << "n value = javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=apple.laf.CUIAquaButtonBorder$Dynamic@6d219c,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Initial Value,defaultCapable=true]</h3>[\n]"
            6198 [main] DEBUG httpclient.wire.content - << " [\n]"
            6198 [main] DEBUG httpclient.wire.content - << " [\n]"
            6199 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Logging Test</h1></font>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << " <h3>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << " ERROR - Logged SEVERE message in APPLICATION_LOGGER<br/>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << "WARN - Logged WARNING message in CONTEXT_LOGGER<br/>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << "INFO - Logged INFO message in CONFIG_LOGGER<br/>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << "DEBUG - Logged FINE message in LIFECYCLE_LOGGER<br/>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINER message in TIMING_LOGGER<br/>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in TIMING_LOGGER<br/>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in MANAGEDBEAN_LOGGER Logger<br/>[\n]"
            6199 [main] DEBUG httpclient.wire.content - << "[\n]"
            6200 [main] DEBUG httpclient.wire.content - << "[\n]"
            6200 [main] DEBUG httpclient.wire.content - << " </h3>[\n]"
            6200 [main] DEBUG httpclient.wire.content - << " </body>[\n]"
            6200 [main] DEBUG httpclient.wire.content - << "</html>[\n]"
            6200 [main] DEBUG httpclient.wire.content - << "[\r]"
            6200 [main] DEBUG httpclient.wire.content - << "[\n]"
            6200 [main] DEBUG httpclient.wire.content - << "0"
            6200 [main] DEBUG httpclient.wire.content - << "[\r]"
            6200 [main] DEBUG httpclient.wire.content - << "[\n]"
            6200 [main] DEBUG httpclient.wire.content - << "[\r]"
            6201 [main] DEBUG httpclient.wire.content - << "[\n]"
            6201 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
            6201 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
            6201 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
            6202 [main] DEBUG httpclient.wire.header - >> "GET /jbosstest-jsf/index.jsf HTTP/1.1[\r][\n]"
            6202 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
            6203 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
            6203 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"
            6203 [main] DEBUG httpclient.wire.header - >> "Cookie: $Version=0; JSESSIONID=92AE9D1FF4B232B544CC297833DF1E3B; $Path=/jbosstest-jsf[\r][\n]"
            6204 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"
            6217 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]"
            6217 [main] DEBUG httpclient.wire.header - << "Server: Apache-Coyote/1.1[\r][\n]"
            6217 [main] DEBUG httpclient.wire.header - << "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1[\r][\n]"
            6217 [main] DEBUG httpclient.wire.header - << "X-Powered-By: JSF/1.2[\r][\n]"
            6217 [main] DEBUG httpclient.wire.header - << "Content-Type: text/html;charset=UTF-8[\r][\n]"
            6217 [main] DEBUG httpclient.wire.header - << "Content-Language: en-US[\r][\n]"
            6217 [main] DEBUG httpclient.wire.header - << "Transfer-Encoding: chunked[\r][\n]"
            6218 [main] DEBUG httpclient.wire.header - << "Date: Tue, 25 Nov 2008 17:32:56 GMT[\r][\n]"
            6218 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
            6218 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Buffering response body
            6220 [main] DEBUG httpclient.wire.content - << "7"
            6220 [main] DEBUG httpclient.wire.content - << "d"
            6220 [main] DEBUG httpclient.wire.content - << "6"
            6220 [main] DEBUG httpclient.wire.content - << "[\r]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "[\n]"
            6220 [main] DEBUG httpclient.wire.content - << "<html>[\n]"
            6220 [main] DEBUG httpclient.wire.content - << " <head>[\n]"
            6220 [main] DEBUG httpclient.wire.content - << " <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <title>JBoss JSF Integration Test</title>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " </head>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <body>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << "[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " [\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>InjectionBean: hit this page twice to complete the test.</h1></font>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <h3>@PostConstruct was called.</h3>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <h3>@PreDestroy was called.</h3>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <h3>Datasource was injected.</h3>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " [\n]"
            6221 [main] DEBUG httpclient.wire.content - << " [\n]"
            6221 [main] DEBUG httpclient.wire.content - << " [\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Classic test of JSTL 1.2/JSF 1.2 with deferred expressions:</h1></font>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " [\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <h3>number one</h3>[\n]"
            6221 [main] DEBUG httpclient.wire.content - << " [\n]"
            6221 [main] DEBUG httpclient.wire.content - << " <h3>number two</h3>[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " [\n]"
            6222 [main] DEBUG httpclient.wire.content - << " <h3>number three</h3>[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " [\n]"
            6222 [main] DEBUG httpclient.wire.content - << "[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>ServletContext Minor Version Test (should return 5)</h1></font>[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " <h3>ServletContext.getMinorVersion() = 5</h3>[\n]"
            6222 [main] DEBUG httpclient.wire.content - << "[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Enum Test</h1></font>[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " <h3>JBoss Color selection is PURPLE</h3>[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Test using JDK class as a managed bean</h1></font> [\n]"
            6222 [main] DEBUG httpclient.wire.content - << " <h3>JButton value = javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=apple.laf.CUIAquaButtonBorder$Dynamic@6d219c,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Initial Value,defaultCapable=true]</h3>[\n]"
            6222 [main] DEBUG httpclient.wire.content - << " [\n]"
            6223 [main] DEBUG httpclient.wire.content - << " [\n]"
            6223 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Logging Test</h1></font>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << " <h3>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << " ERROR - Logged SEVERE message in APPLICATION_LOGGER<br/>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "WARN - Logged WARNING message in CONTEXT_LOGGER<br/>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "INFO - Logged INFO message in CONFIG_LOGGER<br/>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "DEBUG - Logged FINE message in LIFECYCLE_LOGGER<br/>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINER message in TIMING_LOGGER<br/>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in TIMING_LOGGER<br/>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in MANAGEDBEAN_LOGGER Logger<br/>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "[\n]"
            6223 [main] DEBUG httpclient.wire.content - << " </h3>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << " </body>[\n]"
            6223 [main] DEBUG httpclient.wire.content - << "</html>[\n]"
            6224 [main] DEBUG httpclient.wire.content - << "[\r]"
            6224 [main] DEBUG httpclient.wire.content - << "[\n]"
            6224 [main] DEBUG httpclient.wire.content - << "0"
            6224 [main] DEBUG httpclient.wire.content - << "[\r]"
            6224 [main] DEBUG httpclient.wire.content - << "[\n]"
            6224 [main] DEBUG httpclient.wire.content - << "[\r]"
            6224 [main] DEBUG httpclient.wire.content - << "[\n]"
            6224 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
            6224 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
            6224 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
            6225 [main] DEBUG org.jboss.test.web.test.JSFIntegrationUnitTestCase - ==== Starting testNoFaceletsLogging ====
            6225 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Open connection to localhost:8080
            6225 [main] DEBUG httpclient.wire.header - >> "GET /jbosstest-jsf/index.jsf HTTP/1.1[\r][\n]"
            6225 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
            6226 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
            6226 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"
            6226 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"
            6236 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]"
            6237 [main] DEBUG httpclient.wire.header - << "Server: Apache-Coyote/1.1[\r][\n]"
            6237 [main] DEBUG httpclient.wire.header - << "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1[\r][\n]"
            6237 [main] DEBUG httpclient.wire.header - << "X-Powered-By: JSF/1.2[\r][\n]"
            6237 [main] DEBUG httpclient.wire.header - << "Set-Cookie: JSESSIONID=5E44820CD893F6977489AF91D3B207DC; Path=/jbosstest-jsf[\r][\n]"
            6237 [main] DEBUG httpclient.wire.header - << "Content-Type: text/html;charset=UTF-8[\r][\n]"
            6237 [main] DEBUG httpclient.wire.header - << "Content-Language: en-US[\r][\n]"
            6237 [main] DEBUG httpclient.wire.header - << "Transfer-Encoding: chunked[\r][\n]"
            6238 [main] DEBUG httpclient.wire.header - << "Date: Tue, 25 Nov 2008 17:32:56 GMT[\r][\n]"
            6238 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; JSESSIONID=5E44820CD893F6977489AF91D3B207DC; $Path=/jbosstest-jsf"
            6239 [main] DEBUG httpclient.wire.content - << "7"
            6239 [main] DEBUG httpclient.wire.content - << "b"
            6239 [main] DEBUG httpclient.wire.content - << "f"
            6239 [main] DEBUG httpclient.wire.content - << "[\r]"
            6239 [main] DEBUG httpclient.wire.content - << "[\n]"
            6239 [main] DEBUG httpclient.wire.content - << "[\n]"
            6240 [main] DEBUG httpclient.wire.content - << "[\n]"
            6240 [main] DEBUG httpclient.wire.content - << "[\n]"
            6240 [main] DEBUG httpclient.wire.content - << "[\n]"
            6241 [main] DEBUG httpclient.wire.content - << "[\n]"
            6241 [main] DEBUG httpclient.wire.content - << "[\n]"
            6241 [main] DEBUG httpclient.wire.content - << "[\n]"
            6241 [main] DEBUG httpclient.wire.content - << "<html>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <head>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <title>JBoss JSF Integration Test</title>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " </head>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <body>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << "[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " [\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>InjectionBean: hit this page twice to complete the test.</h1></font>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <h3>@PostConstruct was called.</h3>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <h3></h3>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " <h3>Datasource was injected.</h3>[\n]"
            6241 [main] DEBUG httpclient.wire.content - << " [\n]"
            6242 [main] DEBUG httpclient.wire.content - << " [\n]"
            6242 [main] DEBUG httpclient.wire.content - << " [\n]"
            6242 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Classic test of JSTL 1.2/JSF 1.2 with deferred expressions:</h1></font>[\n]"
            6242 [main] DEBUG httpclient.wire.content - << " [\n]"
            6242 [main] DEBUG httpclient.wire.content - << " <h3>number one</h3>[\n]"
            6242 [main] DEBUG httpclient.wire.content - << " [\n]"
            6242 [main] DEBUG httpclient.wire.content - << " <h3>number two</h3>[\n]"
            6242 [main] DEBUG httpclient.wire.content - << " [\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <h3>number three</h3>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " [\n]"
            6243 [main] DEBUG httpclient.wire.content - << "[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>ServletContext Minor Version Test (should return 5)</h1></font>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <h3>ServletContext.getMinorVersion() = 5</h3>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << "[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Enum Test</h1></font>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <h3>JBoss Color selection is PURPLE</h3>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Test using JDK class as a managed bean</h1></font> [\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <h3>JButto"
            6243 [main] DEBUG httpclient.wire.content - << "n value = javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=apple.laf.CUIAquaButtonBorder$Dynamic@6d219c,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Initial Value,defaultCapable=true]</h3>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " [\n]"
            6243 [main] DEBUG httpclient.wire.content - << " [\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Logging Test</h1></font>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " <h3>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << " ERROR - Logged SEVERE message in APPLICATION_LOGGER<br/>[\n]"
            6243 [main] DEBUG httpclient.wire.content - << "WARN - Logged WARNING message in CONTEXT_LOGGER<br/>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "INFO - Logged INFO message in CONFIG_LOGGER<br/>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "DEBUG - Logged FINE message in LIFECYCLE_LOGGER<br/>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINER message in TIMING_LOGGER<br/>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in TIMING_LOGGER<br/>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in MANAGEDBEAN_LOGGER Logger<br/>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "[\n]"
            6244 [main] DEBUG httpclient.wire.content - << " </h3>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << " </body>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "</html>[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "[\r]"
            6244 [main] DEBUG httpclient.wire.content - << "[\n]"
            6244 [main] DEBUG httpclient.wire.content - << "0"
            6244 [main] DEBUG httpclient.wire.content - << "[\r]"
            6245 [main] DEBUG httpclient.wire.content - << "[\n]"
            6245 [main] DEBUG httpclient.wire.content - << "[\r]"
            6245 [main] DEBUG httpclient.wire.content - << "[\n]"
            6245 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
            6245 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
            6245 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
            6247 [main] DEBUG httpclient.wire.header - >> "GET /jbosstest-jsf/index.jsf HTTP/1.1[\r][\n]"
            6247 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
            6248 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
            6248 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"
            6248 [main] DEBUG httpclient.wire.header - >> "Cookie: $Version=0; JSESSIONID=5E44820CD893F6977489AF91D3B207DC; $Path=/jbosstest-jsf[\r][\n]"
            6248 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "Server: Apache-Coyote/1.1[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "X-Powered-By: JSF/1.2[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "Content-Type: text/html;charset=UTF-8[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "Content-Language: en-US[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "Transfer-Encoding: chunked[\r][\n]"
            6259 [main] DEBUG httpclient.wire.header - << "Date: Tue, 25 Nov 2008 17:32:56 GMT[\r][\n]"
            6259 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
            6260 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Buffering response body
            6260 [main] DEBUG httpclient.wire.content - << "7"
            6260 [main] DEBUG httpclient.wire.content - << "d"
            6260 [main] DEBUG httpclient.wire.content - << "6"
            6260 [main] DEBUG httpclient.wire.content - << "[\r]"
            6260 [main] DEBUG httpclient.wire.content - << "[\n]"
            6260 [main] DEBUG httpclient.wire.content - << "[\n]"
            6260 [main] DEBUG httpclient.wire.content - << "[\n]"
            6261 [main] DEBUG httpclient.wire.content - << "[\n]"
            6261 [main] DEBUG httpclient.wire.content - << "[\n]"
            6261 [main] DEBUG httpclient.wire.content - << "[\n]"
            6261 [main] DEBUG httpclient.wire.content - << "[\n]"
            6261 [main] DEBUG httpclient.wire.content - << "[\n]"
            6261 [main] DEBUG httpclient.wire.content - << "<html>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <head>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <title>JBoss JSF Integration Test</title>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " </head>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <body>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << "[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " [\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>InjectionBean: hit this page twice to complete the test.</h1></font>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <h3>@PostConstruct was called.</h3>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <h3>@PreDestroy was called.</h3>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " <h3>Datasource was injected.</h3>[\n]"
            6261 [main] DEBUG httpclient.wire.content - << " [\n]"
            6261 [main] DEBUG httpclient.wire.content - << " [\n]"
            6262 [main] DEBUG httpclient.wire.content - << " [\n]"
            6262 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Classic test of JSTL 1.2/JSF 1.2 with deferred expressions:</h1></font>[\n]"
            6262 [main] DEBUG httpclient.wire.content - << " [\n]"
            6262 [main] DEBUG httpclient.wire.content - << " <h3>number one</h3>[\n]"
            6262 [main] DEBUG httpclient.wire.content - << " [\n]"
            6262 [main] DEBUG httpclient.wire.content - << " <h3>number two</h3>[\n]"
            6262 [main] DEBUG httpclient.wire.content - << " [\n]"
            6262 [main] DEBUG httpclient.wire.content - << " <h3>number three</h3>[\n]"
            6262 [main] DEBUG httpclient.wire.content - << " [\n]"
            6262 [main] DEBUG httpclient.wire.content - << "[\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>ServletContext Minor Version Test (should return 5)</h1></font>[\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <h3>ServletContext.getMinorVersion() = 5</h3>[\n]"
            6263 [main] DEBUG httpclient.wire.content - << "[\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Enum Test</h1></font>[\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <h3>JBoss Color selection is PURPLE</h3>[\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Test using JDK class as a managed bean</h1></font> [\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <h3>JButton value = javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=apple.laf.CUIAquaButtonBorder$Dynamic@6d219c,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Initial Value,defaultCapable=true]</h3>[\n]"
            6263 [main] DEBUG httpclient.wire.content - << " [\n]"
            6263 [main] DEBUG httpclient.wire.content - << " [\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Logging Test</h1></font>[\n]"
            6263 [main] DEBUG httpclient.wire.content - << " <h3>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << " ERROR - Logged SEVERE message in APPLICATION_LOGGER<br/>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "WARN - Logged WARNING message in CONTEXT_LOGGER<br/>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "INFO - Logged INFO message in CONFIG_LOGGER<br/>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "DEBUG - Logged FINE message in LIFECYCLE_LOGGER<br/>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINER message in TIMING_LOGGER<br/>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in TIMING_LOGGER<br/>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in MANAGEDBEAN_LOGGER Logger<br/>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "[\n]"
            6264 [main] DEBUG httpclient.wire.content - << " </h3>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << " </body>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "</html>[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "[\r]"
            6264 [main] DEBUG httpclient.wire.content - << "[\n]"
            6264 [main] DEBUG httpclient.wire.content - << "0"
            6264 [main] DEBUG httpclient.wire.content - << "[\r]"
            6265 [main] DEBUG httpclient.wire.content - << "[\n]"
            6265 [main] DEBUG httpclient.wire.content - << "[\r]"
            6265 [main] DEBUG httpclient.wire.content - << "[\n]"
            6265 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
            6265 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
            6265 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
            6266 [main] DEBUG org.jboss.test.web.test.JSFIntegrationUnitTestCase - ==== Starting testFaceletsLogging ====
            6267 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Open connection to localhost:8080
            6267 [main] DEBUG httpclient.wire.header - >> "GET /jbosstest-jsf-facelets/index.jsf HTTP/1.1[\r][\n]"
            6267 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
            6267 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
            6268 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"
            6268 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"
            6728 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]"
            6728 [main] DEBUG httpclient.wire.header - << "Server: Apache-Coyote/1.1[\r][\n]"
            6728 [main] DEBUG httpclient.wire.header - << "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1[\r][\n]"
            6729 [main] DEBUG httpclient.wire.header - << "X-Powered-By: JSF/1.2[\r][\n]"
            6729 [main] DEBUG httpclient.wire.header - << "Set-Cookie: JSESSIONID=28D10F7555F79608E81219C8363E364A; Path=/jbosstest-jsf-facelets[\r][\n]"
            6730 [main] DEBUG httpclient.wire.header - << "Content-Type: text/html;charset=UTF-8[\r][\n]"
            6730 [main] DEBUG httpclient.wire.header - << "Content-Language: en-US[\r][\n]"
            6730 [main] DEBUG httpclient.wire.header - << "Transfer-Encoding: chunked[\r][\n]"
            6730 [main] DEBUG httpclient.wire.header - << "Date: Tue, 25 Nov 2008 17:32:56 GMT[\r][\n]"
            6730 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Cookie accepted: "$Version=0; JSESSIONID=28D10F7555F79608E81219C8363E364A; $Path=/jbosstest-jsf-facelets"
            6730 [main] DEBUG httpclient.wire.content - << "9"
            6730 [main] DEBUG httpclient.wire.content - << "9"
            6730 [main] DEBUG httpclient.wire.content - << "e"
            6730 [main] DEBUG httpclient.wire.content - << "[\r]"
            6730 [main] DEBUG httpclient.wire.content - << "[\n]"
            6730 [main] DEBUG httpclient.wire.content - << "[\n]"
            6730 [main] DEBUG httpclient.wire.content - << "[\n]"
            6731 [main] DEBUG httpclient.wire.content - << "[\n]"
            6731 [main] DEBUG httpclient.wire.content - << "[\n]"
            6731 [main] DEBUG httpclient.wire.content - << "[\n]"
            6731 [main] DEBUG httpclient.wire.content - << "[\n]"
            6731 [main] DEBUG httpclient.wire.content - << "[\n]"
            6731 [main] DEBUG httpclient.wire.content - << "<html>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <head>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <title>JBoss JSF Integration Test</title>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " </head>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <body>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << "[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " [\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>InjectionBean: hit this page twice to complete the test.</h1></font>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <h3>@PostConstruct was called.</h3>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <h3></h3>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " <h3>Datasource was injected.</h3>[\n]"
            6731 [main] DEBUG httpclient.wire.content - << " [\n]"
            6731 [main] DEBUG httpclient.wire.content - << " [\n]"
            6731 [main] DEBUG httpclient.wire.content - << " [\n]"
            6732 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Classic test of JSTL 1.2/JSF 1.2 with deferred expressions:</h1></font>[\n]"
            6732 [main] DEBUG httpclient.wire.content - << " [\n]"
            6732 [main] DEBUG httpclient.wire.content - << " <h3>number one</h3>[\n]"
            6732 [main] DEBUG httpclient.wire.content - << " [\n]"
            6732 [main] DEBUG httpclient.wire.content - << " <h3>number two</h3>[\n]"
            6732 [main] DEBUG httpclient.wire.content - << " [\n]"
            6733 [main] DEBUG httpclient.wire.content - << " <h3>number three</h3>[\n]"
            6733 [main] DEBUG httpclient.wire.content - << " [\n]"
            6733 [main] DEBUG httpclient.wire.content - << "[\n]"
            6733 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>ServletContext Minor Version Test (should return 5)</h1></font>[\n]"
            6733 [main] DEBUG httpclient.wire.content - << " <h3>ServletContext.getMinorVersion() = 5</h3>[\n]"
            6733 [main] DEBUG httpclient.wire.content - << "[\n]"
            6733 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Enum Test</h1></font>[\n]"
            6733 [main] DEBUG httpclient.wire.content - << " <h3>JBoss Color selection is PURPLE</h3>[\n]"
            6733 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Test using JDK class as a managed bean</h1></font> [\n]"
            6733 [main] DEBUG httpclient.wire.content - << " <h3>JButto"
            6734 [main] DEBUG httpclient.wire.content - << "n value = javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=apple.laf.CUIAquaButtonBorder$Dynamic@6d219c,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Initial Value,defaultCapable=true]</h3>[\n]"
            6734 [main] DEBUG httpclient.wire.content - << " [\n]"
            6734 [main] DEBUG httpclient.wire.content - << " [\n]"
            6734 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Logging Test</h1></font>[\n]"
            6734 [main] DEBUG httpclient.wire.content - << " <h3>[\n]"
            6734 [main] DEBUG httpclient.wire.content - << " ERROR - Logged SEVERE message in APPLICATION_LOGGER<br/>[\n]"
            6734 [main] DEBUG httpclient.wire.content - << "WARN - Logged WARNING message in CONTEXT_LOGGER<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Logged INFO message in CONFIG_LOGGER<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "DEBUG - Logged FINE message in LIFECYCLE_LOGGER<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINER message in TIMING_LOGGER<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in TIMING_LOGGER<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in MANAGEDBEAN_LOGGER Logger<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.compiler<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.compiler<b"
            6735 [main] DEBUG httpclient.wire.content - << "r/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.factory<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.tag.component<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.factory<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.viewhandler<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.compiler<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.tag.component<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.tag.meta<br/>[\n]"
            6735 [main] DEBUG httpclient.wire.content - << "[\n]"
            6736 [main] DEBUG httpclient.wire.content - << "[\n]"
            6736 [main] DEBUG httpclient.wire.content - << " </h3>[\n]"
            6736 [main] DEBUG httpclient.wire.content - << " </body>[\n]"
            6736 [main] DEBUG httpclient.wire.content - << "</html>[\n]"
            6736 [main] DEBUG httpclient.wire.content - << "[\r]"
            6736 [main] DEBUG httpclient.wire.content - << "[\n]"
            6736 [main] DEBUG httpclient.wire.content - << "0"
            6736 [main] DEBUG httpclient.wire.content - << "[\r]"
            6736 [main] DEBUG httpclient.wire.content - << "[\n]"
            6736 [main] DEBUG httpclient.wire.content - << "[\r]"
            6736 [main] DEBUG httpclient.wire.content - << "[\n]"
            6736 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
            6736 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
            6736 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
            6738 [main] DEBUG httpclient.wire.header - >> "GET /jbosstest-jsf-facelets/index.jsf HTTP/1.1[\r][\n]"
            6738 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Adding Host request header
            6739 [main] DEBUG httpclient.wire.header - >> "User-Agent: Jakarta Commons-HttpClient/3.0[\r][\n]"
            6739 [main] DEBUG httpclient.wire.header - >> "Host: localhost:8080[\r][\n]"
            6739 [main] DEBUG httpclient.wire.header - >> "Cookie: $Version=0; JSESSIONID=28D10F7555F79608E81219C8363E364A; $Path=/jbosstest-jsf-facelets[\r][\n]"
            6739 [main] DEBUG httpclient.wire.header - >> "[\r][\n]"
            6756 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]"
            6756 [main] DEBUG httpclient.wire.header - << "Server: Apache-Coyote/1.1[\r][\n]"
            6756 [main] DEBUG httpclient.wire.header - << "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1[\r][\n]"
            6756 [main] DEBUG httpclient.wire.header - << "X-Powered-By: JSF/1.2[\r][\n]"
            6756 [main] DEBUG httpclient.wire.header - << "Content-Type: text/html;charset=UTF-8[\r][\n]"
            6756 [main] DEBUG httpclient.wire.header - << "Content-Language: en-US[\r][\n]"
            6757 [main] DEBUG httpclient.wire.header - << "Transfer-Encoding: chunked[\r][\n]"
            6757 [main] DEBUG httpclient.wire.header - << "Date: Tue, 25 Nov 2008 17:32:56 GMT[\r][\n]"
            6757 [main] WARN org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
            6757 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Buffering response body
            6758 [main] DEBUG httpclient.wire.content - << "9"
            6758 [main] DEBUG httpclient.wire.content - << "b"
            6758 [main] DEBUG httpclient.wire.content - << "5"
            6758 [main] DEBUG httpclient.wire.content - << "[\r]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "[\n]"
            6758 [main] DEBUG httpclient.wire.content - << "<html>[\n]"
            6758 [main] DEBUG httpclient.wire.content - << " <head>[\n]"
            6758 [main] DEBUG httpclient.wire.content - << " <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">[\n]"
            6758 [main] DEBUG httpclient.wire.content - << " <title>JBoss JSF Integration Test</title>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " </head>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <body>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << "[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>InjectionBean: hit this page twice to complete the test.</h1></font>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <h3>@PostConstruct was called.</h3>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <h3>@PreDestroy was called.</h3>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <h3>Datasource was injected.</h3>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Classic test of JSTL 1.2/JSF 1.2 with deferred expressions:</h1></font>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <h3>number one</h3>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <h3>number two</h3>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <h3>number three</h3>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " [\n]"
            6759 [main] DEBUG httpclient.wire.content - << "[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>ServletContext Minor Version Test (should return 5)</h1></font>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << " <h3>ServletContext.getMinorVersion() = 5</h3>[\n]"
            6759 [main] DEBUG httpclient.wire.content - << "[\n]"
            6760 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Enum Test</h1></font>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << " <h3>JBoss Color selection is PURPLE</h3>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Test using JDK class as a managed bean</h1></font> [\n]"
            6760 [main] DEBUG httpclient.wire.content - << " <h3>JButton value = javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=apple.laf.CUIAquaButtonBorder$Dynamic@6d219c,flags=288,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=0,left=2,bottom=0,right=2],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Initial Value,defaultCapable=true]</h3>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << " [\n]"
            6760 [main] DEBUG httpclient.wire.content - << " [\n]"
            6760 [main] DEBUG httpclient.wire.content - << " <font color="red"><h1>Logging Test</h1></font>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << " <h3>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << " ERROR - Logged SEVERE message in APPLICATION_LOGGER<br/>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << "WARN - Logged WARNING message in CONTEXT_LOGGER<br/>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << "INFO - Logged INFO message in CONFIG_LOGGER<br/>[\n]"
            6760 [main] DEBUG httpclient.wire.content - << "DEBUG - Logged FINE message in LIFECYCLE_LOGGER<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINER message in TIMING_LOGGER<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in TIMING_LOGGER<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "TRACE - Logged FINEST message in MANAGEDBEAN_LOGGER Logger<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.compiler<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.compiler<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.factory<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.tag.component<br/>[\n]"
            6761 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.factory<br/>[\n]"
            6762 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.viewhandler<br/>[\n]"
            6763 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.compiler<br/>[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.tag.component<br/>[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "INFO - Here is a message for facelets.tag.meta<br/>[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "[\n]"
            6767 [main] DEBUG httpclient.wire.content - << " </h3>[\n]"
            6767 [main] DEBUG httpclient.wire.content - << " </body>[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "</html>[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "[\r]"
            6767 [main] DEBUG httpclient.wire.content - << "[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "0"
            6767 [main] DEBUG httpclient.wire.content - << "[\r]"
            6767 [main] DEBUG httpclient.wire.content - << "[\n]"
            6767 [main] DEBUG httpclient.wire.content - << "[\r]"
            6767 [main] DEBUG httpclient.wire.content - << "[\n]"
            6767 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Resorting to protocol version default close connection policy
            6768 [main] DEBUG org.apache.commons.httpclient.HttpMethodBase - Should NOT close connection, using HTTP/1.1
            6768 [main] DEBUG org.apache.commons.httpclient.HttpConnection - Releasing connection back to connection manager.
            6768 [main] DEBUG org.jboss.test.JBossTestCase - jbosstest-jsf-facelets.war is not a valid URL, no protocol: jbosstest-jsf-facelets.war
            6768 [main] DEBUG org.jboss.test.JBossTestCase - Testing file: output/lib/jbosstest-jsf-facelets.war
            6768 [main] DEBUG org.jboss.test.JBossTestCase - /Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf-facelets.war is a valid file
            6768 [main] DEBUG org.jboss.test.JBossTestCase - Undeploying jbosstest-jsf-facelets.war, url=file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf-facelets.war
            6768 [main] DEBUG org.jboss.test.JBossTestCase - Invoking jboss.system:service=MainDeployer method=undeploy
            6768 [main] DEBUG org.jboss.test.JBossTestCase - args=[file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf-facelets.war]
            6809 [main] DEBUG org.jboss.test.JBossTestCase - jbosstest-jsf.war is not a valid URL, no protocol: jbosstest-jsf.war
            6809 [main] DEBUG org.jboss.test.JBossTestCase - Testing file: output/lib/jbosstest-jsf.war
            6809 [main] DEBUG org.jboss.test.JBossTestCase - /Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf.war is a valid file
            6809 [main] DEBUG org.jboss.test.JBossTestCase - Undeploying jbosstest-jsf.war, url=file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf.war
            6809 [main] DEBUG org.jboss.test.JBossTestCase - Invoking jboss.system:service=MainDeployer method=undeploy
            6809 [main] DEBUG org.jboss.test.JBossTestCase - args=[file:/Users/svn/JBossHead/jboss-head/testsuite/output/lib/jbosstest-jsf.war]
            6838 [main] DEBUG org.jboss.test.JBossTestCase - JBossTestServices.tearDown()
            



            • 3. Re: java2ClassLoadingCompliance in AS5?
              Adrian Brock Master

               

              "stan.silvert@jboss.com" wrote:
              Dimitris just re-enabled an old test that excercises the WAR_BUNDLES_JSF_IMPL community-only feature:
              http://www.jboss.org/community/docs/DOC-10182

              The test is now failing on AS5 because the JSF classes in jbossweb.sar/jsf-libs are loaded before the JSF classes in WEB-INF/lib.

              The observed behavior is the same as if you set java2ClassLoadingCompliance=true on AS4.2.

              So I'm first wondering if anyone knows if we have a reliable unit test for java2ClassLoadingCompliance? Perhaps java2ClassLoadingCompliance simply isn't working in AS5.


              Yes there are tests and they are working.
              But they obviously don't have enough code coverage
              (unless you include this test :-), see below.


              If that's not it then we will need to dig deeper. Any ideas?
              Stan


              You bring this up on the very day that Ales releases 2.0.0.GA of jboss-cl. ;-)

              The issue is the parent policy we are using for the
              java2ClassLoadingCompliance=false
               public ParentPolicy getDeterminedParentPolicy()
               {
               if (isJ2seClassLoadingCompliance())
               return ParentPolicy.BEFORE;
               else
               return ParentPolicy.AFTER_BUT_JAVA_BEFORE;
               }
              


              The AFTER_BUT_JAVA_BEFORE actually means
              java.* and javax.* is delegated to the parent before asking the web-app
              http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/branches/Branch_2_0/classloader/src/main/java/org/jboss/classloader/spi/ParentPolicy.java?revision=78356&view=markup
              http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/projects/jboss-cl/branches/Branch_2_0/classloader/src/main/java/org/jboss/classloader/plugins/filter/JavaOnlyClassFilter.java?revision=78356&view=markup

              Wheras previously in jboss-4.2 it was just java.* that got delegated to the
              parent before asking the web-app.

              So this is a bug.
              https://jira.jboss.org/jira/browse/JBCL-73

              • 4. Re: java2ClassLoadingCompliance in AS5?
                Stan Silvert Master

                 

                "scott.stark@jboss.org" wrote:


                If I run the org.jboss.test.web.test.JSFIntegrationUnitTestCase it looks to be passing, so am I missing some recent change that altered this?

                Yes, there is a new version of JSFIntegrationTestCase that has an old test added to it. It looks like you need the latest from trunk.

                I'll answer your other question in a moment.

                Stan

                • 5. Re: java2ClassLoadingCompliance in AS5?
                  Adrian Brock Master

                   

                  "david.lloyd@jboss.com" wrote:
                  In the new AS5/MC classloader methodology, wouldn't the proper fix be to exclude the builtin JSF classes from deployments that specify this parameter? Like, using classloading metadata somehow... maybe bunding the JSF RI as a "module" and implicitly adding a "depends" thing into any web deployment that does NOT specify the WAR_BUNDLES_JSF_JAR context param.

                  I guess it might be tricky since it's implemented as a context-param rather than, say, a top-level metadata thinger in jboss-web.xml. But I bet it's still doable this way... where does the WAR deployer live these days? Has it been POJO-ized?


                  Yes, the "real fix" would be to do like seam-int does and include the JSF classes
                  in the war's classpath if it wants jsf.

                  There's no problem with reading the WebMetaData in a DESCRIBE deployer
                  for this purpose (including modifying it to include the jsf integration).

                  This would also avoid having the jsf implementation inside JBossWeb and visible to
                  everything (it would also fix which classloader gets used when it wants to do xml
                  parsing).

                  You could even choose which version of the jsf classes you want to use.

                  • 6. Re: java2ClassLoadingCompliance in AS5?
                    Adrian Brock Master

                     

                    "scott.stark@jboss.org" wrote:
                    We have a few tests for overriding things like logging, the xml parser impl that rely on this and are working. The general problem with overriding is whether or not the api was designed for it. For example, you cannot override the javax.xml.* classes, only the implementation of the interfaces.


                    The correct place to exclude javax.* classes should be on WarClassLoaderDeployer
                    or in your own WEB-INF/jboss-classloading.xml


                    • 7. Re: java2ClassLoadingCompliance in AS5?
                      Stan Silvert Master

                       

                      "stan.silvert@jboss.com" wrote:

                      I'll answer your other question in a moment.


                      Looks like there is really no need since Adrian already knows the answer. :-)

                      But for everyone's edification, the problem here is that JSF does indeed use a factory to dispense a javax.faces.context.FacesContext instance. If you use an old JSF 1.1 version of the MyFaces factory with the JSF 1.2 version of the javax.faces classes then the MyFaces implementation will extend javax.faces.faces.FacesContext but it won't override all the needed methods.

                      Really, I'd like to get rid of this "feature" soon. It was only intended to help ease the transition from 4.0 to 4.2. I think it has outlived its usefulness.

                      As for creating a JSF deployer, that sounds like a very good idea to me. Then anyone can do whatever whatever they want.

                      And really, I've been thinking about how we can make this easier for all third-party packages that you add to a WAR. JSF certainly doesn't belong in your WAR and neither does Seam. But neither does RichFaces or Facelets or any of that stuff.

                      So it seems that what we really need is to say, if you are developing a library that needs to run in a WAR you should create a deployer for it instead. But right now, the doco isn't sufficient for the community to get started. And the creation of such a deployer could be greatly simplified.

                      Stan

                      • 8. Re: java2ClassLoadingCompliance in AS5?
                        Adrian Brock Master

                        I've uploaded a 2.0.1-SNAPSHOT of jboss-cl if you want to test it.
                        I'm off to watch the football (it would take too much time to resynch with head now :-)

                        Otherwise, I'll test it in the morning.

                        • 9. Re: java2ClassLoadingCompliance in AS5?
                          Stan Silvert Master

                          It works. Hope you enjoy the match.

                          Stan

                          • 10. Re: java2ClassLoadingCompliance in AS5?
                            Adrian Brock Master

                            I've applied the fix, but I'm seeing this warning while undeploying the test war

                            12:53:11,412 ERROR [[/bundled-myfaces-hellojsf]] Exception sending context destroyed event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
                            java.lang.NullPointerException
                             at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:235)
                             at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3949)
                             at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4615)
                             at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1175)
                             at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4705)
                             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:585)
                             at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
                             at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performUndeployInternal(TomcatDeployment.java:674)
                             at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performUndeploy(TomcatDeployment.java:647)
                             at org.jboss.web.deployers.AbstractWarDeployment.stop(AbstractWarDeployment.java:480)
                             at org.jboss.web.deployers.WebModule.stopModule(WebModule.java:134)
                             at org.jboss.web.deployers.WebModule.stop(WebModule.java:101)
                            


                            • 11. Re: java2ClassLoadingCompliance in AS5?
                              Dimitris Andreadis Master

                              I've made a JIRA for that:

                              https://jira.jboss.org/jira/browse/JBAS-6256

                              Since Stan is on holiday, can Remy take a look?