Devasish, Looks like the @test.port@ is not replaced with the correct port number. Try to check for the following items; 1. Make sure the ant task, filter is defined appropriately. 2. If you are copying a templatized file like cactus.properties, using ant copy task, set the attribute filtering="on"
Hope this info helps. -- Satya -----Original Message----- From: devasish sarangi [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 1:21 PM To: [EMAIL PROTECTED] Subject: Unknown Host Exception while trying to run Cactus Hi, I am trying to use Cactus with Websphere Studio 4.0 environment. I configured the classpaths both in the client side and in the server side. When I run 'TestAll' in the TestRunner, I am getting the following exception java.net.UnknownHostException: test.port@ at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getAllByName0(Unknown Source) at java.net.InetAddress.getByName(Unknown Source) at java.net.Socket.<init>(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) at org.apache.cactus.client.HttpClientHelper.addParametersUsingPost(HttpClientH elper.java:182) at org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java:416) at org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java:1 29) at org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:422) at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:130) at org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:371) Seems like a basic setup problem. But I can't figure out what. I am able to run the servlet in my Test Environment sucessfully. If anybody has a clue, please let me know. Thanks, Devasish __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
