Thank you ALL :)
Survivant 00 wrote:
> Hello Hubert,
>
> I played a little with WarAdapter for the first time.
>
> I was trying to deploy cas.war without using Deployer.
>
> and with a default web.xml for enabling JSP.
>
> I have a file
>
> ./conf/default_JSP_support.xml
>
> that look like that
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd">
>
> <web-app>
>
> <servlet>
> <servlet-name>jsp</servlet-name>
> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
> <init-param>
> <param-name>xpoweredBy</param-name>
> <param-value>true</param-value>
> </init-param>
> <init-param>
> <param-name>keepgenerated</param-name>
> <param-value>true</param-value>
> </init-param>
> <load-on-startup>3</load-on-startup>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>jsp</servlet-name>
> <url-pattern>*.jsp</url-pattern>
> </servlet-mapping>
>
> </web-app>
>
>
> I put all the jars for Jasper directly into the Eclipse classpath of
> my project.
>
> C:\workspace_personal\TomcatEmbeddedTest\lib-jasper>dir /b
> ant-launcher.jar
> ant.jar
> el-api.jar
> jasper-el.jar
> jasper-jdt.jar
> jasper.jar
> jsp-api.jar
> servlet-api.jar
> tomcat-juli.jar
>
> and finally.. the Java code
>
> public static void main(String[] args) throws Exception {
>
> String ctx = "/cas";
> URLClassLoader serverLibLoader =
> (URLClassLoader)ClassLoader.getSystemClassLoader();
> WebApp webDefault =
> WebappLoader.load("./conf/default_JSP_support.xml");
>
> GrizzlyWebServer gws = new GrizzlyWebServer(8080);
>
> WarDeployer deployer = new WarDeployer();
> WarDeploymentConfiguration configuration = new
> WarDeploymentConfiguration(ctx, serverLibLoader, webDefault);
>
> deployer.deploy(gws, new
> File("C:/workspace_personal/TomcatEmbeddedTest/webapps/cas.war").toURI(),
> configuration);
>
> gws.start();
>
> }
>
>
> I see the .jsp mapping, but I'm not able to load any jsp. I tried :
> http://localhost:8080/cas/index.jsp
>
> I put a index.html in the war.. and it works.
>
> here the log
>
> [main] Fri Dec 11 20:35:36 EST 2009 [FIN]
> sun.net.www.protocol.http.HttpURLConnection
> writeRequests:sun.net.www.MessageHeader_at_1f7d1345 pairs: {GET
> /dtd/web-app_2_3.dtd HTTP/1.1: null}{User-Agent: Java/1.6.0_17}{Host:
> java.sun.com <http://java.sun.com>}{Accept: text/html, image/gif,
> image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
>
> [main] Fri Dec 11 20:35:36 EST 2009 [FIN]
> sun.net.www.protocol.http.HttpURLConnection
> getInputStream:sun.net.www.MessageHeader_at_ae000d8 pairs: {null:
> HTTP/1.1 200 OK}{Server: Sun-Java-System-Web-Server/7.0}{Date: Sat, 12
> Dec 2009 01:35:36 GMT}{Content-type:
> application/xml-dtd}{Last-modified: Mon, 17 Dec 2007 23:54:20
> GMT}{Content-length: 31150}{Etag: "79ae-47670c2c"}{Accept-ranges: bytes}
>
> [main] Fri Dec 11 20:35:36 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.webxml.WebappLoader load:Version
> found=web-app_2_3.dtd
>
> [main] Fri Dec 11 20:35:37 EST 2009 [FIN]
> sun.net.www.protocol.http.HttpURLConnection
> writeRequests:sun.net.www.MessageHeader_at_fcfa525 pairs: {GET
> /dtd/web-app_2_3.dtd HTTP/1.1: null}{User-Agent: Java/1.6.0_17}{Host:
> java.sun.com <http://java.sun.com>}{Accept: text/html, image/gif,
> image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}
>
> [main] Fri Dec 11 20:35:37 EST 2009 [FIN]
> sun.net.www.protocol.http.HttpURLConnection
> getInputStream:sun.net.www.MessageHeader_at_961dff8 pairs: {null:
> HTTP/1.1 200 OK}{Server: Sun-Java-System-Web-Server/7.0}{Date: Sat, 12
> Dec 2009 01:35:37 GMT}{Content-type:
> application/xml-dtd}{Last-modified: Mon, 17 Dec 2007 23:54:20
> GMT}{Content-length: 31150}{Etag: "79ae-47670c2c"}{Accept-ranges: bytes}
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer createWarCL:War
> class path contains:
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/antlr-2.7.6.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/aopalliance-1.0.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/asm-1.5.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/asm-attrs-1.5.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/aspectjrt-1.5.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/aspectjweaver-1.5.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/cas-client-core-3.1.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/cas-server-core-3.3-RC3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/cglib-2.1_3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/commons-codec-1.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/commons-collections-3.2.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/commons-lang-2.2.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/commons-logging-1.1.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/dom4j-1.6.1.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/ehcache-1.2.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/ejb3-persistence-1.0.1.GA.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/hibernate-3.2.6.ga.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/hibernate-annotations-3.3.1.GA.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/hibernate-commons-annotations-3.0.0.ga.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/inspektr-core-0.7.0.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/jdom-1.0.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/jstl-1.1.2.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/jta-1.0.1B.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/log4j-1.2.15.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/ognl-2.6.9.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/opensaml-1.1b.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/persistence-api-1.0.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/person-directory-api-1.1.2.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/person-directory-impl-1.1.2.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/quartz-1.5.2.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-aop-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-beans-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-binding-1.0.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-context-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-context-support-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-core-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-orm-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-security-cas-client-2.0.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-security-core-2.0.3.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-tx-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-web-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-webflow-1.0.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/spring-webmvc-2.5.5.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/standard-1.1.2.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/xmldsig-1.0.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:/C:/workspace_personal/TomcatEmbeddedTest/work/cas/WEB-INF/lib/xmlsec-1.4.0.jar!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:C:\workspace_personal\TomcatEmbeddedTest\webapps\cas.war!/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createWarCL:jar:file:C:\workspace_personal\TomcatEmbeddedTest\webapps\cas.war!/WEB-INF/classes/
>
> [main] Fri Dec 11 20:35:39 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.webxml.WebappLoader load:Version
> found=web-app_2_4.xsd
>
> [main] Fri Dec 11 20:35:39 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.deployer.WarDeployer fromURI:Skipping
> Annotation for this URI :
> file:/C:/workspace_personal/TomcatEmbeddedTest/webapps/cas.war
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.servlet.deployer.WarDeployer
> createDeployments:Adding a ServletAdapter to handle root path
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_4977e2' to
> [/cas/services/viewStatistics.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_57ea52' to
> [/cas/services/logout.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1f0aecc' to
> [/cas/samlValidate]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_17b4703' to [/cas/openid/*]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1cbda0a' to
> [/cas/services/add.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_149a794' to [/cas/]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1d9e282' to [/cas/logout]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_73305c' to
> [/cas/services/viewCurrentStatistics.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_2d95b3' to
> [/cas/services/manage.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1557c0' to
> [/cas/proxyValidate]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_322bce' to [/cas/login]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1d8d39f' to
> [/cas/services/loggedOut.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_32bd65' to [/cas/*.jsp]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_64023c' to [/cas/proxy]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1342a67' to
> [/cas/CentralAuthenticationService]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_15db13f' to
> [/cas/services/viewLogRequests.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1e0512a' to
> [/cas/serviceValidate]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_bf5555' to
> [/cas/services/edit.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1a5db4b' to [/cas/validate]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [LE PLUS FIN]
> com.sun.grizzly.http.deployer.Deployer deploy:Deploying
> 'com.sun.grizzly.http.servlet.ServletAdapter_at_1fc1a6' to
> [/cas/services/deleteRegisteredService.html]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [FIN]
> com.sun.grizzly.http.SelectorThread initAlgorithm:Using Algorithm:
> com.sun.grizzly.http.algorithms.NoParsingAlgorithm
>
> [main] Fri Dec 11 20:35:43 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:43 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:48 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:48 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:49 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:49 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:49 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:49 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:50 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:50 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:50 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:50 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:51 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:51 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:51 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:51 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:52 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:52 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:52 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:52 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:53 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:53 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:53 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:53 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:54 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:54 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:54 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:54 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:55 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:55 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:55 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:55 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:56 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:56 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:56 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:56 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [main] Fri Dec 11 20:35:57 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing log4j
> from [classpath:log4j.properties]
>
> [main] Fri Dec 11 20:35:57 EST 2009 [INFO]
> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing
> Spring root WebApplicationContext
>
> [SelectorThread-8080] Fri Dec 11 20:35:57 EST 2009 [INFO]
> com.sun.grizzly.Controller logVersion:Starting Grizzly Framework
> 1.9.19-SNAPSHOT - Fri Dec 11 20:35:57 EST 2009
>
> [Thread-1] Fri Dec 11 20:36:05 EST 2009 [FIN]
> com.sun.grizzly.SelectorHandlerRunner dolog:OP_ACCEPT on
> sun.nio.ch.SelectionKeyImpl_at_1ff83a9 attachment: null
>
> [Thread-1] Fri Dec 11 20:36:05 EST 2009 [FIN]
> com.sun.grizzly.SelectorHandlerRunner dolog:OP_READ on
> sun.nio.ch.SelectionKeyImpl_at_9c15d2 attachment: 1260581765890
>
> [Grizzly-8080-WorkerThread(0)] Fri Dec 11 20:36:34 EST 2009 [LE PLUS
> FIN] com.sun.grizzly.http.ProcessorTask parseRequest:Unblocking
> keep-alive exception
> java.io.EOFException: Unexpected EOF read on the socket
> at
> com.sun.grizzly.tcp.http11.InternalInputBuffer.parseHeader(InternalInputBuffer.java:603)
> at
> com.sun.grizzly.tcp.http11.InternalInputBuffer.parseHeaders(InternalInputBuffer.java:542)
> at
> com.sun.grizzly.http.ProcessorTask.parseRequest(ProcessorTask.java:842)
> at
> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:671)
> at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:966)
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
> at
> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
> at
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
> at
> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
> at java.lang.Thread.run(Thread.java:619)
>
> [Thread-1] Fri Dec 11 20:36:34 EST 2009 [FIN]
> com.sun.grizzly.SelectorHandlerRunner dolog:OP_ACCEPT on
> sun.nio.ch.SelectionKeyImpl_at_1ff83a9 attachment: null
>
> [Thread-1] Fri Dec 11 20:36:34 EST 2009 [FIN]
> com.sun.grizzly.SelectorHandlerRunner dolog:OP_READ on
> sun.nio.ch.SelectionKeyImpl_at_84917a attachment: 1260581794734
>
>