Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 42479 invoked by uid 99); 1 Mar 2005 18:59:42 -0000 X-ASF-Spam-Status: No, hits=4.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FORGED_RCVD_HELO,NO_REAL_NAME,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from imo-d01.mx.aol.com (HELO imo-d01.mx.aol.com) (205.188.157.33) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Mar 2005 10:59:40 -0800 Received: from jfggdl@netscape.net by imo-d01.mx.aol.com (mail_out_v37_r3.8.) id t.c2.f911634 (16237) for ; Tue, 1 Mar 2005 13:59:35 -0500 (EST) Received: from netscape.net (mow-m06.webmail.aol.com [64.12.184.134]) by air-in03.mx.aol.com (v104.18) with ESMTP id MAILININ31-3f6d4224bb97b7; Tue, 01 Mar 2005 13:59:35 -0500 Date: Tue, 01 Mar 2005 13:59:34 -0500 From: jfggdl@netscape.net To: cactus-user@jakarta.apache.org Subject: WSAD & Cactus: ChainedRuntimeException: Missing Cactus property [cactus.contextURL] MIME-Version: 1.0 Message-ID: <2C1802DD.104F3003.000645B2@netscape.net> X-Mailer: Atlas Mailer 2.0 X-AOL-IP: 136.2.1.101 X-AOL-Language: english Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-AOL-Test: Testing X-Virus-Checked: Checked Hi! I am using WSAD 5.1.1 which is based on Eclipse. I setup cactus just as described in the web site. However, when I try to run a ServletTestCase I get the following message (see below). I have already setup a cactus.properties file with a cactus.contextURL=http://localhost:9080/MyEARProjectName/testCactus Any help would be greatly appreciated By the way, I am trying to get more information on the function of the cactus.contextURL function in the whole Cactus framework. Any onformation on how the name of the servlet (URL) is related to the ServletTestCase that I extend? Thanks org.apache.cactus.util.ChainedRuntimeException: Missing Cactus property [cactus.contextURL] at org.apache.cactus.internal.configuration.BaseConfiguration.getContextURL(BaseConfiguration.java:59) at org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody0(AbstractWebConfiguration.java:46) at org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL_aroundBody1$advice(AbstractWebConfiguration.java:306) at org.apache.cactus.internal.configuration.AbstractWebConfiguration.getRedirectorURL(AbstractWebConfiguration.java) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java:159) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:80) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:306) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:159) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:80) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.java:306) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java) at org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144) at org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215) at org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133) 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) __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp