Bonjour,
Je tente d'effectuer des tests d'intégration avec Cargo dans Maven sur un serveur Tomcat.
Le problème est que mon war ne démarre pas et je ne sais tout simplement pas où récupérer des logs pertinents. Je précise que je suis dans un environnement relativement complexe (Cocoon / hybernate / le tout sous Maven).
Je n'ai aucun log sous "Tomcat5.5/logs/", l'interface d'administration me dit juste : ECHEC - L'application pour le chemin de contexte /ma-webapp-1.0-SNAPSHOT n'a pas puêtredémarrée
Est-ce que quelqu'un sait comment je peux activer les logs quelque part ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51 <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <executions> <execution> <id>start-container</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> </execution> <execution> <id>stop-container</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> <configuration> <wait>true</wait> <container> <containerId>tomcat5x</containerId> <!-- Each developper define an active-by-default profile in its settings.xml tha holds the content of the folowwing property --> <home>${tomcat.home.directory}</home> <timeout>30000</timeout> <dependencies> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </dependency> </dependencies> </container> <configuration> <type>standalone</type> <home> ${project.build.directory}/Tomcat5.5 </home> <properties> <cargo.servlet.port>9999</cargo.servlet.port> <cargo.logging>high</cargo.logging> </properties> </configuration> </configuration> </plugin>
Partager