Bonjour ,
j'ai un projet à déployer sous Weblogic 9.2 et j'utilise le plugin cargo avec maven.

Voici mon pom.xml :

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
 
<plugin>
	<groupId>org.codehaus.cargo</groupId>
	<artifactId>cargo-maven2-plugin</artifactId>
	<configuration>
	<container>
	   <containerId>weblogic9x</containerId>
	   <home>C:\bea\weblogic92</home>
	</container>
	<configuration>
	    <type>existing</type>
            <home>C:\bea\weblogic92\samples\domains\wl_server  </home>
		<properties>
                  <cargo.protocol>http</cargo.protocol>
 <cargo.weblogic.administrator.password>weblogic</cargo.weblogic.administrator.password><cargo.servlet.port>7001</cargo.servlet.port>
<cargo.weblogic.administrator.user>weblogic</cargo.weblogic.administrator.user>
<cargo.logging>medium</cargo.logging> 
<cargo.weblogic.server>examplesServer</cargo.weblogic.server>
</properties>
</configuration>
 
<deployables>
   <deployable>
                 	<groupId>com.BNF</groupId>
						<artifactId>bnf</artifactId>
                         <type>war</type>
                          <location>target/bnf.war</location>
                          <pingURL></pingURL>
                     </deployable>
                  </deployables> 
                  <dependencies>
	                     <dependency>
	                         <groupId>org.codehaus.cargo</groupId>
	                          <artifactId>cargo-core-container-weblogic</artifactId>
	                    </dependency>
	              </dependencies> 
				</configuration>
			</plugin>

- La commande mvn cargo start --> demarre le serveur et ça marche //OK
- La commande mvn cargo:deploy--> deploy le war sous le repertoire C:\bea\weblogic92\samples\domains\wl_server\autodeploy et ça marche //OK

-La commande mvn cargo:deployer-start -->ça bugg et affiche l'erreur 'Not supported' ! //KO

Ma question est comment activer le projet afin d'accéder à la page d'accueil http://localhost:7001/bnf/login.do?