• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Integration testing with Maven and HTTP Client - connection refused

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am still a greenhorn, so please be patient.
I have got following problem when trying to test my rest services (uploading files, downloading them, getting xml representation). Test works fine in eclipse, I use Jetty to run my server application. When I run them in Maven all freezes at:
2009-04-15 10:39:05 com.noelios.restlet.http.StreamClientHelper start
INFO: Starting the HTTP client
As you can see I use restlet for my rest implementation.
After quite long time I get:

If I set timeout for particular test, error is little different:

Only one client try to connect, during Maven freeze I can access rest services via my web browser.

Do you have any ideas what could it be? My test seemed to work earlier, now don't even if I use tomcat instead of Jetty.

Thanks for reading this and any answers.


    Bookmark Topic Watch Topic
  • New Topic