You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by bryan hansen <bh...@yahoo.com> on 2005/01/28 18:35:50 UTC

Port ignored in build.properties file and build.xml

I am trying to run the servlet sample that comes
packaged with the 1.6.1 distribution of Cactus. I
believe that I have all of the properties in the
cactus.properties file configured correctly, but when
I actually run the test from the Ant task at the
command line I get:

BUILD FAILED
file:C:/java_tools/jakarta-cactus-13-1.6.1/samples/servlet/build.xml:321:
Failed to start the container after more than [180000]
ms. Trying to connect to the
[http://localhost:8080/cactus-sample-servl
et-cactified/ServletRedirector?Cactus_Service=RUN_TEST]
test URL yielded a [-1] error code. Please run in
debug mode for more details about the error.

I have specifically told it to use port 8765 in my
build.properties file as well as my build.xml. Why is
it still looking at 8080?

build.properties:
cactus.home.jboss3x = c:/jboss-3.2.4
cactus.port = 8765

build.xml:
<!--<property name="cactus.port" value="8080"/>-->
  <property name="cactus.port" value="8765"/>

TIA,

Bryan


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

RE: Port ignored in build.properties file and build.xml

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Bryan,

This is because JBoss is the only container for which we do not yet control
the port (i.e. cactus.port has no effect on it). That's unless you use a
custom jboss configuration.

See http://issues.apache.org/jira/browse/CACTUS-86

Sorry for the trouble
-Vincent

> -----Original Message-----
> From: bryan hansen [mailto:bh5k@yahoo.com]
> Sent: vendredi 28 janvier 2005 18:36
> To: cactus-user@jakarta.apache.org
> Subject: Port ignored in build.properties file and build.xml
> 
> I am trying to run the servlet sample that comes
> packaged with the 1.6.1 distribution of Cactus. I
> believe that I have all of the properties in the
> cactus.properties file configured correctly, but when
> I actually run the test from the Ant task at the
> command line I get:
> 
> BUILD FAILED
> file:C:/java_tools/jakarta-cactus-13-1.6.1/samples/servlet/build.xml:321:
> Failed to start the container after more than [180000]
> ms. Trying to connect to the
> [http://localhost:8080/cactus-sample-servl
> et-cactified/ServletRedirector?Cactus_Service=RUN_TEST]
> test URL yielded a [-1] error code. Please run in
> debug mode for more details about the error.
> 
> I have specifically told it to use port 8765 in my
> build.properties file as well as my build.xml. Why is
> it still looking at 8080?
> 
> build.properties:
> cactus.home.jboss3x = c:/jboss-3.2.4
> cactus.port = 8765
> 
> build.xml:
> <!--<property name="cactus.port" value="8080"/>-->
>   <property name="cactus.port" value="8765"/>
> 
> TIA,
> 
> Bryan
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org


_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com