Issue Details (XML | Word | Printable)

Key: GLASSFISH-7993
Type: Bug Bug
Status: Resolved Resolved
Resolution: Incomplete
Priority: Major Major
Assignee: kchung
Reporter: survivant
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

JSP

Created: 24/Apr/09 08:33 AM   Updated: 24/Apr/09 09:59 AM   Resolved: 24/Apr/09 09:59 AM
Component/s: web_container
Affects Version/s: V3
Fix Version/s: V3

Time Tracking:
Not Specified

File Attachments: 1. File jsp_test.war (1018 kB) 24/Apr/09 08:34 AM - survivant

Environment:

Operating System: All
Platform: All


Issuezilla Id: 7,993
Tags:
Participants: jluehe, kchung, kumara and survivant


 Description  « Hide

I created a war file that contains the web.xml and I try to use it outside a web
container.

not working with jsp from https://jsp.dev.java.net/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
launch:Application(s) Found =
C:/source/grizzly/modules/http-servlet-deployer/war_jsp4/jsp_test.war

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/el-api-2.1.2-SNAPSHOT.jar!/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/el-impl-2.1.2-SNAPSHOT.jar!/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jsp-api-2.1.3-b02.jar!/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jsp-impl-2.1.3-SNAPSHOT.jar!/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jstl-api-1.2.jar!/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jstl-impl-1.2.jar!/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:C:\Source\grizzly\modules\http-servlet-deployer\war_jsp4\jsp_test.war!/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:C:\Source\grizzly\modules\http-servlet-deployer\war_jsp4\jsp_test.war!/WEB-INF/classes/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=file:/C:/source/grizzly/modules/http-servlet-deployer/

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=file:/C:/source/grizzly/modules/http-servlet-deployer/war_jsp/

[main] Fri Apr 24 11:31:51 EDT 2009 [INFO]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:Will
deploy application path=C:\DOCUME~1\dionnese\LOCALS~1\Temp\jsp_test\WEB-INF\web.xml

[main] Fri Apr 24 11:31:51 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
writeRequests:sun.net.www.MessageHeader@10385c15 pairs: {GET http://java.sun.com/dtd/web-app_2_3.dtd HTTP/1.1: null}{User-Agent: Java/1.6.0_13}{Host: java.sun.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:31:51 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
getInputStream:sun.net.www.MessageHeader@dc856910 pairs: {null: HTTP/1.0 200 OK}{Server: Sun-Java-System-Web-Server/7.0}{Date: Fri, 24 Apr 2009 15:31:49 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}{X-Cache: MISS from proxymtl3.fbn.ca}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:31:51 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.webxml.WebappLoader load:Version found=web-app_2_3.dtd

[main] Fri Apr 24 11:31:52 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
writeRequests:sun.net.www.MessageHeader@e0cc235 pairs: {GET http://java.sun.com/dtd/web-app_2_3.dtd HTTP/1.1: null}{User-Agent: Java/1.6.0_13}{Host: java.sun.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:31:52 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
getInputStream:sun.net.www.MessageHeader@7a157611 pairs: {null: HTTP/1.0 200 OK}{Server: Sun-Java-System-Web-Server/7.0}{Date: Fri, 24 Apr 2009 15:31:49 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}{Age: 3}{X-Cache: HIT from proxymtl3.fbn.ca}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:31:52 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
context=/jsp_test

[main] Fri Apr 24 11:31:52 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
servletPath=/

[main] Fri Apr 24 11:31:52 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
alias=[/jsp_test/*.jsp]

[main] Fri Apr 24 11:31:52 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
rootFolder=C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/

[main] Fri Apr 24 11:31:52 EDT 2009 [INFO]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:deployed
application path=C:\DOCUME~1\dionnese\LOCALS~1\Temp\jsp_test\WEB-INF\web.xml

[main] Fri Apr 24 11:31:52 EDT 2009 [FIN] com.sun.grizzly.http.SelectorThread
initAlgorithm:Using Algorithm: com.sun.grizzly.http.algorithms.NoParsingAlgorithm

[main] Fri Apr 24 11:31:55 EDT 2009 [INFO]
com.sun.grizzly.http.JSP_GFGrizzlyWebServerTest getConnection:sending request to
/jsp_test/index.jsp

[GrizzlySelectorRunner-TCP] Fri Apr 24 11:31:55 EDT 2009 [FIN]
com.sun.grizzly.Controller dolog:OP_ACCEPT on
sun.nio.ch.SelectionKeyImpl@1da669c attachment: null

[main] Fri Apr 24 11:31:55 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
writeRequests:sun.net.www.MessageHeader@1fd5e25 pairs: {GET /jsp_test/index.jsp HTTP/1.1: null}{User-Agent: Java/1.6.0_13}{Host: localhost:18901}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}

[GrizzlySelectorRunner-TCP] Fri Apr 24 11:31:55 EDT 2009 [FIN]
com.sun.grizzly.Controller dolog:OP_READ on sun.nio.ch.SelectionKeyImpl@12f9ee
attachment: 1240587115321

[http18901-WorkerThread(0)] Fri Apr 24 11:31:55 EDT 2009 [FIN]
com.sun.grizzly.tcp.StaticResourcesAdapter service:File not found .\index.jsp

[http18901-WorkerThread(0)] Fri Apr 24 11:31:55 EDT 2009 [LE PLUS FIN]
org.apache.jasper.compiler.JspRuntimeContext <init>:PWC5965: Parent class loader
is: java.net.URLClassLoader@a9255c

[http18901-WorkerThread(0)] Fri Apr 24 11:31:55 EDT 2009 [LE PLUS FIN]
org.apache.jasper.servlet.JspServlet init:PWC5964: Scratch dir for the JSP
engine is: C:\DOCUME~1\dionnese\LOCALS~1\Temp

[http18901-WorkerThread(0)] Fri Apr 24 11:31:55 EDT 2009 [LE PLUS FIN]
org.apache.jasper.servlet.JspServlet init:PWC5966: IMPORTANT: Do not modify the
generated servlets

[http18901-WorkerThread(0)] Fri Apr 24 11:31:55 EDT 2009 [FIN]
org.apache.jasper.servlet.JspServlet service:JspEngine --> [/index.jsp]
ServletPath: [/] PathInfo: [index.jsp] RealPath:
[C:\Source\grizzly\modules\http-servlet-deployer\index.jsp] RequestURI:
[/jsp_test/index.jsp] QueryString: [null]

[http18901-WorkerThread(0)] Fri Apr 24 11:31:55 EDT 2009 [FIN]
org.apache.jasper.compiler.Compiler generateJava:Generated
C:\DOCUME~1\dionnese\LOCALS~1\Temp\org\apache\jsp\index_jsp.java total=265
generate=46 validate=219

[http18901-WorkerThread(0)] Fri Apr 24 11:31:55 EDT 2009 [FIN]
org.apache.jasper.compiler.Compiler generateClass:Using classpath: null;null

[http18901-WorkerThread(0)] Fri Apr 24 11:31:56 EDT 2009 [GRAVE]
org.apache.jasper.compiler.Compiler generateClass:Error compiling file:
C:\DOCUME~1\dionnese\LOCALS~1\Temp\org\apache\jsp\index_jsp.java

[http18901-WorkerThread(0)] Fri Apr 24 11:31:56 EDT 2009 [GRAVE]
com.sun.grizzly.http.servlet.ServletAdapter service:service exception:
org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

PWC6199: Generated servlet error:
string:///index_jsp.java:3: package javax.servlet does not exist

PWC6199: Generated servlet error:
string:///index_jsp.java:4: package javax.servlet.http does not exist

PWC6199: Generated servlet error:
string:///index_jsp.java:5: package javax.servlet.jsp does not exist

PWC6199: Generated servlet error:
string:///index_jsp.java:7: package org.apache.jasper.runtime does not exist

PWC6199: Generated servlet error:
string:///index_jsp.java:8: package org.apache.jasper.runtime does not exist

PWC6199: Generated servlet error:
string:///index_jsp.java:10: cannot find symbol
symbol : class JspFactory
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:14: package org.glassfish.jsp.api does not exist

PWC6199: Generated servlet error:
string:///index_jsp.java:20: cannot find symbol
symbol : class HttpServletRequest
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:20: cannot find symbol
symbol : class HttpServletResponse
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:21: cannot find symbol
symbol : class ServletException
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:10: cannot find symbol
symbol : variable JspFactory
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:23: cannot find symbol
symbol : class PageContext
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:24: cannot find symbol
symbol : class HttpSession
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:25: cannot find symbol
symbol : class ServletContext
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:26: cannot find symbol
symbol : class ServletConfig
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:27: cannot find symbol
symbol : class JspWriter
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:28: incompatible types
found : org.apache.jsp.index_jsp
required: java.lang.Object

PWC6199: Generated servlet error:
string:///index_jsp.java:29: cannot find symbol
symbol : class JspWriter
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:30: cannot find symbol
symbol : class PageContext
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:43: package org.glassfish.jsp.api does not exist

PWC6199: Generated servlet error:
string:///index_jsp.java:47: cannot find symbol
symbol : class SkipPageException
location: class org.apache.jsp.index_jsp

PWC6199: Generated servlet error:
string:///index_jsp.java:52: cannot find symbol
symbol : class ServletException
location: class org.apache.jsp.index_jsp

at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:126)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:296)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:372)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:433)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:188)
at
com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:137)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:322)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:638)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:943)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:162)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
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
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

[http18901-WorkerThread(0)] Fri Apr 24 11:31:56 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.SocketChannelOutputBuffer flushChannel:flushChannel
isAsyncHttpWriteEnabled=false bb=java.nio.HeapByteBuffer[pos=0 lim=238 cap=131072]

[http18901-WorkerThread(0)] Fri Apr 24 11:31:56 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.SocketChannelOutputBuffer flushChannel:flushChannel
isAsyncHttpWriteEnabled=false bb=java.nio.HeapByteBuffer[pos=0 lim=5 cap=131072]

[main] Fri Apr 24 11:31:56 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
getInputStream:sun.net.www.MessageHeader@15b0e2c6 pairs: {null: HTTP/1.1 500 Internal Error}{server: grizzly/1.9.15}{Content-Type: text/html;charset=ISO-8859-1}{Transfer-Encoding: chunked}{Date: Fri, 24 Apr 2009 15:31:56 GMT}{Connection: close}

[http18901-WorkerThread(0)] Fri Apr 24 11:31:56 EDT 2009 [FIN]
com.sun.grizzly.BaseSelectionKeyHandler$1
locallyClosed:sun.nio.ch.SelectionKeyImpl@12f9ee is being locally cancelled

working with jetty jar file

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
launch:Application(s) Found =
C:/source/grizzly/modules/http-servlet-deployer/war_jsp5/jsp_test.war

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/ant-1.6.5.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/core-3.1.1.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/el-api-2.1.2-SNAPSHOT.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/el-impl-2.1.2-SNAPSHOT.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jetty-6.0.1.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jetty-util-6.0.1.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jsp-2.1.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jsp-api-2.1.3-b02.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jsp-api-2.1.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jsp-impl-2.1.3-SNAPSHOT.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jstl-api-1.2.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/jstl-impl-1.2.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:/C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/WEB-INF/lib/servlet-api-2.5-6.0.1.jar!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:C:\Source\grizzly\modules\http-servlet-deployer\war_jsp5\jsp_test.war!/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=jar:file:C:\Source\grizzly\modules\http-servlet-deployer\war_jsp5\jsp_test.war!/WEB-INF/classes/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=file:/C:/source/grizzly/modules/http-servlet-deployer/

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
appendWarContentToClassPath:Classpath
contains=file:/C:/source/grizzly/modules/http-servlet-deployer/war_jsp/

[main] Fri Apr 24 11:24:09 EDT 2009 [INFO]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:Will
deploy application path=C:\DOCUME~1\dionnese\LOCALS~1\Temp\jsp_test\WEB-INF\web.xml

[main] Fri Apr 24 11:24:09 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
writeRequests:sun.net.www.MessageHeader@4f1d0d5 pairs: {GET http://java.sun.com/dtd/web-app_2_3.dtd HTTP/1.1: null}{User-Agent: Java/1.6.0_13}{Host: java.sun.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:24:09 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
getInputStream:sun.net.www.MessageHeader@188875911 pairs: {null: HTTP/1.0 200 OK}{Server: Sun-Java-System-Web-Server/7.0}{Date: Fri, 24 Apr 2009 15:22:34 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}{Age: 95}{X-Cache: HIT from proxymtl3.fbn.ca}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:24:09 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.webxml.WebappLoader load:Version found=web-app_2_3.dtd

[main] Fri Apr 24 11:24:10 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
writeRequests:sun.net.www.MessageHeader@64ab4d5 pairs: {GET http://java.sun.com/dtd/web-app_2_3.dtd HTTP/1.1: null}{User-Agent: Java/1.6.0_13}{Host: java.sun.com}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:24:10 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
getInputStream:sun.net.www.MessageHeader@12a55aa11 pairs: {null: HTTP/1.0 200 OK}{Server: Sun-Java-System-Web-Server/7.0}{Date: Fri, 24 Apr 2009 15:22:34 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}{Age: 96}{X-Cache: HIT from proxymtl3.fbn.ca}{Proxy-Connection: keep-alive}

[main] Fri Apr 24 11:24:10 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
context=/jsp_test

[main] Fri Apr 24 11:24:10 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
servletPath=/

[main] Fri Apr 24 11:24:10 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
alias=[/jsp_test/*.jsp]

[main] Fri Apr 24 11:24:10 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
rootFolder=C:/DOCUME~1/dionnese/LOCALS~1/Temp/jsp_test/

[main] Fri Apr 24 11:24:10 EDT 2009 [INFO]
com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:deployed
application path=C:\DOCUME~1\dionnese\LOCALS~1\Temp\jsp_test\WEB-INF\web.xml

[main] Fri Apr 24 11:24:10 EDT 2009 [FIN] com.sun.grizzly.http.SelectorThread
initAlgorithm:Using Algorithm: com.sun.grizzly.http.algorithms.NoParsingAlgorithm

[main] Fri Apr 24 11:24:13 EDT 2009 [INFO]
com.sun.grizzly.http.JSP_GFGrizzlyWebServerTest getConnection:sending request to
/jsp_test/index.jsp

[GrizzlySelectorRunner-TCP] Fri Apr 24 11:24:13 EDT 2009 [FIN]
com.sun.grizzly.Controller dolog:OP_ACCEPT on sun.nio.ch.SelectionKeyImpl@676437
attachment: null

[main] Fri Apr 24 11:24:13 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
writeRequests:sun.net.www.MessageHeader@992bae5 pairs: {GET /jsp_test/index.jsp HTTP/1.1: null}{User-Agent: Java/1.6.0_13}{Host: localhost:18901}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Connection: keep-alive}

[GrizzlySelectorRunner-TCP] Fri Apr 24 11:24:13 EDT 2009 [FIN]
com.sun.grizzly.Controller dolog:OP_READ on sun.nio.ch.SelectionKeyImpl@2bd3a
attachment: 1240586653618

[http18901-WorkerThread(0)] Fri Apr 24 11:24:13 EDT 2009 [FIN]
com.sun.grizzly.tcp.StaticResourcesAdapter service:File not found .\index.jsp

2009-04-24 11:24:13.868::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
[http18901-WorkerThread(0)] Fri Apr 24 11:24:14 EDT 2009 [LE PLUS FIN]
com.sun.grizzly.http.SocketChannelOutputBuffer flushChannel:flushChannel
isAsyncHttpWriteEnabled=false bb=java.nio.HeapByteBuffer[pos=0 lim=257 cap=131072]

[main] Fri Apr 24 11:24:14 EDT 2009 [FIN]
sun.net.www.protocol.http.HttpURLConnection
getInputStream:sun.net.www.MessageHeader@1d8c5287 pairs: {null: HTTP/1.1 200 OK}{server: grizzly/1.9.15}{X-Powered-By: JSP/2.1}{Set-Cookie: JSESSIONID=3805171076915462608; Path=/}{Content-Type: text/html;charset=ISO-8859-1}{Transfer-Encoding: chunked}{Date: Fri, 24 Apr 2009 15:24:14 GMT}

[main] Fri Apr 24 11:24:14 EDT 2009 [INFO]
com.sun.grizzly.http.JSP_GFGrizzlyWebServerTest readResponse:received line
/jsp_test/index.jsp

/jsp_test/index.jsp

[GrizzlySelectorRunner-TCP] Fri Apr 24 11:24:15 EDT 2009 [FIN]
com.sun.grizzly.BaseSelectionKeyHandler$1
locallyClosed:sun.nio.ch.SelectionKeyImpl@676437 is being locally cancelled

[GrizzlySelectorRunner-TCP] Fri Apr 24 11:24:15 EDT 2009 [FIN]
com.sun.grizzly.BaseSelectionKeyHandler$1
locallyClosed:sun.nio.ch.SelectionKeyImpl@2bd3a is being locally cancelled



survivant added a comment - 24/Apr/09 08:34 AM

Created an attachment (id=2657)
here the warfile that failed


kumara added a comment - 24/Apr/09 09:35 AM

other->web_container


jluehe added a comment - 24/Apr/09 09:40 AM

...


kchung added a comment - 24/Apr/09 09:59 AM

To invoke jasper outside of the web container, you must supply the various info
to jasper that a web container usually does, such as the classpath for javac
invocations. In glassfish, this is done with the context attribute
"org.apache.catalina.jsp_classpath". Apparently this attribute is not defined
in this case, which cause java compilation to fail.