Hudson and Winstone...

8 messages Options
Embed this post
Permalink
Mark Derricutt

Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
Hi there,

I just joined the list to start taking a look at Hudson...

I was just reading Tim Shadel's post on a 3 minute quickstart to Hudson using the Winstone server, sadly this doesn't seem to work/do anything (at least for me, under JDK6 and Windows).

http://timshadel.com/2007/02/08/try-hudson-instead-of-cruisecontrol-the-3-minute-setup/

I downloaded the 1.79 build and see the server start up, but when I open localhost:8081 I just get an empty website (as thou there was no / servlet mapping anywhere) however if I hit a known filename like robots.txt I see the content fine.

The logging I get includes:

C:\usr\local\hudson>"C:\Program Files\Java\jdk1.6.0_01\bin\java" -jar winstone-0.9.6.jar --debug=9 --warfile=hudson.war --httpPort=8081
[Winstone 2007/02/10 16:02:02] - Winstone startup arguments: {warfile= hudson.war, httpPort=8081, debug=9}
[Winstone 2007/02/10 16:02:02] - Using JAVA_HOME=C:\Program Files\Java\jdk1.6.0_01\jre
[Winstone 2007/02/10 16:02:02] - Adding tools.jar to common classpath
[Winstone 2007/02/10 16:02:02] - No common lib folder found
[Winstone 2007/02/10 16:02:02] - Initializing Common Lib classloader: java.net.URLClassLoader@1270b73
[Winstone 2007/02/10 16:02:02] - Deploying host found at default
[Winstone 2007/02/10 16:02:02] - Beginning extraction from war file
[Winstone 2007/02/10 16:02:02] - The webroot supplied already exists - overwriting where newer (C:\Documents and Settings\Mark Derricutt\Loc
al Settings\Temp\winstone\hudson.war)
[Winstone 2007/02/10 16:02:02] - Parsing web.xml
[Winstone 2007/02/10 16:02:02] - Found and enabled the local Servlet 2.5 XSD replacement
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url= http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
es/web-app_2_5.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
es/javaee_5.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url= http://www.w3.org/2001/xml.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=-//W3C//DTD XMLSCHEMA 200102//EN, url= http://www.w3.org/2001/XMLSchema.dtd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=datatypes, url=http://www.w3.org/2001/datatypes.dtd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=jar:file:/C:/usr/local/hudson/winstone- 0.9.6.jar!/javax/servlet/resourc
es/javaee_web_services_client_1_2.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
es/jsp_2_1.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
es/javaee_5.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url= http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url= http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd
[Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd
[Winstone 2007/02/10 16:02:03] - Cannot find local resource for url: http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd
[Winstone 2007/02/10 16:02:09] - Resolving entity - public=null, url= http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
[Winstone 2007/02/10 16:02:09] - Finished parsing web.xml
[Winstone 2007/02/10 16:02:09] - No webapp classes folder found - C:\Documents and Settings\Mark Derricutt\Local Settings\Temp\winstone\huds
on.war\WEB-INF\classes
[Winstone 2007/02/10 16:02:09] - Adding webapp lib activation-1.1.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib ant-1.6.2.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib ant-junit-1.6.2.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib antlr-2.7.6.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib backport-util-concurrent-2.2.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib classworlds-1.1.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-beanutils-1.6.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-collections-2.1.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-digester-1.7.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-fileupload-1.1.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-io-1.2.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-jelly-1.1-hudson-20061106.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-jelly-tags-define-1.0.1-hudson-20061106.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-jelly-tags-fmt-1.0.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-jelly-tags-xml-1.1.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-jexl-1.1-hudson-20061106.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-logging-1.0.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib dom4j-1.6.1.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib doxia-sink-api-1.0-alpha-7.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib ganymed-ssh2-build210.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib groovy-all-1.0-jsr-06.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib hudson-core-1.79.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib jaxen-1.1-beta-11.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib jcommon-1.0.6.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib jfreechart-1.0.3.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib jsch-0.1.24.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib jstl-1.1.0.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib mail-1.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-artifact-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-artifact-manager-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-core-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-embedder-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-error-diagnostics-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-model-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-monitor-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-plugin-api-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-plugin-descriptor-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-plugin-parameter-documenter-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-plugin-registry-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-profile-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-project-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-reporting-api-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-repository-metadata-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-settings-2.0.4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib plexus-container-default-1.0-alpha-9.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib plexus-interactivity-api-1.0-alpha-4.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib plexus-utils-1.1.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib remoting-1.79.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib retrotranslator-runtime-1.0.8.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib stapler-1.15.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib svnkit-1.1.0.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib wagon-file-1.0-alpha-7.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib wagon-http-lightweight-1.0-alpha-6.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib wagon-provider-api-1.0-alpha-6.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib wagon-ssh-1.0-alpha-7.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib wagon-ssh-external-1.0-alpha-6.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib xpp3-1.1.3.3.jar to classpath
[Winstone 2007/02/10 16:02:09] - Adding webapp lib xstream-1.1.3.jar to classpath
[Winstone 2007/02/10 16:02:09] - Using Webapp classloader: java.net.URLClassLoader@535b58
[Winstone 2007/02/10 16:02:09] - Loaded servlet instance Stapler class: org.kohsuke.stapler.Stapler
[Winstone 2007/02/10 16:02:09] - Mapped: Stapler to /
[Winstone 2007/02/10 16:02:09] - Loaded servlet instance JellyServlet class: org.apache.commons.jelly.servlet.JellyServlet
[Winstone 2007/02/10 16:02:09] - Mapped: JellyServlet to *.jelly
[Winstone 2007/02/10 16:02:09] - Adding web application listener: hudson.WebAppMain
[Winstone 2007/02/10 16:02:09] - ArgumentsRealm initialised: users: 0
[Winstone 2007/02/10 16:02:09] - Mapped: Security to /loginEntry
[Winstone 2007/02/10 16:02:09] - FormAuthenticationHandler initialised for realm: null
[Winstone 2007/02/10 16:02:09] - Access logging disabled - no logger class defined
[Winstone 2007/02/10 16:02:11] - WinstoneContext instance java:/comp/env created
[Winstone 2007/02/10 16:02:11] - WinstoneContext instance java:/comp/env copied
[Winstone 2007/02/10 16:02:11] - WinstoneContext instance java:/comp/env copied
hudson home directory: C:\Documents and Settings\Mark Derricutt\.hudson
[Winstone 2007/02/10 16:02:13] - winstoneErrorServlet: init
[Winstone 2007/02/10 16:02:13] - Initialized 1 webapps: prefixes - []
[Winstone 2007/02/10 16:02:13] - Initialized in non-virtual-host mode
[Winstone 2007/02/10 16:02:13] - HTTP Listener started: port=8081
[Winstone 2007/02/10 16:02:13] - AJP13 Listener started: port=8009
[Winstone 2007/02/10 16:02:13] - Winstone Servlet Engine v0.9.6 running: controlPort=disabled


Is there something I'm missing?  Or are the newer builds of Hudson not compatible with Winstone anymore?

Mark


--
It was not the presence of God that formed me, but his absence which broke me.

http://www.talios.com
http://www.flickr.com/photos/talios
Kohsuke Kawaguchi-2

Re: Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
Mark Derricutt wrote:

> Hi there,
>
> I just joined the list to start taking a look at Hudson...
>
> I was just reading Tim Shadel's post on a 3 minute quickstart to Hudson
> using the Winstone server, sadly this doesn't seem to work/do anything (at
> least for me, under JDK6 and Windows).
>
> http://timshadel.com/2007/02/08/try-hudson-instead-of-cruisecontrol-the-3-minute-setup/
>
> I downloaded the 1.79 build and see the server start up, but when I open
> localhost:8081 I just get an empty website (as thou there was no / servlet
> mapping anywhere) however if I hit a known filename like robots.txt I see
> the content fine.
Indeed. I confirmed the problem. I'll look into this. If you can file an
issue for this in http://hudson.dev.java.net/issues/, that would let you
track the progress.

Meanwhile, you can try other web containers, like Tomcat, Jetty, or
Glassfish. I personally know of deployments on those and they generally
work well.

>
> The logging I get includes:
>
> C:\usr\local\hudson>"C:\Program Files\Java\jdk1.6.0_01\bin\java" -jar
> winstone-0.9.6.jar --debug=9 --warfile=hudson.war --httpPort=8081
> [Winstone 2007/02/10 16:02:02] - Winstone startup arguments: {warfile=
> hudson.war, httpPort=8081, debug=9}
> [Winstone 2007/02/10 16:02:02] - Using JAVA_HOME=C:\Program
> Files\Java\jdk1.6.0_01\jre
> [Winstone 2007/02/10 16:02:02] - Adding tools.jar to common classpath
> [Winstone 2007/02/10 16:02:02] - No common lib folder found
> [Winstone 2007/02/10 16:02:02] - Initializing Common Lib classloader:
> java.net.URLClassLoader@1270b73
> [Winstone 2007/02/10 16:02:02] - Deploying host found at default
> [Winstone 2007/02/10 16:02:02] - Beginning extraction from war file
> [Winstone 2007/02/10 16:02:02] - The webroot supplied already exists -
> overwriting where newer (C:\Documents and Settings\Mark Derricutt\Loc
> al Settings\Temp\winstone\hudson.war)
> [Winstone 2007/02/10 16:02:02] - Parsing web.xml
> [Winstone 2007/02/10 16:02:02] - Found and enabled the local Servlet 2.5 XSD
> replacement
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null,
> url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
> es/web-app_2_5.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null,
> url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
> es/javaee_5.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=
> http://www.w3.org/2001/xml.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=-//W3C//DTD
> XMLSCHEMA 200102//EN, url=http://www.w3.org/2001/XMLSchema.dtd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=datatypes, url=
> http://www.w3.org/2001/datatypes.dtd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null,
> url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
> es/javaee_web_services_client_1_2.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null,
> url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
> es/jsp_2_1.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null,
> url=jar:file:/C:/usr/local/hudson/winstone-0.9.6.jar!/javax/servlet/resourc
> es/javaee_5.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=
> http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=
> http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd
> [Winstone 2007/02/10 16:02:03] - Resolving entity - public=null, url=
> http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd
> [Winstone 2007/02/10 16:02:03] - Cannot find local resource for url:
> http://java.sun.com/xml/ns/j2ee/jsp_2_0.xsd
> [Winstone 2007/02/10 16:02:09] - Resolving entity - public=null, url=
> http://java.sun.com/xml/ns/j2ee/j2ee_1_4.xsd
> [Winstone 2007/02/10 16:02:09] - Finished parsing web.xml
> [Winstone 2007/02/10 16:02:09] - No webapp classes folder found -
> C:\Documents and Settings\Mark Derricutt\Local Settings\Temp\winstone\huds
> on.war\WEB-INF\classes
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib activation-1.1.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib ant-1.6.2.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib ant-junit-1.6.2.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib antlr-2.7.6.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> backport-util-concurrent-2.2.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib classworlds-1.1.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-beanutils-1.6.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-collections-2.1.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-digester-1.7.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-fileupload-1.1.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib commons-io-1.2.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-jelly-1.1-hudson-20061106.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-jelly-tags-define-1.0.1-hudson-20061106.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-jelly-tags-fmt-1.0.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-jelly-tags-xml-1.1.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-jexl-1.1-hudson-20061106.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> commons-logging-1.0.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib dom4j-1.6.1.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> doxia-sink-api-1.0-alpha-7.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> ganymed-ssh2-build210.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> groovy-all-1.0-jsr-06.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib hudson-core-1.79.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib jaxen-1.1-beta-11.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib jcommon-1.0.6.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib jfreechart-1.0.3.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib jsch-0.1.24.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib jstl-1.1.0.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib mail-1.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-artifact-2.0.4.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-artifact-manager-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-core-2.0.4.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-embedder-2.0.4.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-error-diagnostics-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib maven-model-2.0.4.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-monitor-2.0.4.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-plugin-api-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-plugin-descriptor-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-plugin-parameter-documenter-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-plugin-registry-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-profile-2.0.4.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-project-2.0.4.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-reporting-api-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-repository-metadata-2.0.4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> maven-settings-2.0.4.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> plexus-container-default-1.0-alpha-9.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> plexus-interactivity-api-1.0-alpha-4.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib plexus-utils-1.1.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib remoting-1.79.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> retrotranslator-runtime-1.0.8.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib stapler-1.15.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib svnkit-1.1.0.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> wagon-file-1.0-alpha-7.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> wagon-http-lightweight-1.0-alpha-6.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> wagon-provider-api-1.0-alpha-6.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> wagon-ssh-1.0-alpha-7.jarto classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib
> wagon-ssh-external-1.0-alpha-6.jar to classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib xpp3-1.1.3.3.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Adding webapp lib xstream-1.1.3.jar to
> classpath
> [Winstone 2007/02/10 16:02:09] - Using Webapp classloader:
> java.net.URLClassLoader@535b58
> [Winstone 2007/02/10 16:02:09] - Loaded servlet instance Stapler class:
> org.kohsuke.stapler.Stapler
> [Winstone 2007/02/10 16:02:09] - Mapped: Stapler to /
> [Winstone 2007/02/10 16:02:09] - Loaded servlet instance JellyServlet class:
> org.apache.commons.jelly.servlet.JellyServlet
> [Winstone 2007/02/10 16:02:09] - Mapped: JellyServlet to *.jelly
> [Winstone 2007/02/10 16:02:09] - Adding web application listener:
> hudson.WebAppMain
> [Winstone 2007/02/10 16:02:09] - ArgumentsRealm initialised: users: 0
> [Winstone 2007/02/10 16:02:09] - Mapped: Security to /loginEntry
> [Winstone 2007/02/10 16:02:09] - FormAuthenticationHandler initialised for
> realm: null
> [Winstone 2007/02/10 16:02:09] - Access logging disabled - no logger class
> defined
> [Winstone 2007/02/10 16:02:11] - WinstoneContext instance java:/comp/env
> created
> [Winstone 2007/02/10 16:02:11] - WinstoneContext instance java:/comp/env
> copied
> [Winstone 2007/02/10 16:02:11] - WinstoneContext instance java:/comp/env
> copied
> hudson home directory: C:\Documents and Settings\Mark Derricutt\.hudson
> [Winstone 2007/02/10 16:02:13] - winstoneErrorServlet: init
> [Winstone 2007/02/10 16:02:13] - Initialized 1 webapps: prefixes - []
> [Winstone 2007/02/10 16:02:13] - Initialized in non-virtual-host mode
> [Winstone 2007/02/10 16:02:13] - HTTP Listener started: port=8081
> [Winstone 2007/02/10 16:02:13] - AJP13 Listener started: port=8009
> [Winstone 2007/02/10 16:02:13] - Winstone Servlet Engine v0.9.6 running:
> controlPort=disabled
>
>
> Is there something I'm missing?  Or are the newer builds of Hudson not
> compatible with Winstone anymore?
>
> Mark
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]


smime.p7s (4K) Download Attachment
Kohsuke Kawaguchi-2

Re: Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mark Derricutt
Mark Derricutt wrote:
> Is there something I'm missing?  Or are the newer builds of Hudson not
> compatible with Winstone anymore?

I found out the problem. When winstone extracts hudson.war to a
temporary directory that contains ' ' in path name (like on Windows,
c:\Documents and Settings\...), there's a problematic interaction
between Winstone and stapler.

I just committed a fix, so you can either download the continuous build,
or you can wait until the next 1.81.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]


smime.p7s (4K) Download Attachment
Mark Derricutt

Re: Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
Cool - I'd just entered the bug as #288 as well - so you may as well go and close that :)

Mark

On 2/11/07, Kohsuke Kawaguchi <[hidden email]> wrote:
Mark Derricutt wrote:
> Is there something I'm missing?  Or are the newer builds of Hudson not
> compatible with Winstone anymore?

I found out the problem. When winstone extracts hudson.war to a
temporary directory that contains ' ' in path name (like on Windows,
c:\Documents and Settings\...), there's a problematic interaction
between Winstone and stapler.

I just committed a fix, so you can either download the continuous build,
or you can wait until the next 1.81.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]




--
It was not the presence of God that formed me, but his absence which broke me.

http://www.talios.com
http://www.flickr.com/photos/talios
Mark Derricutt

Re: Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
Interestingly I see the same response from the latest snapshot build, although I did notice a reference to /loginEntry which if I hit manually I see Hudson in all its glory.

Mark

On 2/11/07, Mark Derricutt <[hidden email]> wrote:
Cool - I'd just entered the bug as #288 as well - so you may as well go and close that :)
Kohsuke Kawaguchi-2

Re: Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
Mark Derricutt wrote:
> Interestingly I see the same response from the latest snapshot build,
> although I did notice a reference to /loginEntry which if I hit manually I
> see Hudson in all its glory.

Hmm. Sounds like my fix failed then. I also noticed that you might have
downloaded the snapshot version before my fix. The fix went into
stapler-1.18.jar, so check your hudson.war to see if it has
stapler-1.18.jar.

Also, Winstone doesn't seem to clean up the temporary folder, so if you
have a "broken" war already in there, that might be interfering. It
prints out the temp folder at the very first line, so try to wipe that
out first.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]


smime.p7s (4K) Download Attachment
Mark Derricutt

Re: Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
On 2/11/07, Kohsuke Kawaguchi <[hidden email]> wrote:

Hmm. Sounds like my fix failed then. I also noticed that you might have
downloaded the snapshot version before my fix. The fix went into
stapler-1.18.jar, so check your hudson.war to see if it has
stapler-1.18.jar .

I noticed the problem with winstone not clearing the temp so I killed that and saw the new version, but still see a few problems.  I'll take another look at it shortly (or failing that just switch to resin or jetty.  Winstone just looked like an easy quick setup :)

And I have stapler-1.18.jar as well.

--
It was not the presence of God that formed me, but his absence which broke me.

http://www.talios.com
http://www.flickr.com/photos/talios
Kohsuke Kawaguchi-2

Re: Hudson and Winstone...

Reply Threaded More More options
Print post
Permalink
Mark Derricutt wrote:
> I noticed the problem with winstone not clearing the temp so I killed that
> and saw the new version, but still see a few problems.  I'll take another
> look at it shortly (or failing that just switch to resin or jetty.  Winstone
> just looked like an easy quick setup :)

It would be nice if you could point me to the problems. I'd like to make
sure Hudson runs on various containers.

And I kinda liked Winstone. I'm thinking about using that so you can
launch hudson by itself, like:

   $ java -jar hudson.war

... and this would launch hudson via Winstone.

I mean, it can't get any easier than that to install, don't you think?

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]


smime.p7s (4K) Download Attachment