Re: Connection Refused Error.

2005-09-16 Thread Kazuhito SUGURI
Hi,

In article [EMAIL PROTECTED],
Wed, 14 Sep 2005 08:57:36 +0530,
Aruna Ponnusamy [EMAIL PROTECTED] wrote: 
aruna.ponnusamy My contextURL is http://localhost:8080/detailapp
aruna.ponnusamy I'm using my localhost.

OK.
Then...

In article [EMAIL PROTECTED],
Mon, 12 Sep 2005 14:18:03 +0530,
Aruna Ponnusamy [EMAIL PROTECTED] wrote: 
aruna My Tomcat is up and the application works perfectly, but cactus throws
aruna errors when run.

One cause I know is that the AP server is not running
(or is not listening a port that is spedified by contextURL)
when Cactus runs.
If this isn't the cause, we need more information about your case.


aruna testControlStatus(test.TestLogonPage)java.net.ConnectException:
aruna Connection refused
aruna  at java.net.PlainSocketImpl.socketConnect(Native Method)
[snip]
aruna  at
aruna 
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
aruna  at test.TestLogonPage.main(TestLogonPage.java:60)

How did you run the test? `java test.TestLogonPage`?
Could you try `java junit.textui.TestRunner test.TestLogonPage`?


Regards,

Kazuhito SUGURI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cactus JBoss-2.2.X support (was: Re: Connection Refused Error.)

2005-09-14 Thread Nicolas Chalumeau
The ant integration only support the 3.X version of JBoss...
Cactus will use Cargo to start/stop container but actually Cargo
support 3.X and 4.X and I don't think 2.2.X is a priority but you can
ask for this at http://jira.codehaus.org/browse/CARGO

Nicolas

2005/9/14, Duque [EMAIL PROTECTED]:
 Hi buddies,
  Somebody use Jakarta Cactus with JBOSS 2.2.6 e 2.2.7 ?
  Att,
 Andre L. Amram Duque
 
  On 9/13/05, Kazuhito SUGURI [EMAIL PROTECTED] wrote:
 
  Hi Aruna,
 
  In article [EMAIL PROTECTED],
  Mon, 12 Sep 2005 14:18:03 +0530,
  Aruna Ponnusamy [EMAIL PROTECTED] wrote:
  aruna When I try running my cactus testcase it is throwing the following
  aruna error:
  aruna
  aruna testControlStatus(test.TestLogonPage)java.net.ConnectException:
  aruna Connection refused
 
  As the error message informs...
 
 
  aruna I've put my cactus.properties file also in src and classes folder.
  [snip]
  aruna My Tomcat is up and the application works perfectly, but cactus
  throws
  aruna errors when run.
 
  What's your cactus.contextURL?
  Can you access to the host:port by using telnet?
  
  Kazuhito SUGURI
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 --
 Kol tov,
 André L. A. Duque
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Connection Refused Error.

2005-09-13 Thread Kazuhito SUGURI
Hi Aruna,

In article [EMAIL PROTECTED],
Mon, 12 Sep 2005 14:18:03 +0530,
Aruna Ponnusamy [EMAIL PROTECTED] wrote: 
aruna When I try running my cactus testcase it is throwing the following
aruna error:
aruna 
aruna testControlStatus(test.TestLogonPage)java.net.ConnectException:
aruna Connection refused

As the error message informs...


aruna I've put my cactus.properties file also in src and classes folder.
[snip]
aruna My Tomcat is up and the application works perfectly, but cactus throws
aruna errors when run.

What's your cactus.contextURL?
Can you access to the host:port by using telnet?

Kazuhito SUGURI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Connection Refused Error.

2005-09-13 Thread Aruna Ponnusamy
Hi Kazuhito,
My contextURL is http://localhost:8080/detailapp
I'm using my localhost.

Thanks,
Aruna

On Tue, 2005-09-13 at 23:40 +0900, Kazuhito SUGURI wrote:

 Hi Aruna,
 
 In article [EMAIL PROTECTED],
 Mon, 12 Sep 2005 14:18:03 +0530,
 Aruna Ponnusamy [EMAIL PROTECTED] wrote: 
 aruna When I try running my cactus testcase it is throwing the following
 aruna error:
 aruna 
 aruna testControlStatus(test.TestLogonPage)java.net.ConnectException:
 aruna Connection refused
 
 As the error message informs...
 
 
 aruna I've put my cactus.properties file also in src and classes folder.
 [snip]
 aruna My Tomcat is up and the application works perfectly, but cactus throws
 aruna errors when run.
 
 What's your cactus.contextURL?
 Can you access to the host:port by using telnet?
 
 Kazuhito SUGURI
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]