<<Here is startup>>

C:\projects\winstone>java -Djava.endorsed.dirs=./endorsed -jar winstone.jar --we
bappsDir=./webapps --httpPort=9080 --useJasper --debug=9 --ajp13Port=-1
[Winstone 2007/07/26 09:55:52] - Winstone startup arguments: {debug=9, ajp13Port
=-1, webappsDir=./webapps, httpPort=9080, useJasper=true}
[Winstone 2007/07/26 09:55:52] - Using JAVA_HOME=C:\apps\java\jdk1.5.0_06\jre
[Winstone 2007/07/26 09:55:52] - Adding tools.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Using common lib folder: C:\projects\winstone\lib
[Winstone 2007/07/26 09:55:52] - Adding catalina-ant.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding commons-el.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding commons-logging-api.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding jasper-compiler-jdt.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding jasper-compiler.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding jasper-runtime.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding jsp-api.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding servlet-api.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding tools.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Adding xml-apis.jar to common classpath
[Winstone 2007/07/26 09:55:52] - Initializing Common Lib classloader: java.net.U
RLClassLoader@efd552
[Winstone 2007/07/26 09:55:52] - Initializing Common Lib classloader: [C:\apps\j
ava\jdk1.5.0_06\lib\tools.jar, lib\catalina-ant.jar, lib\commons-el.jar, lib\com
mons-logging-api.jar, lib\jasper-compiler-jdt.jar, lib\jasper-compiler.jar, lib\
jasper-runtime.jar, lib\jsp-api.jar, lib\servlet-api.jar, lib\tools.jar, lib\xml-apis.jar]
[Winstone 2007/07/26 09:55:52] - Deploying host found at default
[Winstone 2007/07/26 09:55:52] - Webapp dir deployment timesheet skipped, since
there is a war file of the same name to check for re-extraction
[Winstone 2007/07/26 09:55:52] - Beginning extraction from war file
[Winstone 2007/07/26 09:55:52] - The webroot supplied already exists - overwriti
ng where newer (C:\projects\winstone\webapps\timesheet)
[Winstone 2007/07/26 09:55:52] - Parsing web.xml
[Winstone 2007/07/26 09:55:52] - Found and enabled the local Servlet 2.5 XSD replacement
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=-//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN, url=http://java.sun.com/dtd/web-app_2_3.dtd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/web-app_2_5.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/javaee_5.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=http://www.w3.org/2001/xml.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=-//W3C//DTD XMLSCHEMA
 200102//EN, url=http://www.w3.org/2001/XMLSchema.dtd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=datatypes, url=http:/
/www.w3.org/2001/datatypes.dtd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/javaee_web_services_client_1_2.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/jsp_2_1.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/javaee_5.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=-//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN, url=http://java.sun.com/dtd/web-app_2_3.dtd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/web-app_2_4.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/j2ee_1_4.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=http://www.w3.org/2001/xml.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=-//W3C//DTD XMLSCHEMA
 200102//EN, url=http://www.w3.org/2001/XMLSchema.dtd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=datatypes, url=http:/
/www.w3.org/2001/datatypes.dtd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=http://ww
w.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/jsp_2_0.xsd
[Winstone 2007/07/26 09:55:52] - Resolving entity - public=(null), url=jar:file:
/C:/projects/winstone/winstone.jar!/javax/servlet/resources/j2ee_1_4.xsd
[Winstone 2007/07/26 09:55:53] - Resolving entity - public=-//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN, url=http://java.sun.com/dtd/web-app_2_3.dtd
[Winstone 2007/07/26 09:55:53] - Finished parsing web.xml
[Winstone 2007/07/26 09:55:53] - Adding webapp classes folder to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib commons-beanutils.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib commons-collections.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib commons-dbcp-1.2.1.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib commons-digester.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib commons-fileupload-1.0.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib commons-pool-1.2.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib commons-validator.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib imap.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib jsonrpc.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib mail.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib mailapi.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib mysql-connector-java-5.0.4-bin.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib pop3.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib smtp.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib sqljdbc.jar to classpath
[Winstone 2007/07/26 09:55:53] - Adding webapp lib struts.jar to classpath
[Winstone 2007/07/26 09:55:53] - Using Webapp classloader: winstone.classLoader.
WebappClassLoader@187814
[Winstone 2007/07/26 09:55:53] - Loaded filter instance UserInfoFilter class: co
m.my.app.UserInfoFilter
[Winstone 2007/07/26 09:55:53] - Loaded filter instance CustomerProjectFilter cl
ass: com.my.app.CustomerProjectFilter
[Winstone 2007/07/26 09:55:53] - Loaded filter instance SystemSettingsFilter cla
ss: com.my.app.SystemSettingsFilter
[Winstone 2007/07/26 09:55:53] - Loaded filter instance Compress class: com.my.app.CompressionFilter
[Winstone 2007/07/26 09:55:53] - Mapped: Compress to *.do
[Winstone 2007/07/26 09:55:53] - Loaded servlet instance action class: com.my.app.ATServlet
[Winstone 2007/07/26 09:55:53] - Loaded servlet instance deny-access class: com.
my.app.DenyAccessServlet
[Winstone 2007/07/26 09:55:53] - Loaded servlet instance json-servlet class: com
.metaparadigm.jsonrpc.JSONRPCServlet
[Winstone 2007/07/26 09:55:53] - Mapped: json-servlet to /rpc
[Winstone 2007/07/26 09:55:53] - Mapped: action to *.csv
[Winstone 2007/07/26 09:55:53] - Mapped: action to *.do
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.mdb
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.sql
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.vbs
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.txt
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.dist
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.zip
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.sh
[Winstone 2007/07/26 09:55:53] - Mapped: deny-access to *.gz
[Winstone 2007/07/26 09:55:53] - Access logging disabled - no logger class defined
[Winstone 2007/07/26 09:55:53] - Mapped: JspServlet to *.jsp
[Winstone 2007/07/26 09:55:53] - Mapped: JspServlet to *.jspx
[Winstone 2007/07/26 09:55:53] - UserInfoFilter: init
[Winstone 2007/07/26 09:55:53] - CustomerProjectFilter: init
[Winstone 2007/07/26 09:55:53] - Compress: init
[Winstone 2007/07/26 09:55:53] - SystemSettingsFilter: init
[Winstone 2007/07/26 09:55:53] - default: init
[Winstone 2007/07/26 09:55:53] - winstoneErrorServlet: init
[Winstone 2007/07/26 09:55:53] - action: init
Jul 26, 2007 9:55:53 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jul 26, 2007 9:55:53 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Jul 26, 2007 9:55:53 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='com.my.app.ATResources', returnNull=true
[Winstone 2007/07/26 09:55:53] - JspServlet: init
[Winstone 2007/07/26 09:55:53] - Deployed web application found at timesheet.war
[Winstone 2007/07/26 09:55:53] - Initialized 1 webapps: prefixes - [/timesheet]
[Winstone 2007/07/26 09:55:53] - Initialized in non-virtual-host mode
[Winstone 2007/07/26 09:55:53] - Winstone Servlet Engine v0.9.9 running: control
Port=disabled
[Winstone 2007/07/26 09:55:53] - HTTP Listener started: port=9080


<<Here is a the output after hitting url for the first time (should display login.jsp page)>>

[Winstone 2007/07/26 09:46:31] - Starting request on host:[default] with id: 1185461191023
[Winstone 2007/07/26 09:46:31] - URL Match - path: /login.do
[Winstone 2007/07/26 09:46:31] - No cached filter chain available. Calculating for cacheKey=REQUEST:URI:/login.do
[Winstone 2007/07/26 09:46:31] - Processing with RD: action
[Winstone 2007/07/26 09:46:31] - FORWARD: servlet=action, path=/login.do
[Winstone 2007/07/26 09:46:31] - Resetting buffer - discarding 0 bytes
[Winstone 2007/07/26 09:46:31] - Executing Filter: Compress
[Winstone 2007/07/26 09:46:31] - Executing Filter: UserInfoFilter
[Winstone 2007/07/26 09:46:31] - Executing Filter: CustomerProjectFilter
[Winstone 2007/07/26 09:46:31] - Executing Filter: SystemSettingsFilter
[Winstone 2007/07/26 09:46:31] - Parsing parameters:  (using encoding (null))
[Winstone 2007/07/26 09:46:31] - Param line: {}
[Winstone 2007/07/26 09:46:31] - URL Match - path: /login.jsp
[Winstone 2007/07/26 09:46:31] - FORWARD: servlet=JspServlet, path=/login.jsp
[Winstone 2007/07/26 09:46:31] - Resetting buffer - discarding 0 bytes
[Winstone 2007/07/26 09:46:31] - Parsing parameters:  (using encoding (null))
[Winstone 2007/07/26 09:46:31] - Parsing parameters:  (using encoding (null))
[Winstone 2007/07/26 09:46:31] - Param line: {}
[Winstone 2007/07/26 09:46:31] - No cached filter chain available. Calculating for cacheKey=FORWARD:URI:/login.jsp
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.bean.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
Jul 26, 2007 9:46:32 AM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
[Winstone 2007/07/26 09:46:33] - Called ServletResponse.getOutputStream()
[Winstone 2007/07/26 09:46:33] - ServletOutputStream flushed
[Winstone 2007/07/26 09:46:33] - Headers prepared for writing: [Server: Winstone
 Servlet Engine v0.9.9, Content-Type: text/html;charset=ISO-8859-1, Cache-Control: no-cache, Pragma: No-cache, Expires: Thu, 01 Jan 1970 00:00:00 GMT, Connection: Close, Date: Thu, 26 Jul 2007 14:46:33 GMT, X-Powered-By: Servlet/2.5 (Winstone/0.9.9)]
[Winstone 2007/07/26 09:46:33] - Committing response body
[Winstone 2007/07/26 09:46:33] - Response: HTTP/1.1 200
[Winstone 2007/07/26 09:46:33] - Header: Server: Winstone Servlet Engine v0.9.9
[Winstone 2007/07/26 09:46:33] - Header: Content-Type: text/html;charset=ISO-8859-1
[Winstone 2007/07/26 09:46:33] - Header: Cache-Control: no-cache
[Winstone 2007/07/26 09:46:33] - Header: Pragma: No-cache
[Winstone 2007/07/26 09:46:33] - Header: Expires: Thu, 01 Jan 1970 00:00:00 GMT
[Winstone 2007/07/26 09:46:33] - Header: Connection: Close
[Winstone 2007/07/26 09:46:33] - Header: Date: Thu, 26 Jul 2007 14:46:33 GMT
[Winstone 2007/07/26 09:46:33] - Header: X-Powered-By: Servlet/2.5 (Winstone/0.9.9)
[Winstone 2007/07/26 09:46:33] - Written 0 bytes to response body
[Winstone 2007/07/26 09:46:33] - ServletOutputStream flushed
[Winstone 2007/07/26 09:46:33] - Written 0 bytes to response body
[Winstone 2007/07/26 09:46:33] - ServletOutputStream flushed
[Winstone 2007/07/26 09:46:33] - Written 0 bytes to response body
[Winstone 2007/07/26 09:46:33] - Finishing request id:  1185461191023
[Winstone 2007/07/26 09:46:33] - ReqPool: Request released - available: 10
[Winstone 2007/07/26 09:46:33] - RspPool: Response released - available: 10
[Winstone 2007/07/26 09:46:33] - Processed complete request: headerParseTime=16m
s totalTime=2063ms path=/timesheet/login.do
[Winstone 2007/07/26 09:46:33] - RHPool: Releasing handler thread - used: 0 unused: 5
[Winstone 2007/07/26 09:46:33] - Thread entering wait state

Thanks

----- Original Message ----
From: Kevin Johnson <kvj2020@yahoo.com>
To: winstone-devel@lists.sourceforge.net
Sent: Wednesday, July 25, 2007 2:45:14 PM
Subject: Probleme with deployed struts app

I deployed a war to winstone (the war works with Tomcat).  On attempt to access the first page/url results in a blank page - no errors on page or in Winstone console) I am running  jdk 1.5  and Winstone standalone (no Apache).  The app uses servlets,  jsp and struts.

input:   localhost:9080/myapp
result:  localhost:9080/myapp/login.do

The above is correct, however, the html from the jsp page never shows up.

Thanks
 
-Kevin