Issue Details (XML | Word | Printable)

Key: CACTUS-228
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: David Delbecq
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Cactus

Can not start Tomcat 5.5.7 to run unit test

Created: 30/Aug/05 04:56 PM   Updated: 05/Oct/08 06:17 PM
Return to search
Component/s: Maven Integration
Affects Version/s: 1.7.1
Fix Version/s: 1.8

Time Tracking:
Not Specified

File Attachments:
  Size
GZip Archive bug-test.tar.gz 2005-08-30 04:57 PM David Delbecq 2 kB
Text File tomcat5x.out 2005-08-30 05:01 PM David Delbecq 3 kB
Environment: Linux, Tomcat 5.5.7, java version "1.4.2_05"
Issue Links:
Incorporates
 

Resolution Date: 05/Oct/08 06:17 PM


 Description  « Hide
tomcat test container fail to be properly started by maven, throwing a javax.naming.NamingException,
The maven cactus test then wait indefinitly for container to respond request:
cactus:test-war:
    [cactus] -----------------------------------------------------------------
    [cactus] Running tests against Tomcat 5.5.7 @ http://localhost:9090
    [cactus] -----------------------------------------------------------------

I'll attach example project reproducing problem.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Delbecq added a comment - 30/Aug/05 04:57 PM
test case failing

David Delbecq added a comment - 30/Aug/05 05:01 PM
tomcat output

David Delbecq added a comment - 30/Aug/05 05:02 PM
Complete maven output:
$ maven cactus
 __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.1

build:start:

cactus:check-plugin-dependencies:

cactus:init:

cactus:test:
cactus:check-plugin-dependencies:

cactus:init:
Overriding previous definition of reference to cactus.classpath
Overriding previous definition of reference to cactus.compile.src.set
Overriding previous definition of reference to cactus.scanner.classpath

cactus:init-report:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to /home/delbd/dev/dissco/workspace/bug-test/target/classes
    [echo] No java source files to compile.

cactus:compile:

cactus:cactifywar:
war:init:

war:war-resources:
    [copy] Copying 1 file to /home/delbd/dev/dissco/workspace/bug-test/target/dissco_shark/WEB-INF

java:prepare-filesystem:

java:compile:
    [echo] Compiling to /home/delbd/dev/dissco/workspace/bug-test/target/classes
    [echo] No java source files to compile.

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
    [echo] No test source files to compile.

test:test:
    [echo] No tests to run.

war:webapp:
    [echo] Assembling webapp dissco_shark

war:war:
    [echo] Building WAR dissco_shark
    [jar] Building jar: /home/delbd/dev/dissco/workspace/bug-test/target/dissco_shark.war

    [cactifywar] Analyzing war: /home/delbd/dev/dissco/workspace/bug-test/target/dissco_shark.war
    [cactifywar] Building war: /home/delbd/dev/dissco/workspace/bug-test/target/dissco_shark-cactus.war
    [cactifywar] Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task)

cactus:test-war:
    [echo] /home/delbd/dev/dissco/workspace/bug-test/src/webapp/WEB-INF/web.xml
    [cactus] -----------------------------------------------------------------
    [cactus] Running tests against Tomcat 5.5.7 @ http://localhost:9090
    [cactus] -----------------------------------------------------------------

Archimedes Trajano added a comment - 16/Sep/05 03:32 PM
Also happens on Windows with Tomcat 5.5.9

Vincent Massol added a comment - 30/Sep/05 09:49 PM
Once we move to Cargo this will be supported OOB as Cargo already supports Tomcat 5.x and 5.5.x

Petar Tahchiev added a comment - 05/Oct/08 06:17 PM
Should be working with the latest release of Cactus, using Cargo.