Plugins (1083)


Training and Consulting (44)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 540
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Guest
Post subject: JUnit Connect Error?  PostPosted: Aug 31, 2005 - 05:57 PM
Guest





When I try to run a test from Eclipse 3.1, I get the following error:

Could not connect to: : 1535
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.connect(RemoteTestRunner.java:754)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:336)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

It's very persistent. Anyone else seen this before? Any ideas on how to get rid of it?
 
   
Reply with quote Back to top
Guest
Post subject: RE: JUnit Connect Error?  PostPosted: Sep 11, 2005 - 10:21 AM






hi, I had the same error, but after having restarted Eclipse, everything went fine again. The error didn't reappear.
 
   
Reply with quote Back to top
Guest
Post subject: RE: JUnit Connect Error?  PostPosted: Dec 15, 2005 - 09:48 PM






Thank you very much. Just restarting solved my problem.
 
   
Reply with quote Back to top
Guest
Post subject: RE: JUnit Connect Error?  PostPosted: Jan 05, 2006 - 01:13 PM






thanks. restart worked for me too Smile
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Mar 08, 2006 - 01:22 AM






I have the same error. I tried doing the same thing which was to restart it.. but that didn't work
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Mar 16, 2006 - 07:14 AM






I had the same error. I had to change the jre that my Eclipse project uses to make sure that JUnit and my project were using the same jre. After a restart of Eclipse the error was gone.
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Apr 16, 2006 - 12:28 PM






I have exactly the same problem. I'm fighting with my jre's, but none of Your solution works... hmmm
 
   
Reply with quote Back to top
Guest
Post subject:   PostPosted: Apr 19, 2006 - 05:08 AM






Hi, I have the same problem. non of the actiones helped me. I even tried a second eclipse instance and huh there it works. I found no hint while comparing those two. Anybody an idee what to look for ?
 
   
Reply with quote Back to top
Tsteve
Post subject:   PostPosted: May 15, 2008 - 10:50 AM



Joined: May 15, 2008
Posts: 1

Same problem here.......



Steve
www.ellieshoess.com
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits