2 Replies Latest reply on Nov 3, 2008 8:01 PM by liug

    build jbossweb for jboss 4.2.3

    liug

      I downloaded jboss 4.2.3 src and tried to rebuild the jbossweb.jar from source.
      It seems the jboss 4.2.3 src tarball doesn't have the jbossweb src. It
      looks like the jbossweb.jar in jboss 4.2.3 is 2.0.1.GA, so I
      downloaded the http://anonsvn.jboss.org/repos/jbossweb/tags/JBOSSWEB_2_0_1_GA
      but a deep look seems to indicate this is NOT the right source file.

      Anybody know where I can find the right jbossweb source and build
      scripts used by jboss 4.2.3?

      BTW, what I am trying to do is to apply the patch from
      https://jira.jboss.org/jira/browse/JBPAPP-363 and create a new
      jbossweb.jar. I was hoping the latest jboss 4.2.3 would have already
      included this patch, but a simple test shows no.

        • 1. Re: build jbossweb for jboss 4.2.3
          peterj

          Here is what I do. I download the source and build it. Building it will pull down the source jars for jboss web. I then unjar the jboss web source jar(s) and then patch and compile only the java source file(s) that I changed (I include in my javac classpath whatever jars I need from server/default//lib to do this). Then I replace the old class(es) in the existing jar with the newly compiled classes. This works very well for me.

          Hope this helps.

          • 2. Re: build jbossweb for jboss 4.2.3
            liug

            Thanks for the hint. I just tried that and somehow it doesn't work.

            I grabbed the source patch from https://jira.jboss.org/jira/browse/JBPAPP-363 which "modifies" 8 java files. I used your approach to compile and get 8 class file. I replaced those 8 class file in the jbossweb.jar, but the resulting jbossweb.jar doesn't seem to change the cookie name.

            If I download the precompiled binary jbossweb.jar from https://jira.jboss.org/jira/browse/JBPAPP-431 and I can change the cookie name.

            You can verify the steps and see if it works for you.