Hi Vincent,
Sorry for the long list of emails in the past 24 hours
but I am just so close to getting this going. I have
also read your comments on the JUnit In Action forum
to Gaston
(http://www.manning-sandbox.com/thread.jspa?threadID=201&tstart=0)
I am attaching jpeg file of my preferences as mine
looks slightly different from the web site's. (Sorry
its kinda compressed up as the forum only take up to
100K)
For the Web Application Preferences, the 'Webapp
Directory' is where the WEB-INF/web.xml should reside
correct? Also, this is relative to my Project right?
Since I have imported the project from the book, its:
d:\dev\junitbook\database\src\webapp\WEB-INF\web.xml
where dev is where I unzipped the junit book source
code.
This web.xml is the one taken from
org.apache.cactus.eclipse.runner_1.6dev-20031029\conf
Do I have to worry about 'Output war' in the Web
Application preferences? It seems to be looking for a
webapp.war file which I am not able to find.
With the above configurations, I am still getting the
following exceptions:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native
Method)
(please see Exception.txt for complete stack trace, I
also have the Eclipse log in there)
I am certain that its something I am overlooking.
Would appreciate all the help. Also, my team members
on my project would also be very grateful :-) Even
though we recognize this plugin is still
'experimental', it would defintely be very useful to
be able to run the debugger in an 'in container'
situation if we have one of those hard to find bugs in
our code.
Thanks.
--
Josh
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonusjava.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
at java.net.Socket.<init>(Socket.java:291)
at java.net.Socket.<init>(Socket.java:119)
at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:105)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:663)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:661)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:558)
at
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect_aroundBody0(HttpClientConnectionHelper.java:177)
at
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect_aroundBody1$advice(HttpClientConnectionHelper.java:222)
at
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java)
at
org.apache.cactus.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:201)
at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:119)
at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:222)
at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java:333)
at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.java:281)
at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java:257)
at org.apache.cactus.ServletTestCase.runCactusTest(ServletTestCase.java:300)
at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:263)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)
Eclipse Log:
-----------
!ENTRY org.apache.cactus.eclipse.runner 1 0 Jan 11, 2004 22:07:06.828
!MESSAGE Cactus preference : Jetty = [true]
!ENTRY org.apache.cactus.eclipse.runner 1 0 Jan 11, 2004 22:07:06.921
!MESSAGE Cactus preference : ContextURL = [http://localhost:8080/test]
!ENTRY org.apache.cactus.eclipse.runner 1 0 Jan 11, 2004 22:07:06.937
!MESSAGE Cactus preference : TempDir = [D:\Dev\temp]
!ENTRY org.apache.cactus.eclipse.runner 1 0 Jan 11, 2004 22:07:06.937
!MESSAGE Cactus preference : jetty.xml = [src/webapp/jetty.xml]
!ENTRY org.apache.cactus.eclipse.runner 1 0 Jan 11, 2004 22:07:06.968
!MESSAGE Cactus preference : Jetty = [true]
!ENTRY org.apache.cactus.eclipse.runner 1 0 Jan 11, 2004 22:07:06.984
!MESSAGE Cactus preference : TempDir = [D:\Dev\temp]
!ENTRY org.apache.cactus.eclipse.runner 1 0 Jan 11, 2004 22:07:11.468
!MESSAGE Test run ended
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]