Pour les pros!! - Langages fonctionnels - Programmation
Marsh Posté le 20-09-2007 à 14:15:20
on est vendredi
Marsh Posté le 20-09-2007 à 14:37:22
Ça c'est du programme très complexe en langage fonctionnel, oh ben oui cha madame.
Marsh Posté le 20-09-2007 à 14:42:16
Marsh Posté le 20-09-2007 à 15:10:24
Marsh Posté le 20-09-2007 à 15:16:58
J4INVOKE LA MODERATION
Marsh Posté le 20-09-2007 à 15:19:48
stop à la pollution
le debutant 14 >> d'abord tu essaies d'isoler un peu ton erreur au lieu de tout nous balancer, et quand ce sera fait, tu refais un topic adéquat en n'oubliant pas les balises [code ] et [/ code]
Marsh Posté le 20-09-2007 à 14:10:52
Bonjour à tous!!
Apache Software Foundation/Tomcat 5.0/webapps/edixit/RouteurPU."
J'ai un programme très complexe de gestion patrimoniale qui fonctionne en html (java, class, xtml...)
Après une réinstallation de mon PC, le boot du programme ne fonctionne plus (c'est Balo)
Il y a deux fichiers qui servent à lancer le programme :
1) Index.html
<html>
<head>
<style type="text/css">
body {
overflow-y: hidden ;
overflow-x: hidden ;
}
</style>
<title>eDixit</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT>
function caramba(URL)
{
window.open(URL, 'edixit', 'toolbar=no,menubarr=no,scrollbars,resizable=YES,directoriesr=no,status,locationr=no,width=820,height=600,left=0,top=0')
}
</script>
<Script language="JavaScript">
// Désactivation du clic droit de la souris
function noclick(scx){
var doh = "L'option du clic droit est désactivée !!! ";
if (navigator.appName == "Netscape" && scx.which ==3){
alert(doh);
return false;
}
if (navigator.appVersion.indexOf("MSIE" )!=-1 && event.button ==2){
alert(doh);
return false;
}
}
function keyboardClicIe() {
if(event.keyCode == 8) {
alert('Touche interdite dans l\'application');
return false;
}
else return true;
}
document.onmousedown = noclick;
document.onkeydown = keyboardClicIe;
</script>
</head>
<body background="images/maif/fondecran.gif">
<br><br><br><br><br><br>
<p align="center">
<a href="javascript:caramba('./RouteurPU')">
<img src="images/maif/fondEdixit.gif" border="0">
</a>
</p>
<br>
<p align="center">
<img src="images/maif/dixit.gif" border="0">
</p>
<p align="left">
<img src="images/maif/ecriture_pmt.gif" border="0">
</p>
</body>
</html>
2) RouteurPU (c'est ce fichier qui pose problème). En effet j'ai bien un fichier "RouteurPU.class" mais ca ne marche pas. J'ai essayé de l'enregistré en ".RouteurPU" par le biais de cavaj mais ca ne fonctionne pas non plus. Je ne sais plus trop quoi faire... Voici "RouteurPU.class" ouvert avec cavaj
package patrimoine.edixit;
import java.io.*;
import java.net.URL;
import java.util.Hashtable;
import java.util.Vector;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.sql.DataSource;
import org.apache.log4j.Category;
import org.w3c.dom.*;
import patrimoine.tools.logging.ExtendedLogger;
import patrimoine.tools.logging.LoggerConf;
import patrimoine.xml.ApiXmlPMT;
import patrimoine.xml.XmlUtils;
// Referenced classes of package patrimoine.edixit:
// CI, ConfigCommun, MissingParameterException, PU,
// Contexte, ModeIntegre, COL
public class RouteurPU extends HttpServlet
{
private ExtendedLogger logger;
DataSource ds;
DataSource dsA;
private Class classContexte;
private Class classGestionMode;
String className;
String classNameCtx;
private Contexte gestionContexte;
private ModeIntegre gestionModeIntegre;
private String msgErreurExecution;
private Document arbreParam;
public RouteurPU()
{
logger = (ExtendedLogger)ExtendedLogger.getLogger(patrimoine.edixit.RouteurPU.class.getName());
ds = null;
dsA = null;
classContexte = null;
classGestionMode = null;
className = "";
classNameCtx = "";
gestionContexte = null;
gestionModeIntegre = null;
arbreParam = null;
}
private boolean addParameters(CI CI, HttpSession session)
{
boolean rep = true;
String nomAttribute = null;
String typeAttribute = null;
String typeAttributeUpCase = null;
String valAttribute = null;
String typeElementVector = null;
String typeElementVectorUpCase = null;
if(logger.isDebugEnabled())
{
logger.debug(XmlUtils.arbre2String(CI.getRootRES(), 2));
}
try
{
NodeList nl = CI.getRootRES().getChildNodes();
int nbNoeud = nl.getLength();
for(int i = 0; i < nbNoeud; i++)
{
nomAttribute = ((Element)nl.item(i)).getTagName();
typeAttribute = ((Element)nl.item(i)).getAttribute("type" );
typeAttributeUpCase = typeAttribute.toUpperCase();
if(!typeAttributeUpCase.equals("VECTOR" ))
{
valAttribute = ((Node)((Node)nl.item(i)).getFirstChild()).getNodeValue();
}
if(typeAttributeUpCase.equals("STRING" ))
{
if(valAttribute == null)
{
valAttribute = "";
}
session.setAttribute(nomAttribute, gestionGuillemet(new String(valAttribute)));
} else
if(typeAttributeUpCase.equals("INTEGER" ))
{
session.setAttribute(nomAttribute, new Integer(valAttribute));
} else
if(typeAttributeUpCase.equals("BOOLEAN" ))
{
session.setAttribute(nomAttribute, new Boolean(valAttribute));
} else
if(typeAttributeUpCase.equals("DOUBLE" ))
{
session.setAttribute(nomAttribute, new Double(valAttribute));
} else
if(typeAttributeUpCase.equals("FLOAT" ))
{
session.setAttribute(nomAttribute, new Float(valAttribute));
} else
if(typeAttributeUpCase.equals("GC" ))
{
session.setAttribute(nomAttribute, XmlUtils.getValNoeudParametreGC((Element)nl.item(i), nomAttribute));
} else
if(typeAttributeUpCase.equals("GCE" ))
{
session.setAttribute(nomAttribute, XmlUtils.getValNoeudParametreGCE((Element)nl.item(i), nomAttribute));
} else
if(typeAttributeUpCase.equals("VECTOR" ))
{
NodeList nl2 = ((Node)nl.item(i)).getChildNodes();
Vector v = new Vector();
for(int j = 0; j < nl2.getLength(); j++)
{
typeElementVector = ((Element)(Node)nl2.item(j)).getAttribute("type" );
typeElementVectorUpCase = typeElementVector.toUpperCase();
valAttribute = ((Node)((Node)nl2.item(j)).getFirstChild()).getNodeValue();
if(logger.isDebugEnabled())
{
logger.debug("TYPE PARAM VALEUR PARAM :" + valAttribute);
}
if(typeElementVectorUpCase.equals("STRING" ))
{
if(valAttribute == null)
{
valAttribute = "";
}
v.add(gestionGuillemet(new String(valAttribute)));
} else
if(typeElementVectorUpCase.equals("INTEGER" ))
{
v.add(new Integer(valAttribute));
} else
if(typeElementVectorUpCase.equals("BOOLEAN" ))
{
v.add(new Boolean(valAttribute));
} else
if(typeElementVectorUpCase.equals("DOUBLE" ))
{
v.add(new Double(valAttribute));
} else
if(typeElementVectorUpCase.equals("FLOAT" ))
{
v.add(new Float(valAttribute));
} else
if(typeElementVectorUpCase.equals("GC" ))
{
v.add(XmlUtils.getValGC((Element)(Node)nl2.item(j)));
} else
if(typeElementVectorUpCase.equals("GCE" ))
{
v.add(XmlUtils.getValGCE((Element)(Node)nl2.item(j)));
}
}
session.setAttribute(nomAttribute, v);
}
}
}
catch(Exception e)
{
logger.error("Exception : ", e);
rep = false;
}
return rep;
}
private boolean choixPageHtml(PrintWriter out, String action)
{
boolean rep = true;
String fileName = "";
BufferedReader in = null;
String line = "";
try
{
String target = ConfigCommun.getInstance().getTarget();
String docRoot = null;
if(target.equalsIgnoreCase("-1" ) || target.equalsIgnoreCase("scf" ))
{
docRoot = ConfigCommun.getInstance().getDocumentRoot() + "/gstDossier/";
} else
if(target.equalsIgnoreCase("probtp" ))
{
docRoot = ConfigCommun.getInstance().getDocumentRoot() + "/gstDossier/proBTP/";
} else
if(target.equalsIgnoreCase("laposte" ))
{
docRoot = ConfigCommun.getInstance().getDocumentRoot() + "/gstDossier/laposte/";
} else
if(target.equalsIgnoreCase("rothschild" ))
{
docRoot = ConfigCommun.getInstance().getDocumentRoot() + "/gstDossier/rothschild/";
} else
if(target.equalsIgnoreCase("maif" ))
{
docRoot = ConfigCommun.getInstance().getDocumentRoot() + "/gstDossier/maif/";
} else
if(target.equalsIgnoreCase("bpbfc" ))
{
docRoot = ConfigCommun.getInstance().getDocumentRoot() + "/gstDossier/bpbfc/";
}
if(action.equalsIgnoreCase("quitterBaseInferieur" ))
{
fileName = docRoot + "compteur_superieur.html";
} else
if(action.equalsIgnoreCase("MAJ_BASE_STRUCT" ))
{
fileName = docRoot + "compteur_inferieur.html";
} else
if(action.equals("quitterSauvegarder" ))
{
logger.debug("quitterSauvegarder" );
fileName = docRoot + "wdixit_quittersauvegarder.html";
} else
if(action.equals("quitterErreurSI" ))
{
logger.debug(" wdixit_erreur_SI" );
fileName = docRoot + "wdixit_erreur_SI.html";
} else
if(action.equals("quitterErreurFichierHabili" ))
{
logger.debug(" wdixit_erreur_FichierHabili" );
fileName = docRoot + "wdixit_erreur_FichierHabili.html";
} else
if(action.equals("quitterErreurLibelleHabili" ))
{
logger.debug(" wdixit_erreur_LibelleHabili" );
fileName = docRoot + "wdixit_erreur_LibelleHabili.html";
} else
if(action.equals("quitterErreurPasHabili" ))
{
logger.debug(" wdixit_erreur_PasHabili" );
fileName = docRoot + "wdixit_erreur_PasHabili.html";
} else
if(action.equals("quitterErreurProfil" ))
{
logger.debug("action quitterErreurProfil" );
fileName = docRoot + "quitterErreurProfil.html";
} else
{
fileName = docRoot + "wdixit_quitter.html";
}
if(logger.isDebugEnabled())
{
logger.debug("fileName " + fileName);
}
in = new BufferedReader(new FileReader(fileName));
if(logger.isDebugEnabled())
{
logger.debug("in est " + (in != null ? "non null" : "null" ));
}
if(in != null)
{
line = in.readLine();
if(logger.isDebugEnabled())
{
logger.debug("ligne lue " + line);
}
while(line != null)
{
out.print(line);
line = in.readLine();
if(logger.isDebugEnabled())
{
logger.debug("ligne lue " + line);
}
}
}
in.close();
}
catch(Exception e)
{
logger.error("Exception : ", e);
return false;
}
return rep;
}
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
performTask(request, response);
}
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
performTask(request, response);
}
private String gestionGuillemet(String nom)
{
if(nom == null)
{
return "";
}
int taille = 0;
StringBuffer nomBuf = new StringBuffer(nom);
taille = nom.length();
if(!nom.equalsIgnoreCase("€" ))
{
for(int i = 0; i < taille; i++)
{
if(nom.substring(i, i + 1).equals("\"" ))
{
nomBuf.replace(i, i + 1, """ );
nom = nomBuf.toString();
i += 5;
taille += 5;
}
if(nom.substring(i, i + 1).equals("<" ))
{
nomBuf.replace(i, i + 1, "<" );
nom = nomBuf.toString();
i += 3;
taille += 3;
}
if(nom.substring(i, i + 1).equals(">" ))
{
nomBuf.replace(i, i + 1, ">" );
nom = nomBuf.toString();
i += 3;
taille += 3;
}
if(nom.substring(i, i + 1).equals("&" ))
{
nomBuf.replace(i, i + 1, "&" );
nom = nomBuf.toString();
i += 4;
taille += 4;
}
}
}
return nom;
}
public String getMsgErreurExecution()
{
return msgErreurExecution;
}
public void init()
throws ServletException
{
LoggerConf.initialize(this);
logger.debug("debut" );
try
{
String target = "";
Class modClass = getClass();
StringBuffer resourceName = new StringBuffer();
String filePath = modClass.getResource(resourceName.toString()).getFile();
String trace = "";
ConfigCommun.getInstance().init(this);
String typeStockage = ConfigCommun.getInstance().getSgbdName();
if(typeStockage == null)
{
typeStockage = "xml";
}
try
{
if(logger.isDebugEnabled())
{
logger.debug("isModeIntegre :" + ConfigCommun.getInstance().isModeIntegre());
}
arbreParam = ApiXmlPMT.chargeArbreParam(ConfigCommun.getInstance().getPath_XML());
if(ConfigCommun.getInstance().isModeIntegre())
{
target = ConfigCommun.getInstance().getTarget();
if(target.equalsIgnoreCase("probtp" ))
{
className = "ModeIntegreProBTP";
classNameCtx = "ContexteProBTP";
} else
if(target.equalsIgnoreCase("rothschild" ))
{
className = "ModeIntegreRothschild";
classNameCtx = "ContexteRothschild";
} else
if(target.equalsIgnoreCase("bpbfc" ))
{
className = "ModeIntegreBP";
classNameCtx = "ContexteBP";
}
logger.debug("className :" + className);
if(className != null && className.length() != 0)
{
classGestionMode = Class.forName("patrimoine.edixit." + className);
classContexte = Class.forName("patrimoine.edixit." + classNameCtx);
}
}
Context ctx = null;
String nomDS = "java:comp/env/jdbc/";
String nomDSA = "java:comp/env/jdbc/";
try
{
if(!typeStockage.equalsIgnoreCase("XML" ))
{
ctx = new InitialContext();
if(typeStockage.equals("DB2" ))
{
nomDS = nomDS + "edixitDS";
nomDSA = nomDSA + "edixitDS";
}
if(typeStockage.equals("ORACLE" ))
{
nomDS = nomDS + "eDixitDataSourceORACLE";
nomDSA = nomDSA + "eDixitDataSourceORACLEAdmin";
}
if(typeStockage.equals("MSSQLSERVER" ))
{
nomDS = nomDS + "eDixitDataSourceSQLServer";
nomDSA = nomDSA + "eDixitDataSourceSQLServerAdmin";
}
try
{
ds = (DataSource)ctx.lookup(nomDS);
}
catch(Exception e)
{
logger.fatal("DataSource User, SGBD=" + typeStockage + " erreur=" + e);
}
try
{
dsA = (DataSource)ctx.lookup(nomDSA);
}
catch(Exception e)
{
logger.fatal("DataSource Admin, SGBD=" + typeStockage + " erreur=" + e);
}
}
}
catch(Exception e)
{
logger.fatal("new InitialContext(), erreur " + e);
}
ConfigCommun.getInstance().setDsA(dsA);
logger.debug("fin" );
}
catch(Exception ex)
{
logger.fatal("erreur sur" + trace, ex);
}
}
catch(MissingParameterException e)
{
logger.fatal("MissingParameterException: ", e);
throw new ServletException(e);
}
catch(Exception e)
{
logger.fatal("Exception: ", e);
throw new ServletException(e);
}
}
private boolean gestionSession(HttpServletRequest request, HttpServletResponse response, HttpSession p_session)
{
boolean rep = true;
logger.debug("DEBUT" );
try
{
String queryString = request.getQueryString();
String muna[] = null;
String login[] = null;
Hashtable query = null;
logger.debug("queryString :" + queryString);
if(queryString != null)
{
query = HttpUtils.parseQueryString(queryString);
muna = (String[])query.get("muna" );
login = (String[])query.get("login" );
if(login != null && login[0] != null)
{
String loginCourant = login[0];
logger.debug("loginCourant :" + loginCourant);
p_session.setAttribute("loginCourant", loginCourant);
}
}
}
catch(Exception e)
{
logger.error("Exception", e);
return false;
}
return rep;
}
public void performTask(HttpServletRequest request, HttpServletResponse response)
{
java.lang.reflect.Method theMethod = null;
Object args[] = null;
Class paramTypes[] = null;
ExtendedLogger.setServerName(request.getServerName());
ExtendedLogger.setIdProBtp(ConfigCommun.getInstance().getIdPerseIntegre());
try
{
logger.debug("================================================================================" +
"================="
);
logger.debug("DEBUT ROUTEUR PU" );
HttpSession mySession = request.getSession(true);
gestionSession(request, response, mySession);
mySession.setAttribute("DataSource", ds);
logger.debug("ID de la session :" + mySession.getId());
logger.debug("isRequestedSessionIdFromCookie :" + request.isRequestedSessionIdFromCookie());
logger.debug("isRequestedSessionIdFromURL :" + request.isRequestedSessionIdFromURL());
msgErreurExecution = "";
PU oPU = new PU(mySession);
if(!oPU.init(arbreParam, request, this))
{
msgErreurExecution = msgErreurExecution + " - " + "Erreur d'initialisation de la PU (pb de session)";
}
String loginCourant = (String)mySession.getAttribute("loginCourant" );
if(loginCourant != null && (ConfigCommun.getInstance().getTarget().equalsIgnoreCase("rothschild" ) || ConfigCommun.getInstance().getTarget().equalsIgnoreCase("bpbfc" )))
{
logger.debug("loginCourant :" + loginCourant);
XmlUtils.setNoeudParametre(oPU.getCI().getRootEtatPU(), "ID_ORG_UTILISATEUR", "String", loginCourant);
mySession.removeAttribute("loginCourant" );
}
if(oPU.getCI().getGestionContexte() == null && classContexte != null)
{
logger.debug("le contexte stock\351e dans CI est NULL" );
gestionContexte = (Contexte)classContexte.newInstance();
gestionContexte.init(request);
oPU.getCI().setGestionContexte(gestionContexte);
}
logger.debug("ModeIntegre :" + ConfigCommun.getInstance().isModeIntegre());
if(ConfigCommun.getInstance().isModeIntegre())
{
logger.debug("Instanciation de ModeIntegre" );
gestionModeIntegre = (ModeIntegre)classGestionMode.newInstance();
gestionModeIntegre.init(oPU);
logger.debug("on appelle setGestionModeIntegre de PU..." );
oPU.setGestionModeIntegre(gestionModeIntegre);
}
COL oCOL = new COL();
oCOL.setRequeteHTTP(request);
oCOL.setCI(oPU.getCI());
if(!oCOL.execute())
{
msgErreurExecution = msgErreurExecution + " - " + "Erreur de stockage des donn\351es";
}
if(oPU.getCI().getACTION().equals("quitter" ))
{
if(!InvalidateSession(request, response, "quitter" ))
{
logger.warn("probl\351me \340 l'invalidation de la session" );
}
} else
{
logger.debug("AVANT PU EXECUTE" );
oPU.execute();
if(oPU.getMsgErreurExecution().length() != 0)
{
msgErreurExecution = msgErreurExecution + " - " + oPU.getMsgErreurExecution();
}
String actionCI = oPU.getCI().getACTION();
boolean isModeIntegrePU = oPU.isModeIntegre();
String target = ConfigCommun.getInstance().getTarget();
if(actionCI.equals("quitterSauvegarder" ) || isModeIntegrePU && (actionCI.equals("sauvegardeFermeture" ) && !target.equalsIgnoreCase("rothschild" ) && !target.equalsIgnoreCase("bpbfc" ) || actionCI.equals("fermeture" ) && !target.equalsIgnoreCase("rothschild" ) && !target.equalsIgnoreCase("bpbfc" ) || actionCI.equals("quitterErreurSI" ) || actionCI.equals("quitterErreurFichierHabili" ) || actionCI.equals("quitterErreurLibelleHabili" ) || actionCI.equals("quitterErreurPasHabili" )) || actionCI.equals("quitterErreurProfil" ) || actionCI.equals("quitterBaseInferieur" ) || actionCI.equals("MAJ_BASE_STRUCT" ))
{
String action = null;
if(actionCI.equals("fermeture" ))
{
action = "quitter";
}
action = actionCI;
if(actionCI.equals("sauvegardeFermeture" ) || actionCI.equals("quitterSauvegarder" ))
{
action = "quitterSauvegarder";
}
if(!InvalidateSession(request, response, action))
{
logger.debug("probl\350me \340 l'invalidation de la session" );
}
} else
{
String nextRES = oPU.getNextRES();
if(!addParameters(oPU.getCI(), mySession))
{
msgErreurExecution = msgErreurExecution + " - " + "Erreur de construction des donn\351es r\351sultat";
}
logger.debug("FIN ROUTEUR PU" );
request.setAttribute("msgErreurExecution", msgErreurExecution);
if(!ConfigCommun.getInstance().isTomcat())
{
getServletConfig().getServletContext().getRequestDispatcher(nextRES + ".jsp" ).forward(request, response);
} else
{
getServletConfig().getServletContext().getRequestDispatcher("/" + nextRES + ".jsp" ).forward(request, response);
}
}
}
}
catch(Throwable theException)
{
logger.error("Erreur 1.", theException);
try
{
String nom = "";
String target = ConfigCommun.getInstance().getTarget();
if(target != null && target.equalsIgnoreCase("probtp" ))
{
nom = "proBTP/";
}
if(!ConfigCommun.getInstance().isTomcat())
{
getServletConfig().getServletContext().getRequestDispatcher("include/" + nom + "wdixit_erreurQuitterForce.jsp" ).forward(request, response);
} else
{
getServletConfig().getServletContext().getRequestDispatcher("/include/" + nom + "wdixit_erreurQuitterForce.jsp" ).forward(request, response);
}
}
catch(Exception e)
{
logger.error("Erreur 2 :", e);
}
}
}
public void setMsgErreurExecution(String newMsgErreurExecution)
{
msgErreurExecution = newMsgErreurExecution;
}
private boolean InvalidateSession(HttpServletRequest request, HttpServletResponse response, String action)
{
boolean rep = true;
try
{
HttpSession mySession = request.getSession(false);
if(mySession != null)
{
mySession.invalidate();
logger.debug("session invalidate" );
}
PrintWriter out = response.getWriter();
if(!choixPageHtml(out, action))
{
logger.warning("probl\351me \340 la cr\351ation de la page html par getWriter" );
}
}
catch(Exception e)
{
logger.error("Exception : ", e);
return false;
}
return rep;
}
}
Le message d'erreur est le suivant : "Firefox ne peut trouver le fichier à l'adresse /F
Voici un 3ème fichier qui me semble important pour tout ca... "Web.xml"
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE web-app (View Source for full doctype...)>
- <web-app id="WebApp">
<display-name>edixitWeb</display-name>
- <servlet>
<servlet-name>RouteurPU</servlet-name>
<display-name>RouteurPU</display-name>
<description>servlet generique de eDixit</description>
<servlet-class>patrimoine.edixit.RouteurPU</servlet-class>
- <init-param>
<param-name>db_login</param-name>
<param-value>UEDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_pwd</param-name>
<param-value>UEDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_name</param-name>
<param-value>EDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_driver</param-name>
<param-value>com.microsoft.jdbc.sqlserver.SQLServerDriver</param-value>
</init-param>
- <init-param>
<param-name>sgbd_name</param-name>
<param-value>xml</param-value>
</init-param>
- <init-param>
<param-name>db_url</param-name>
<param-value>jdbc:microsoft:sqlserver://APOLLO:1433</param-value>
</init-param>
- <init-param>
<param-name>devise</param-name>
<param-value>€</param-value>
</init-param>
- <init-param>
<param-name>context_path</param-name>
<param-value />
</init-param>
- <init-param>
<param-name>target</param-name>
<param-value>maif</param-value>
</init-param>
- <init-param>
<param-name>mode_integre</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
<param-name>url_SI_client</param-name>
<param-value />
</init-param>
- <init-param>
<param-name>isTomcat</param-name>
<param-value>true</param-value>
</init-param>
- <init-param>
<param-name>path_XML</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>path_rapport</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>path_habili</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>path_fiches</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>version_serveur</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
<param-name>path_infotheque</param-name>
<param-value>http://localhost:8080/edixit/Rapport/documentHTML/</param-value>
</init-param>
- <init-param>
<param-name>majStructSGBD</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
<param-name>path_dossiers</param-name>
<param-value>-1</param-value>
</init-param>
</servlet>
- <servlet>
<servlet-name>RouteurParam</servlet-name>
<display-name>RouteurParam</display-name>
<servlet-class>patrimoine.outilsparam.RouteurParam</servlet-class>
- <init-param>
<param-name>devise</param-name>
<param-value>€</param-value>
</init-param>
- <init-param>
<param-name>isTomcat</param-name>
<param-value>true</param-value>
</init-param>
- <init-param>
<param-name>path_XML</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>target</param-name>
<param-value>maif</param-value>
</init-param>
- <init-param>
<param-name>mode_integre</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
<param-name>db_login</param-name>
<param-value>UEDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_pwd</param-name>
<param-value>UEDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_name</param-name>
<param-value>EDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_driver</param-name>
<param-value>com.microsoft.jdbc.sqlserver.SQLServerDriver</param-value>
</init-param>
- <init-param>
<param-name>sgbd_name</param-name>
<param-value>xml</param-value>
</init-param>
- <init-param>
<param-name>db_url</param-name>
<param-value>jdbc:microsoft:sqlserver://APOLLO:1433</param-value>
</init-param>
- <init-param>
<param-name>path_fiches</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>path_habili</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>version_serveur</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
- <servlet>
<servlet-name>PBootstrapServlet</servlet-name>
<display-name>PBootstrapServlet</display-name>
<servlet-class>probtp.web.utils.bootstrap.PBootstrapServlet</servlet-class>
- <init-param>
<param-name>CONF_FILENAME</param-name>
<param-value>Properties/configuration/bootstrap_config.xml</param-value>
</init-param>
- <init-param>
<param-name>NIVEAU_LOG</param-name>
<param-value>${probtp.niveau.debug}</param-value>
</init-param>
<load-on-startup>-1</load-on-startup>
</servlet>
- <servlet>
<servlet-name>RouteurInternet</servlet-name>
<display-name>RouteurInternet</display-name>
<servlet-class>patrimoine.edixit.RouteurInternet</servlet-class>
</servlet>
- <servlet>
<servlet-name>RouteurIE</servlet-name>
<display-name>RouteurIE</display-name>
<servlet-class>patrimoine.outilsIE.RouteurIE</servlet-class>
- <init-param>
<param-name>URLServeur</param-name>
<param-value>http://pmapp1:8080/edixit</param-value>
</init-param>
- <init-param>
<param-name>stClient</param-name>
<param-value>C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\edixit\dossiers</param-value>
</init-param>
- <init-param>
<param-name>isTomcat</param-name>
<param-value>true</param-value>
</init-param>
- <init-param>
<param-name>visibilite_dossier</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
<param-name>target</param-name>
<param-value>maif</param-value>
</init-param>
- <init-param>
<param-name>stArchive</param-name>
<param-value>C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\edixit\dossiers\archive</param-value>
</init-param>
- <init-param>
<param-name>URLDossServeur</param-name>
<param-value>-1</param-value>
</init-param>
- <init-param>
<param-name>cheminURLclient</param-name>
<param-value>false</param-value>
</init-param>
</servlet>
- <servlet>
<servlet-name>RouteurLogin</servlet-name>
<display-name>RouteurLogin</display-name>
<servlet-class>patrimoine.edixit.RouteurLogin</servlet-class>
</servlet>
- <servlet>
<servlet-name>RouteurPU_OM</servlet-name>
<display-name>RouteurPU_OM</display-name>
<servlet-class>patrimoine.outilsmesure.application.RouteurPU_OM</servlet-class>
</servlet>
- <servlet>
<servlet-name>RouteurProfil</servlet-name>
<display-name>RouteurProfil</display-name>
<servlet-class>patrimoine.outilsProfil.RouteurProfil</servlet-class>
- <init-param>
<param-name>isTomcat</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
- <servlet>
<servlet-name>RouteurMaj</servlet-name>
<display-name>RouteurMaj</display-name>
<servlet-class>patrimoine.maj.RouteurMaj</servlet-class>
- <init-param>
<param-name>db_login</param-name>
<param-value>UEDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_pwd</param-name>
<param-value>UEDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_name</param-name>
<param-value>EDIXIT</param-value>
</init-param>
- <init-param>
<param-name>db_driver</param-name>
<param-value>com.microsoft.jdbc.sqlserver.SQLServerDriver</param-value>
</init-param>
- <init-param>
<param-name>sgbd_name</param-name>
<param-value>MSSQLSERVER</param-value>
</init-param>
- <init-param>
<param-name>isTomcat</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
<param-name>majStructSGBD</param-name>
<param-value>false</param-value>
</init-param>
- <init-param>
<param-name>db_url</param-name>
<param-value>jdbc:microsoft:sqlserver://APOLLO:1433</param-value>
</init-param>
</servlet>
- <servlet-mapping>
<servlet-name>RouteurParam</servlet-name>
<url-pattern>/RouteurParam</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurInternet</servlet-name>
<url-pattern>/RouteurInternet</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurIE</servlet-name>
<url-pattern>/RouteurIE</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurPU</servlet-name>
<url-pattern>/RouteurPU</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurPU</servlet-name>
<url-pattern>/edixit</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurLogin</servlet-name>
<url-pattern>/RouteurLogin</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurPU_OM</servlet-name>
<url-pattern>/RouteurPU_OM</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurProfil</servlet-name>
<url-pattern>/RouteurProfil</url-pattern>
</servlet-mapping>
- <servlet-mapping>
<servlet-name>RouteurMaj</servlet-name>
<url-pattern>/RouteurMaj</url-pattern>
</servlet-mapping>
- <welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
- <error-page>
<error-code>404</error-code>
<location>/include/wdixit_erreur404.jsp</location>
</error-page>
- <resource-ref id="ResourceRef_1136298296528">
<res-ref-name>jdbc/eDixitDataSourceSQLServer</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
- <resource-ref id="ResourceRef_1162480221579">
<res-ref-name>jdbc/eDixitDataSourceSQLServerAdmin</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
</web-app>