1 Reply Latest reply on Jul 22, 2011 8:58 AM by Mike Britton

    Connection refused when building samples

    Mike Britton Level 1

      Anyone ever see this?  It just started happening and now I'm unable to build / rebuild the samples.

       

       

       

      C:\development\mosaic_playground\samples>ant

      Buildfile: build.xml

       

      deploy:

       

      init:

       

      deploy-catalogs:

            [zip] Building zip: C:\development\mosaic_playground\samples\general\sample_catalog.zip

      [mosaic-catalog] Exception in thread "Thread-2" C:\development\mosaic_playground\samples\general\build.xml:47: Post failed: C

      onnection refused: connect

      [mosaic-catalog]        at com.adobe.mosaic.ant.MosaicTask$Poster.run(MosaicTask.java:554)

      [mosaic-catalog] Caused by: java.net.ConnectException: Connection refused: connect

      [mosaic-catalog]        at java.net.PlainSocketImpl.socketConnect(Native Method)

      [mosaic-catalog]        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

      [mosaic-catalog]        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

      [mosaic-catalog]        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

      [mosaic-catalog]        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

      [mosaic-catalog]        at java.net.Socket.connect(Socket.java:525)

      [mosaic-catalog]        at java.net.Socket.connect(Socket.java:475)

      [mosaic-catalog]        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.New(HttpClient.java:306)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.New(HttpClient.java:323)

      [mosaic-catalog]        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)

      [mosaic-catalog]        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)

      [mosaic-catalog]        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)

      [mosaic-catalog]        at com.adobe.mosaic.ant.MosaicTask$Poster.run(MosaicTask.java:535)

      [mosaic-catalog] --- Nested Exception ---

      [mosaic-catalog] java.net.ConnectException: Connection refused: connect

      [mosaic-catalog]        at java.net.PlainSocketImpl.socketConnect(Native Method)

      [mosaic-catalog]        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

      [mosaic-catalog]        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

      [mosaic-catalog]        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

      [mosaic-catalog]        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

      [mosaic-catalog]        at java.net.Socket.connect(Socket.java:525)

      [mosaic-catalog]        at java.net.Socket.connect(Socket.java:475)

      [mosaic-catalog]        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.New(HttpClient.java:306)

      [mosaic-catalog]        at sun.net.www.http.HttpClient.New(HttpClient.java:323)

      [mosaic-catalog]        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)

      [mosaic-catalog]        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)

      [mosaic-catalog]        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)

      [mosaic-catalog]        at com.adobe.mosaic.ant.MosaicTask$Poster.run(MosaicTask.java:535)

       

      BUILD FAILED

      C:\development\mosaic_playground\samples\build.xml:9: The following error occurred while executing this line:

      C:\development\mosaic_playground\samples\general\build.xml:47: Post failed: Connection refused: connect

       

      Total time: 9 seconds

      C:\development\mosaic_playground\samples>