Announcement Announcement Module
Collapse
No announcement yet.
General Availability of Spring Web Flow 2 Announced Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    This source code isn't actually hosted at the SourceForge SVN repository but rather on our own hosted repositories. You can find the tag for that code at:

    https://src.springframework.org/svn/...1.0.8.RELEASE/

    Comment


    • #17
      Originally posted by Ben Hale View Post
      Robert, I've updated Spring Build and Spring Web Flow to make it a bit easier to configure the jets3t properties in the next release (or in SVN now). To do this, there will now be a jets3t.properties in /spring-build/lib/ivy to modify. If you want to check out the source code and give this I try, I'd love to know if it works.

      As for your latest problem, I'm not quite sure what's going on there. Are you able to ping repository.springsource.com? And if so, what host does it resolve to?
      I'm in a similar situation in not being able to build from behind a firewall - which I will solve tonight by going home :-) Unsurprisingly because of the firewall I cannot check out the code from subversion either.

      Question though - as a developer I am very interested in looking at how the new Webflow 2 samples all work, but not really that interested in having to build the samples, especially when behind a firewall. Couldn't pre-built examples (Eclipse projects and WAR files) be supplied as part of the release ? At the moment I know a lot more about Ivy and Proxies than Webflow 2 ;-)

      Comment


      • #18
        Originally posted by Ben Hale View Post
        That ping is what I'd expect, so I'm not sure what the problem is. If you're planning on spending any more time on trying to make this work, I'd definitely thing about checking out the latest source.

        Code:
        svn co https://springframework.svn.sourceforge.net/svnroot/springframework/spring-webflow/trunk
        We've stopped shipping a zip file with the JARs in it because it was getting to be about 60MB. That and this has worked every time up until now.
        Downloading 60 megs would have been significantly quicker than trying to build it behind a firewall, which, incidentally, would end up downloading 60 megs :-)

        Comment


        • #19
          I downloaded the source code of the jar file
          org.springframework.build.aws.ivy.jar
          and turned on logging via the following (before it was set to Level..NEVER) :

          public class S3Resolver extends RepositoryResolver {

          static {
          Logger.getLogger("org.jets3t").setLevel(Level.ALL) ;
          }
          Now when I run "ant" from directory
          C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\build-spring-webflow
          (with these values set in property file jets3t.properties, copied into jar file
          C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-build\lib\ivy\jets3t.jar
          s3service.https-only=true
          httpclient.proxy-autodetect=false
          httpclient.proxy-host=p1web1.secret.secret
          httpclient.proxy-port=8080
          I get the following error messages running ant: Notice particularly, below, the logging messages:

          Jun 3, 2008 9:49:36 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice <init>
          INFO: Using Proxy: p1web1.secret.secret:8080
          Jun 3, 2008 9:49:36 PM org.apache.commons.httpclient.HttpMethodBase readResponseBody
          INFO: Response content length is not known
          Jun 3, 2008 9:49:37 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice$1 retryMethod
          WARNING: Retrying HEAD request with path '/ivy%2Fbundles%2Fexternal%2Forg.apache.commons%2Fco m.springsource.org.apache.commons.logging%2F1.1.1% 2Fivy-1.1.1.xml' - attempt 1 of 5
          Jun 3, 2008 9:49:37 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
          INFO: I/O exception (javax.net.ssl.SSLHandshakeException) caught when processing request: Remote host closed connection during handshake
          Jun 3, 2008 9:49:37 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
          INFO: Retrying request

          C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\build-spring-webflow>ant
          Buildfile: build.xml

          clean:
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-binding

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-binding
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-js

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-js
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-faces

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-faces
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-faces
          Trying to override old definition of task dist-jar

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-faces
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-mvc
          Trying to override old definition of task dist-jar

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-mvc

          clean-integration:

          jar:
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-binding

          ivy.init:
          [ivy:settings] :: Ivy 2.0.0-beta2 - 20080225093827 :: http://ant.apache.org/ivy/ ::
          [ivy:settings] :: loading settings :: file = C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-build\common\ivysettings.xml

          resolve.init:

          resolve.compile:
          [ivy:cachepath] Jun 3, 2008 9:49:36 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice <init>
          [ivy:cachepath] INFO: Using Proxy: p1web1.secret.secret:8080
          [ivy:cachepath] Jun 3, 2008 9:49:36 PM org.apache.commons.httpclient.HttpMethodBase readResponseBody
          [ivy:cachepath] INFO: Response content length is not known
          [ivy:cachepath] Jun 3, 2008 9:49:37 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice$1 retryMethod
          [ivy:cachepath] WARNING: Retrying HEAD request with path '/ivy%2Fbundles%2Fexternal%2Forg.apache.commons%2Fco m.springsource.org.apache.commons.logging%2F1.1.1% 2Fivy-1.1.1.xml' - attempt 1 of 5
          [ivy:cachepath] Jun 3, 2008 9:49:37 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
          [ivy:cachepath] INFO: I/O exception (javax.net.ssl.SSLHandshakeException) caught when processing request: Remote host closed connection during handshake
          [ivy:cachepath] Jun 3, 2008 9:49:37 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
          [ivy:cachepath] INFO: Retrying request
          [ivy:cachepath] Jun 3, 2008 9:49:37 PM org.apache.commons.httpclient.HttpMethodBase readResponseBody
          [ivy:cachepath] INFO: Response content length is not known
          [ivy:cachepath] Jun 3, 2008 9:49:37 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice$1 retryMethod
          [ivy:cachepath] WARNING: Retrying HEAD request with path '/ivy%2Fbundles%2Fexternal%2Forg.apache.commons%2Fco m.springsource.org.apache.commons.logging%2F1.1.1% 2Fivy-1.1.1.xml' - attempt 2 of 5
          I would appreciate suggestions on how to proceed with this. Really, I think this problem merits attention.

          By the way I get the following if I change property file to:

          s3service.https-only=false
          httpclient.proxy-autodetect=false
          httpclient.proxy-host=p1web1.frb.org
          httpclient.proxy-port=8080
          C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\build-spring-webflow>ant
          Buildfile: build.xml

          clean:
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-binding

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-binding
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-js

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-js
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-faces

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-faces
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-faces
          Trying to override old definition of task dist-jar

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-faces
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-mvc
          Trying to override old definition of task dist-jar

          clean:
          [subant] Leaving directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-webflow-samples\booking-mvc

          clean-integration:

          jar:
          [subant] Entering directory: C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-binding

          ivy.init:
          [ivy:settings] :: Ivy 2.0.0-beta2 - 20080225093827 :: http://ant.apache.org/ivy/ ::
          [ivy:settings] :: loading settings :: file = C:\JavaLibs\spring-webflow-2.0.1.RELEASE\projects\spring-build\common\ivysettings.xml

          resolve.init:

          resolve.compile:
          [ivy:cachepath] Jun 3, 2008 10:06:23 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice <init>
          [ivy:cachepath] INFO: Using Proxy: p1web1.secret.secret:8080
          [ivy:cachepath] Jun 3, 2008 10:06:23 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice performRequest
          [ivy:cachepath] WARNING: Response '/ivy%2Fbundles%2Fexternal%2Forg.apache.commons%2Fco m.springsource.org.apache.commons.logging%2F1.1.1% 2Fivy-1.1.1.xml' - Unexpected response code 403, expected 200
          [ivy:cachepath] Jun 3, 2008 10:06:23 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice <init>
          [ivy:cachepath] INFO: Using Proxy: p1web1.secret.secret:8080
          [ivy:cachepath] Jun 3, 2008 10:06:24 PM org.jets3t.service.impl.rest.httpclient.RestS3Serv ice performRequest
          [ivy:cachepath] WARNING: Response '/ivy%2Flibraries%2Fexternal%2Forg.apache.commons%2F com.springsource.org.apache.commons.logging%2F1.1. 1%2Fivy-1.1.1.xml' - Unexpected response code 403, expected 200
          Last edited by RobertGloverJr; Jun 3rd, 2008, 10:07 PM.

          Comment


          • #20
            Classcastexception while getting WebFlow 2.0.1 Release samples working on JBoss 4.2

            I am trying to deploy the Spring WebFlow 2.0.1 Release sample application on both Tomcat 6.0 and JBoss 4.2. I was able to successfully follow the readme instructions and build the project and import it into Eclipse 3.3 IDE. Subsequently I resolved the compilation errors by defining the envrionment variable IVY_CACHE.

            Then I issued a RUN AS command by right-clicking the Project swf-booking-faces and created a Tomcat 6.0 Server. It deployed and ran fine.

            Later I issued a RUN AS command by right-clicking the Project sw-booking-faces and created a JBoss 4.2 server.



            The deployment failed with the following exception. Any help is appreciated.
            15:33:32,526 ERROR [[/swf-booking-faces]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfi gureListener
            java.lang.ClassCastException: com.sun.faces.config.WebConfiguration at com.sun.faces.config.WebConfiguration.getInstance( WebConfiguration.java:135)
            at com.sun.faces.config.ConfigureListener.contextInit ialized(ConfigureListener.java:228)
            at org.jboss.web.jsf.integration.config.JBossJSFConfi gureListener.contextInitialized(JBossJSFConfigureL istener.java:69)
            at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3856)
            at org.apache.catalina.core.StandardContext.start


            --More lines----

            Comment


            • #21
              Resolved

              I resolved setting these parameters into jets3t.properties:

              s3service.https-only=false
              httpclient.proxy-autodetect=false
              httpclient.proxy-host=myProxyHost
              httpclient.proxy-port=myProxyHost
              httpclient.proxy-user=myProxyUsername
              httpclient.proxy-password=myProxyPassword
              httpclient.proxy-domain=myProxyDomain

              and inserting this file into the jets3t.jar at root level.
              Now I can ntlm authenticate correctly and download the dependencies.

              Comment

              Working...
              X