-
1. Re: Building 7.1.2 tag
jaikiran May 22, 2012 12:50 PM (in response to jkreska)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 May 22, 2012 1:01 PM (in response to jaikiran)./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 May 22, 2012 1:04 PM (in response to 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 May 22, 2012 1:07 PM (in response to jkreska)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 May 22, 2012 1:33 PM (in response to jaikiran)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 May 22, 2012 1:38 PM (in response to jkreska)jkreska wrote:
Is there a way to change the port being used?
netstat -a
-
7. Re: Building 7.1.2 tag
jkreska May 22, 2012 1:55 PM (in response to jaikiran)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 May 22, 2012 1:57 PM (in response to jkreska)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.