8 Replies Latest reply on May 22, 2012 1:57 PM by jaikiran Branched from an earlier discussion.

    Building 7.1.2 tag

    jkreska

      Anyone care to provide a build for 7.1.2.Final?  I tried building from source and it fails for me.

       

      Tests in error: 
        org.jboss.as.arquillian.container.managed.InjectJndiContextTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
        org.jboss.as.arquillian.container.managed.InjectManagementClientTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
        org.jboss.as.arquillian.container.managed.IntegrationTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
        org.jboss.as.arquillian.container.managed.ManagedAsClientEnterpriseArchiveServletTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
        org.jboss.as.arquillian.container.managed.ManagedAsClientWebArchiveServletTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
        org.jboss.as.arquillian.container.managed.ManagedInContainerTestCase: java.lang.IllegalStateException: standard-sockets -> http -> bound-port is undefined
      
        • 1. Re: Building 7.1.2 tag
          jaikiran

          What command are you using to build and what operating system are you on? Which Java vendor and version? How did you checkout the tag?

          • 2. Re: Building 7.1.2 tag
            jkreska

            ./build.sh

             

            Sun

            java version "1.6.0_31"

            Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)

            Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

             

            I did a git clone

            then git checkout  7.1.2.Final

             

            I am on OSX if it matters.

            • 3. Re: Building 7.1.2 tag
              jkreska

              If I try with java 1.7 it hangs complaining about nio implementation.

              when I run a client I have to specify -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.KQueueSelectorProvider in order for the jboss connection to work.

               

              So another question is, how do I add a java vm param to all jvm invocations used by the build process?

              • 4. Re: Building 7.1.2 tag
                jaikiran

                Keep aside Java 1.7 for now while building the server. There's atleast one known issue there.

                 

                Now while building with JDK 1.6, can you post a bit more information including the error logs/messages that you see in the testsuite report(s). You'll find the reports in JBOSS_HOME/<the-failing-module>/target/surefire-reports folder.

                • 5. Re: Building 7.1.2 tag
                  jkreska

                  12:25:13,305 ERROR [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-10) Error initializing endpoint: java.net.BindException: Address already in use /127.0.0.1:8080

                   

                  looks to be the problem.

                   

                  I have no java processes running so I am assuming something in apache's default config on a mac uses port 8080.

                   

                  Is there a way to change the port being used?

                  • 6. Re: Building 7.1.2 tag
                    jaikiran

                    jkreska wrote:

                     

                     

                     

                    Is there a way to change the port being used?

                    netstat -a

                    • 7. Re: Building 7.1.2 tag
                      jkreska

                      uh, netstat -a just lists connections

                       

                      i did a lsof -i :8080 to find the process running on port 8080 and killed it.  Now the build works fine.

                       

                      Thanks for the help in finding the problem with the build.

                      • 8. Re: Building 7.1.2 tag
                        jaikiran

                        jkreska wrote:

                         

                        uh, netstat -a just lists connections

                         

                        It also shows (on my Ubuntu system) the ports being open. Anyway, good to know you got past it.