...
| Bloc de code | ||
|---|---|---|
| ||
diff --git a/uportal-war/src/main/webapp/WEB-INF/web.xml b/uportal-war/src/main/webapp/WEB-INF/web.xml
index 96ec7c0..5c46989 100644
--- a/uportal-war/src/main/webapp/WEB-INF/web.xml
+++ b/uportal-war/src/main/webapp/WEB-INF/web.xml
@@ -118,7 +118,7 @@
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
<init-param>
<param-name>casServerUrlPrefix</param-name>
- <param-value>${environment.build.cas.protocol}://${environment.build.cas.server}/cas</param-value>
+ <param-value>${environment.build.cas.protocol}://${environment.build.cas.server}${environment.build.cas.context}</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
|
Déploiement
Installer Ant, Maven; Tomcat
Coté tomcat installer un tomcat de base, le laisser en autoDeploy="true"installer Ant, Maven; tomcat
Premier déploiement :
| Bloc de code |
|---|
ant -Dmaven.test.skip=true initportal
|
Pour déployer les modifications par la suite
| Bloc de code |
|---|
ant -Dmaven.test.skip=true clean deploy-war
|
env.cmd : script d'exemple qui positionne les variables d'environnement qui vont bien (pour windows désolé)
...
| Bloc de code |
|---|
call E:/esup4/env.cmd DEL /Q "%TOMCAT_HOME%\logs\*.*" DEL /Q "%TOMCAT_HOME%\work\*.*" %TOMCAT_HOME%\bin\catalina jpda start @rem %CATALINA_HOME%\bin\catalina start -security @rem %CATALINA_HOME%\bin\catalina start |
*stop.cmd ?:* script d'arrêt de tomcat
| Bloc de code |
|---|
call E:/esup4/env.cmd DEL /Q "%LOG_DIR%\*.*" call %CATALINA_HOME%\bin\shutdown |