• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Junit in Linux m/c

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

i have facing a problem when try to run a junit in Linux machine.

the error message what i am getting is

Jun 25, 2008 1:58:31 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jun 25, 2008 1:58:31 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request

this is happening when trying to access testGetOnlineEventsList method.. i am attaching the source file below.

package com.cmp.ars.junit;

import junit.framework.Test;
import junit.framework.TestSuite;

import servletunit.struts.CactusStrutsTestCase;

public class TestReportEngineAction extends CactusStrutsTestCase{

private static String CLASSNAME = "TestReportEngineAction";

public TestReportEngineAction(String arg0)
String METHODNAME = "TestReportEngineAction";
System.out.println("inside TestReportEngineAction Constructor");

public static Test suite()
System.out.println("inside TestReportEngineAction Suite");
return new TestSuite(TestReportEngineAction.class);

public void testGetOnlineEventsList()

int l_iTemp = 5;
int l_iAdd2 = 10;
System.out.println("inside TestReportEngineAction getOnlineeventlist1");
int l_iSum = l_iTemp + l_iAdd2;
System.out.println("inside TestReportEngineAction getOnlineeventlist2");


appreciate your help on this
    Bookmark Topic Watch Topic
  • New Topic