[Issue 4073] New - Maven2 build hangs with "java.net.ConnectException: Connection refused"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Issue 4073] New - Maven2 build hangs with "java.net.ConnectException: Connection refused"

absolut1978
https://hudson.dev.java.net/issues/show_bug.cgi?id=4073
                 Issue #|4073
                 Summary|Maven2 build hangs with "java.net.ConnectException: Co
                        |nnection refused"
               Component|hudson
                 Version|current
                Platform|Other
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|maven2
             Assigned to|issues@hudson
             Reported by|absolut1978






------- Additional comments from [hidden email] Tue Jul 21 12:57:11 +0000 2009 -------
My project builds fine as a free style project with maven2 build step "clean
install"

When i add the project as a maven2 project, everything runs smooth, but after
the module detection the build fails with the message

-------
....
....
Discovered a new module xxx.xx:xxx-xxxx Modulename
[trunk] $ /opt/jdk/jdk1.6.0_14/bin/java -cp
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.316.jar:/opt/maven/apache-maven-2.0.10/boot/classworlds-1.1.jar
hudson.maven.agent.Main /opt/maven/apache-maven-2.0.10
/var/run/hudson/war/WEB-INF/lib/remoting-1.316.jar
/var/lib/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.316.jar 33204
Exception in thread "main" java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:180)
        at hudson.maven.agent.Main.main(Main.java:119)
        at hudson.maven.agent.Main.main(Main.java:62)
ERROR: Failed to launch Maven. Exit code = 1
Finished: FAILURE

-------

Hudson installed on Ubuntu Server 9.04 via apt-get, error can be reproduced with
"autoinstalled" maven2 or / and java

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]