JBoss a son dossier de librairies, avec dedans hibernate, log4j, etc... Dans ce dossier, j'y ai inclus aussi toutes mes librairies nécessaires pour l'exécution de mon appli.
Version imprimable
JBoss a son dossier de librairies, avec dedans hibernate, log4j, etc... Dans ce dossier, j'y ai inclus aussi toutes mes librairies nécessaires pour l'exécution de mon appli.
extraie les tld des jar de richfaces et mets les dans web-inf et essaie le deploiment
Hello,
Configuration : JBoss 5.0.1 GA (même problème avec 4.2 GA) / RichFaces 3.3.3
J'ai la même Exception que Jaymz :
.. Mais une fois sur deux ..Code:
1
2L'uri absolue: http://richfaces.org/a4j ne peut �tre r�solu dans le fichier web.xml ou dans les fichiers jar d�ploy�s avec cette application
.. Et parfois j'ai cette Exception là :
Et parfois ça marche :marteau:Code:
1
2 org.apache.jasper.JasperException: Unable to read TLD "META-INF/ajax4jsf.tld" from JAR file "jboss-5.0.1.GA/server/default/tmp/3j011-f6adpt-gl2br2ld-1-gl2brx6h-9q/ProjetWeb.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar": java.util.zip.ZipException: error in opening zip file
.. J'ai donc essayé de trouver l'erreur par rapport à cette discution ..
Dans jboss-5.0.1GA/server/default/conf, je n'ai pas l'attribut suivant :
<attribute name="UseJBossWebLoader">
:triste:
Dans le fichier.jsp j'ai les déclarations de taglib suivant (sinon ça marche pas du tout) :
Je n'ai pas non plus de librairies richfaces au niveau du serveur JBoss mais uniquement dans un rep tmp (sans doute ce qui est déployé en ce moment) et dans les fichiers EAR (je précise que je ne déploye qu'un seul projet) :Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> (...) <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> (...)
Je précise aussi que mon projet est un projet Web classique (je n'ai pas choisi JSF 1.2 au niveau de la création du projet web qui est englobé dans un projet EJB)Code:
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 ./server/default/tmp/3j011-p9e9er-gl1lu8ji-1-gl1luxd6-9o/ProjetWeb.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar ./server/default/tmp/3j011-p9e9er-gl1lu8ji-1-gl1luxd6-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-p9e9er-gl1lu8ji-1-gl1luxd6-9o/ProjetWeb.war/WEB-INF/lib/richfaces-impl-3.3.3.Final.jar ./server/default/tmp/vfs-nested.tmp/2ab731d4_richfaces-api-3.3.3.Final.jar ./server/default/tmp/vfs-nested.tmp/cf5e399d_richfaces-impl-3.3.3.Final.jar ./server/default/tmp/vfs-nested.tmp/73cdaae9_richfaces-ui-3.3.3.Final.jar ./server/default/tmp/3j011-cbrsp8-gl2auskh-1-gl2avfex-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-pzh904-gl1msf5s-1-gl1mt7gm-9o/ProjetWeb.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar ./server/default/tmp/3j011-pzh904-gl1msf5s-1-gl1mt7gm-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-pzh904-gl1msf5s-1-gl1mt7gm-9o/ProjetWeb.war/WEB-INF/lib/richfaces-impl-3.3.3.Final.jar ./server/default/tmp/3j011-8o2m02-gl1m3br1-1-gl1m40hv-9o/ProjetWeb.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar ./server/default/tmp/3j011-8o2m02-gl1m3br1-1-gl1m40hv-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-8o2m02-gl1m3br1-1-gl1m40hv-9o/ProjetWeb.war/WEB-INF/lib/richfaces-impl-3.3.3.Final.jar ./server/default/tmp/3j011-6jeaaw-gl1mcz0f-1-gl1mdrwh-9o/ProjetWeb.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar ./server/default/tmp/3j011-6jeaaw-gl1mcz0f-1-gl1mdrwh-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-6jeaaw-gl1mcz0f-1-gl1mdrwh-9o/ProjetWeb.war/WEB-INF/lib/richfaces-impl-3.3.3.Final.jar ./server/default/tmp/3j011-ib6nqd-gl1nhhou-1-gl1ni6hd-9o/ProjetWeb.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar ./server/default/tmp/3j011-ib6nqd-gl1nhhou-1-gl1ni6hd-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-ib6nqd-gl1nhhou-1-gl1ni6hd-9o/ProjetWeb.war/WEB-INF/lib/richfaces-impl-3.3.3.Final.jar ./server/default/tmp/3j011-pqczx-gl1lwvbo-1-gl1lxkjg-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-ibnpkm-gl1lmorh-1-gl1lndmp-9o/ProjetWeb.war/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar ./server/default/tmp/3j011-ibnpkm-gl1lmorh-1-gl1lndmp-9o/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar ./server/default/tmp/3j011-ibnpkm-gl1lmorh-1-gl1lndmp-9o/ProjetWeb.war/WEB-INF/lib/richfaces-impl-3.3.3.Final.jar ./server/default/tmp/3j011-bne37r-gl2a4r3w-1-gl2a5lrq-9q/ProjetWeb.war/WEB-INF/lib/richfaces-api-3.3.3.Final.jar
NB : J'ai remarqué que même si j'avais le même problème que celui qui a posté cet artcicle, le titre ne correspondait pas du tout avec mon problème, donc je fais un nouvel article appellé : [RichFaces] Deployement erratique avec a4j