J'ai bien rajouté les libs qui sont bien reconnues mais apparament doit avoir une erreur dans moin fichier web.xml,alors qu'il me dit faces-config.xml

web.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
 
 
<?xml version="1.0"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
   	http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	version="2.5">
 
	<!-- Configuration de JSF -->
	<context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>client</param-value>
	</context-param>
 
	<context-param>
		<param-name>javax.faces.CONFIG_FILES</param-name>
		<param-value>/WEB-INF/faces-config.xml</param-value>
	</context-param>
 
	<!-- Faces Servlet -->
	<servlet>
		<servlet-name>Faces Servlet</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup>1</load-on-startup>
	</servlet>
	<!-- Faces Servlet Mapping -->
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>/faces/*</url-pattern>
	</servlet-mapping>
 
 
	<filter>
		<description>Apace MyFaces Extension filter</description>
		<display-name>MyFacesExtensionsFilter</display-name>
		<filter-name>MyFacesExtensionsFilter</filter-name>
		<filter-class>
			org.apache.myfaces.component.html.util.ExtensionsFilter
		</filter-class>
		<init-param>
			<param-name>maxFileSize</param-name>
			<param-value>20m</param-value>
		</init-param>
	</filter>
 
	<!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages  -->
	<filter-mapping>
		<filter-name>MyFacesExtensionsFilter</filter-name>
		<!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
		<servlet-name>Faces Servlet</servlet-name>
	</filter-mapping>
 
	<!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.)  -->
	<filter-mapping>
		<filter-name>MyFacesExtensionsFilter</filter-name>
		<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
	</filter-mapping>
 
	<!-- Fin de la configuration de JSF -->
	<welcome-file-list>
		<welcome-file>index.jsp</welcome-file>
	</welcome-file-list>
</web-app>
faces-config.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
 
<?xml version='1.0'?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
 
<faces-config>
 
 
	<managed-bean>
		<managed-bean-name>pk</managed-bean-name>
		<managed-bean-class>Prospects_kabo</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
 
	<managed-bean>
		<managed-bean-name>pkd</managed-bean-name>
		<managed-bean-class>ProspectsKaboDao</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
 
	<managed-bean>
		<managed-bean-name>pkb</managed-bean-name>
		<managed-bean-class>Prospects_Kabo_Binding</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
 
	<managed-bean>
		<managed-bean-name>q</managed-bean-name>
		<managed-bean-class>Qualif_kabo</managed-bean-class>
		<managed-bean-scope>session</managed-bean-scope>
	</managed-bean>
 
	<validator>
		<validator-id>validation</validator-id>
		<validator-class>Prospects_Kabo_Binding</validator-class>
	</validator>
 
	<navigation-rule>
		<from-view-id>/script/a1.jsp</from-view-id>
		<navigation-case>
			<from-outcome>clique</from-outcome>
			<to-view-id>/script/a1.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/acceuil.jsp</from-view-id>
		<navigation-case>
			<from-outcome>bon</from-outcome>
			<to-view-id>/script/frame.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/acceuil.jsp</from-view-id>
		<navigation-case>
			<from-outcome>faux</from-outcome>
			<to-view-id>/index.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/q1.jsp</from-view-id>
		<navigation-case>
			<from-outcome>ok</from-outcome>
			<to-view-id>/script/q2.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/q1.jsp</from-view-id>
		<navigation-case>
			<from-outcome>refus</from-outcome>
			<to-view-id>/script/e2.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/q2.jsp</from-view-id>
		<navigation-case>
			<from-outcome>ok</from-outcome>
			<to-view-id>/script/e1.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/leftframe.jsp</from-view-id>
		<navigation-case>
			<from-outcome>update</from-outcome>
			<to-view-id>/script/update.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/e1.jsp</from-view-id>
		<navigation-case>
			<from-outcome>ok</from-outcome>
			<to-view-id>/index.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/e2.jsp</from-view-id>
		<navigation-case>
			<from-outcome>ok</from-outcome>
			<to-view-id>/index.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/e2.jsp</from-view-id>
		<navigation-case>
			<from-outcome>ok</from-outcome>
			<to-view-id>/index.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
	<navigation-rule>
		<from-view-id>/script/e3.jsp</from-view-id>
		<navigation-case>
			<from-outcome>ok</from-outcome>
			<to-view-id>/index.jsp</to-view-id>
		</navigation-case>
	</navigation-rule>
 
</faces-config>
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
 
javax.faces.FacesException: Can't parse configuration file:wsjar:file:/C:/lib/myfaces-core-1.2.0/lib/tomahawk-1.1.5.jar!/META-INF/faces-config.xml
	at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:215)
	at com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:122)
	at com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
	at com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:465)
	at com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
	at com.ibm.ws.jsf.extprocessor.JSFExtensionFactory.createExtensionProcessor(JSFExtensionFactory.java:108)
	at com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1143)
	at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:403)
	at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:117)
	at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:128)
	at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:939)
	at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:892)
	at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
	at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1228)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1067)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:751)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:892)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2003)
	at com.ibm.ws.runtime.component.ComponentImpl.runAsynchronousInitializer(ComponentImpl.java:159)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplications(ApplicationMgrImpl.java:745)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:524)
	at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
	at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
	at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:149)
	at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:820)
	at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:649)
	at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:408)
	at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:187)
	at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:133)
	at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:387)
	at com.ibm.ws.runtime.WsServer.main(WsServer.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at com.ibm.ws.bootstrap.WSLauncher.run(WSLauncher.java:219)
	at java.lang.Thread.run(Thread.java:570)
Caused by: java.net.SocketException: Operation timed out: conn