Bonjour,

Je suis nv dans spring, j'essaye de de l'integrer à un projet JSF, mais lorque j'essaye d'excuter un requette depuis EntityManager j'ai une erreur : Session is closed!.

J'utilise Spring 3.0.0.RELEASE
Hibernate-core 3.3.2.GA
hibernate-entitymanager 3.4.0.GA
JSF 1.2
Richfaces 3.3.3.GA
Tomcat 6

c'est un projet maven je crois que le ficher pom.xml est bien fait

voici le code qui lève l'exception :

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
 
	public String connecter() {
 
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"applicationContext.xml");
		EntityManagerFactory factory = (EntityManagerFactory) context.getBean("entityManagerFactory");
		EntityManager entityManager = factory.createEntityManager();
		SessionFactory sFactory = (SessionFactory) context
				.getBean("sessionFactory");
		sFactory.openSession();
 
		String fromName = "user";
 
		QueryBuilder queryBuilder = new QueryBuilder(entityManager);
		queryBuilder.addSelectClause(fromName);
		queryBuilder.addFromClause(Utilisateur.class, fromName);
		queryBuilder.addWhereClause("user.login =", "login", login);
		queryBuilder.addWhereClause("user.password =", "password", pass);
			if (queryBuilder.getQuery().getResultList().size() > 0)
			return "succes";
		else
			return "failure";
 
	}
}
la stacktrace :
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
 
 
 
 
 14/03/2011 13:36:38  INFO  MyfacesConfig:259 - No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
 14/03/2011 13:36:38  INFO  MyfacesConfig:241 - Starting up Tomahawk on the MyFaces-JSF-Implementation
 14/03/2011 13:36:38  INFO  FacesConfigurator:392 - Reading standard config META-INF/standard-faces-config.xml
 14/03/2011 13:36:39  INFO  FacesConfigurator:621 - Reading config : jar:file:/D:/Profils/projet/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/faces-config.xml
 14/03/2011 13:36:39  INFO  FacesConfigurator:621 - Reading config : jar:file:/D:/Profils/projet//WEB-INF/lib/richfaces-impl-3.3.3.Final.jar!/META-INF/faces-config.xml
 14/03/2011 13:36:39  INFO  FacesConfigurator:621 - Reading config : jar:file:/D:/Profils/projet//WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/faces-config.xml
 14/03/2011 13:36:39  INFO  FacesConfigurator:621 - Reading config : jar:file:/D:/Profils/projet//WEB-INF/lib/tomahawk-1.1.9.jar!/META-INF/faces-config.xml
 14/03/2011 13:36:39  INFO  FacesConfigurator:694 - Reading config /WEB-INF/faces-config.xml
 14/03/2011 13:36:39  INFO  FacesConfigurator:431 - Starting up MyFaces-package : myfaces-api in version : 1.2.7 from path : file:/D:/Profils/projet//WEB-INF/lib/myfaces-api-1.2.7.jar
 14/03/2011 13:36:39  INFO  FacesConfigurator:431 - Starting up MyFaces-package : myfaces-impl in version : 1.2.7 from path : file:/D:/Profils/projet//WEB-INF/lib/myfaces-impl-1.2.7.jar
 14/03/2011 13:36:39  INFO  FacesConfigurator:439 - MyFaces-package : tomahawk-sandbox15 not found.
 14/03/2011 13:36:39  INFO  FacesConfigurator:439 - MyFaces-package : tomahawk-sandbox not found.
 14/03/2011 13:36:39  INFO  FacesConfigurator:431 - Starting up MyFaces-package : tomahawk in version : 1.1.9 from path : file:/D:/Profils/projet//WEB-INF/lib/tomahawk-1.1.9.jar
 14/03/2011 13:36:39  WARN  LocaleUtils:55 - Locale name in faces-config.xml null or empty, setting locale to default locale : fr_FR
 14/03/2011 13:36:43  INFO  FacesConfigurator:1149 - Serialization provider : class projet.performance.JBossSerialFactory
 14/03/2011 13:36:43  INFO  AbstractFacesInitializer:96 - ServletContext 'D:\Profils\mazlaf\My Documents\projet\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\liaco\' initialized.
14 mars 2011 13:36:43 org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
 14/03/2011 13:36:43  INFO  ContextLoader:182 - Root WebApplicationContext: initialization started
 14/03/2011 13:36:43  INFO  XmlWebApplicationContext:447 - Refreshing Root WebApplicationContext: startup date [Mon Mar 14 13:36:43 CET 2011]; root of context hierarchy
 14/03/2011 13:36:43  INFO  XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [applicationContext.xml]
 14/03/2011 13:36:45  INFO  XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [security-context.xml]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler#0': replacing [Root bean: class [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  GlobalMethodSecurityBeanDefinitionParser:134 - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0': replacing [Root bean: class [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.access.vote.AffirmativeBased#0': replacing [Root bean: class [org.springframework.security.access.vote.AffirmativeBased]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.access.vote.AffirmativeBased]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0': replacing [Root bean: class [org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.provisioning.JdbcUserDetailsManager#0': replacing [Root bean: class [org.springframework.security.provisioning.JdbcUserDetailsManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.provisioning.JdbcUserDetailsManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.authentication.dao.DaoAuthenticationProvider#0': replacing [Root bean: class [org.springframework.security.authentication.dao.DaoAuthenticationProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.authentication.dao.DaoAuthenticationProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0': replacing [Root bean: class [org.springframework.security.authentication.DefaultAuthenticationEventPublisher]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.authentication.DefaultAuthenticationEventPublisher]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.authenticationManager': replacing [Root bean: class [org.springframework.security.authentication.ProviderManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.authentication.ProviderManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.PortMapperImpl#0': replacing [Root bean: class [org.springframework.security.web.PortMapperImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.PortMapperImpl]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.context.HttpSessionSecurityContextRepository#0': replacing [Root bean: class [org.springframework.security.web.context.HttpSessionSecurityContextRepository]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.context.HttpSessionSecurityContextRepository]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0': replacing [Root bean: class [org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.authentication.ProviderManager#0': replacing [Root bean: class [org.springframework.security.authentication.ProviderManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.authentication.ProviderManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  FilterInvocationSecurityMetadataSourceParser:136 - Creating access control expression attribute 'hasRole('ROLE_FOURNISSEUR') or hasRole('ROLE_ADMINISTRATEUR')' for /pages/indicateur/creationIndicateur.jsf
 14/03/2011 13:36:45  INFO  FilterInvocationSecurityMetadataSourceParser:136 - Creating access control expression attribute 'hasRole('ROLE_ADMINISTRATEUR')' for /pages/admin/**
 14/03/2011 13:36:45  INFO  FilterInvocationSecurityMetadataSourceParser:136 - Creating access control expression attribute 'isAuthenticated()' for /pages/**
 14/03/2011 13:36:45  INFO  FilterInvocationSecurityMetadataSourceParser:136 - Creating access control expression attribute 'isAuthenticated()' for /pages/accueil/accueil.jsf
 14/03/2011 13:36:45  INFO  FilterInvocationSecurityMetadataSourceParser:136 - Creating access control expression attribute 'permitAll' for /**
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0': replacing [Root bean: class [org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.access.vote.AffirmativeBased#1': replacing [Root bean: class [org.springframework.security.access.vote.AffirmativeBased]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.access.vote.AffirmativeBased]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0': replacing [Root bean: class [org.springframework.security.web.access.intercept.FilterSecurityInterceptor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.access.intercept.FilterSecurityInterceptor]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:45  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0': replacing [Root bean: class [org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:46  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.authentication.AnonymousAuthenticationProvider#0': replacing [Root bean: class [org.springframework.security.authentication.AnonymousAuthenticationProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.authentication.AnonymousAuthenticationProvider]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:46  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.savedrequest.HttpSessionRequestCache#0': replacing [Root bean: class [org.springframework.security.web.savedrequest.HttpSessionRequestCache]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.savedrequest.HttpSessionRequestCache]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:46  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint#0': replacing [Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:46  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0': replacing [Root bean: class [org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:46  INFO  HttpSecurityBeanDefinitionParser:190 - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 300, Root bean: class [org.springframework.security.web.authentication.logout.LogoutFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 400, Root bean: class [org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 800, Root bean: class [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1200, Root bean: class [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1300, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1400, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1600, Root bean: class [org.springframework.security.web.session.SessionManagementFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1800, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 1900]
 14/03/2011 13:36:46  INFO  DefaultListableBeanFactory:595 - Overriding bean definition for bean 'org.springframework.security.filterChainProxy': replacing [Root bean: class [org.springframework.security.web.FilterChainProxy]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Root bean: class [org.springframework.security.web.FilterChainProxy]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null]
 14/03/2011 13:36:46  INFO  PropertyPlaceholderConfigurer:177 - Loading properties file from URL [file:/D:/Profils/projet//WEB-INF/classes/database_mysql.properties]
 14/03/2011 13:36:46  INFO  DriverManagerDataSource:153 - Loaded JDBC driver: com.mysql.jdbc.Driver
 14/03/2011 13:36:46  INFO  XmlWebApplicationContext:1261 - Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:46  INFO  XmlWebApplicationContext:1261 - Bean 'jpaVendorAdapter' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:47  INFO  XmlWebApplicationContext:1261 - Bean '${jpa.dialect}#47c130' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:47  INFO  XmlWebApplicationContext:1261 - Bean 'jpaProperties' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:47  INFO  XmlWebApplicationContext:1261 - Bean 'jpaProperties' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:47  INFO  LocalContainerEntityManagerFactoryBean:221 - Building JPA container EntityManagerFactory for persistence unit 'jpa'
 14/03/2011 13:36:47  INFO  Version:15 - Hibernate Annotations 3.4.0.GA
 14/03/2011 13:36:47  INFO  Environment:560 - Hibernate 3.3.2.GA
 14/03/2011 13:36:47  INFO  Environment:593 - hibernate.properties not found
 14/03/2011 13:36:47  INFO  Environment:771 - Bytecode provider name : javassist
 14/03/2011 13:36:47  INFO  Environment:652 - using JDK 1.4 java.sql.Timestamp handling
 14/03/2011 13:36:47  INFO  Version:14 - Hibernate Commons Annotations 3.1.0.GA
 14/03/2011 13:36:47  INFO  Version:16 - Hibernate EntityManager 3.4.0.GA
 14/03/2011 13:36:48  INFO  AnnotationBinder:419 - Binding entity from annotated class: projet.domain.Utilisateur
 14/03/2011 13:36:48  INFO  EntityBinder:422 - Bind entity projet.domain.Utilisateur on table user
 14/03/2011 13:36:48  INFO  AnnotationBinder:419 - Binding entity from annotated class: projet.domain.Groupe
 14/03/2011 13:36:48  INFO  EntityBinder:422 - Bind entity projet.domain.Groupe on table groupe
 14/03/2011 13:36:48  INFO  AnnotationBinder:419 - Binding entity from annotated class: projet.domain.UserGroupe
 14/03/2011 13:36:48  INFO  EntityBinder:422 - Bind entity projet.domain.UserGroupe on table user_groupe
 14/03/2011 13:36:48  INFO  Version:17 - Hibernate Validator 3.1.0.GA
 14/03/2011 13:36:48  INFO  HibernateSearchEventListenerRegister:53 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
 14/03/2011 13:36:48  INFO  ConnectionProviderFactory:95 - Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
 14/03/2011 13:36:48  INFO  InjectedDataSourceConnectionProvider:37 - Using provided datasource
 14/03/2011 13:36:49  INFO  SettingsFactory:114 - RDBMS: MySQL, version: 5.1.51-community
 14/03/2011 13:36:49  INFO  SettingsFactory:115 - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.10 ( Revision: ${svn.Revision} )
 14/03/2011 13:36:49  INFO  Dialect:175 - Using dialect: org.hibernate.dialect.MySQLDialect
 14/03/2011 13:36:49  INFO  TransactionFactoryFactory:62 - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
 14/03/2011 13:36:49  INFO  TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
 14/03/2011 13:36:49  INFO  SettingsFactory:161 - Automatic flush during beforeCompletion(): disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:165 - Automatic session close at end of transaction: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:172 - JDBC batch size: 15
 14/03/2011 13:36:49  INFO  SettingsFactory:175 - JDBC batch updates for versioned data: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:180 - Scrollable result sets: enabled
 14/03/2011 13:36:49  INFO  SettingsFactory:188 - JDBC3 getGeneratedKeys(): enabled
 14/03/2011 13:36:49  INFO  SettingsFactory:196 - Connection release mode: after_transaction
 14/03/2011 13:36:49  INFO  SettingsFactory:220 - Maximum outer join fetch depth: 2
 14/03/2011 13:36:49  INFO  SettingsFactory:223 - Default batch fetch size: 1
 14/03/2011 13:36:49  INFO  SettingsFactory:227 - Generate SQL with comments: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:231 - Order SQL updates by primary key: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:235 - Order SQL inserts for batching: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:397 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
 14/03/2011 13:36:49  INFO  ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
 14/03/2011 13:36:49  INFO  SettingsFactory:243 - Query language substitutions: {}
 14/03/2011 13:36:49  INFO  SettingsFactory:248 - JPA-QL strict compliance: enabled
 14/03/2011 13:36:49  INFO  SettingsFactory:253 - Second-level cache: enabled
 14/03/2011 13:36:49  INFO  SettingsFactory:257 - Query cache: enabled
 14/03/2011 13:36:49  INFO  SettingsFactory:382 - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
 14/03/2011 13:36:49  INFO  RegionFactoryCacheProviderBridge:61 - Cache provider: net.sf.ehcache.hibernate.SingletonEhCacheProvider
 14/03/2011 13:36:49  INFO  SettingsFactory:267 - Optimize cache for minimal puts: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:276 - Structured second-level cache entries: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:361 - Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
 14/03/2011 13:36:49  INFO  SettingsFactory:296 - Echoing all SQL to stdout
 14/03/2011 13:36:49  INFO  SettingsFactory:305 - Statistics: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:309 - Deleted entity synthetic identifier rollback: disabled
 14/03/2011 13:36:49  INFO  SettingsFactory:324 - Default entity-mode: pojo
 14/03/2011 13:36:49  INFO  SettingsFactory:328 - Named query checking : enabled
 14/03/2011 13:36:49  INFO  SessionFactoryImpl:193 - building session factory
 14/03/2011 13:36:50  INFO  SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
 14/03/2011 13:36:50  INFO  UpdateTimestampsCache:57 - starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
 14/03/2011 13:36:50  WARN  SingletonEhCacheProvider:91 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
 14/03/2011 13:36:50  INFO  StandardQueryCache:75 - starting query cache at region: org.hibernate.cache.StandardQueryCache
 14/03/2011 13:36:50  WARN  SingletonEhCacheProvider:91 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.StandardQueryCache]; using defaults.
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler#0' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean 'org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean 'org.springframework.security.methodSecurityMetadataSourceAdvisor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  XmlWebApplicationContext:1261 - Bean 'org.springframework.transaction.config.internalTransactionAdvisor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:50  INFO  DefaultListableBeanFactory:532 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@d5a2a9: defining beans [groupeDao,userGroupeDao,utilisateurDao,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,project-properties,dataSource,jdbcTemplate,entityManagerFactory,transactionManager,connexion,sessionFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,jpaProperties,jpaVendorAdapter,openEntityManagerInViewInterceptor,org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler#0,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,loggerListener,org.springframework.security.provisioning.JdbcUserDetailsManager#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint#0,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0,org.springframework.security.config.http.UserDetailsServiceInjectionBeanPostProcessor#0,org.springframework.security.filterChainProxy]; root of factory hierarchy
 14/03/2011 13:36:51  INFO  MethodSecurityInterceptor:157 - Validated configuration attributes
 14/03/2011 13:36:51  INFO  JdbcUserDetailsManager:131 - No authentication manager set. Reauthentication of users when changing passwords will not be performed.
 14/03/2011 13:36:51  INFO  FilterSecurityInterceptor:157 - Validated configuration attributes
 14/03/2011 13:36:51  INFO  ContextLoader:202 - Root WebApplicationContext: initialization completed in 8580 ms
 14/03/2011 13:36:51  INFO  CacheManager:67 - Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
 14/03/2011 13:36:51  INFO  LRUMapCacheFactory:44 - Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=enable, facelets.BUILD_BEFORE_RESTORE=true, org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, org.richfaces.SKIN=classic, org.apache.myfaces.USE_ENCRYPTION=false, com.sun.faces.validateXml=true, org.apache.myfaces.SERIAL_FACTORY=projet.performance.JBossSerialFactory, facelets.SKIP_COMMENTS=true, com.sun.faces.verifyObjects=true, contextConfigLocation=classpath:applicationContext.xml,
			classpath:security-context.xml, javax.faces.DEFAULT_SUFFIX=.xhtml}
 14/03/2011 13:36:51  INFO  LRUMapCacheFactory:48 - Creating LRUMap cache instance of default capacity
 14/03/2011 13:36:51  INFO  CacheManager:67 - Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory
 14/03/2011 13:36:51  INFO  LRUMapCacheFactory:44 - Creating LRUMap cache instance using parameters: {facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=enable, facelets.BUILD_BEFORE_RESTORE=true, org.ajax4jsf.VIEW_HANDLERS=com.sun.facelets.FaceletViewHandler, org.richfaces.SKIN=classic, org.apache.myfaces.USE_ENCRYPTION=false, com.sun.faces.validateXml=true, org.apache.myfaces.SERIAL_FACTORY=projet.performance.JBossSerialFactory, facelets.SKIP_COMMENTS=true, com.sun.faces.verifyObjects=true, contextConfigLocation=classpath:applicationContext.xml,
			classpath:security-context.xml, javax.faces.DEFAULT_SUFFIX=.xhtml}
 14/03/2011 13:36:51  INFO  LRUMapCacheFactory:48 - Creating LRUMap cache instance of default capacity
14 mars 2011 13:36:52 org.apache.coyote.http11.Http11Protocol start
INFO: D�marrage de Coyote HTTP/1.1 sur http-8080
14 mars 2011 13:36:52 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
14 mars 2011 13:36:52 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/79  config=null
14 mars 2011 13:36:52 org.apache.catalina.startup.Catalina start
INFO: Server startup in 18166 ms
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true
 14/03/2011 13:36:54  INFO  MyfacesConfig:256 - No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
 14/03/2011 13:36:54  INFO  MyfacesConfig:277 - No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
 14/03/2011 13:36:54  INFO  MyfacesConfig:277 - No context init parameter 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value /faces/myFacesExtensionResource
 14/03/2011 13:36:54  INFO  MyfacesConfig:231 - No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
 14/03/2011 13:36:54  INFO  MyfacesConfig:213 - Starting up Tomahawk on the MyFaces-JSF-Implementation
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-core.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-html.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-ui.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-core.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jstl-fn.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/a4j.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/rich.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/jsp.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/richfaces.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/richfaces-ui-3.3.3.Final.jar!/META-INF/ajax4jsf.taglib.xml
14 mars 2011 13:36:55 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
INFO: Added Library from: jar:file:/D:/Profils/projet//WEB-INF/lib/tomahawk-1.1.9.jar!/META-INF/tomahawk.taglib.xml
14 mars 2011 13:36:56 org.apache.catalina.core.ApplicationContext log
INFO: No state saving method defined, assuming default server state saving
 14/03/2011 13:36:56  INFO  ClassPathXmlApplicationContext:447 - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@582dcc: startup date [Mon Mar 14 13:36:56 CET 2011]; root of context hierarchy
 14/03/2011 13:36:56  INFO  XmlBeanDefinitionReader:315 - Loading XML bean definitions from class path resource [applicationContext.xml]
 14/03/2011 13:36:56  INFO  PropertyPlaceholderConfigurer:177 - Loading properties file from URL [file:/D:/Profils/projet//WEB-INF/classes/database_mysql.properties]
 14/03/2011 13:36:56  INFO  DriverManagerDataSource:153 - Loaded JDBC driver: com.mysql.jdbc.Driver
 14/03/2011 13:36:56  INFO  ClassPathXmlApplicationContext:1261 - Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:56  INFO  ClassPathXmlApplicationContext:1261 - Bean 'jpaVendorAdapter' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:56  INFO  ClassPathXmlApplicationContext:1261 - Bean '${jpa.dialect}#1bc3ae7' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:56  INFO  ClassPathXmlApplicationContext:1261 - Bean 'jpaProperties' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:56  INFO  ClassPathXmlApplicationContext:1261 - Bean 'jpaProperties' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:56  INFO  LocalContainerEntityManagerFactoryBean:221 - Building JPA container EntityManagerFactory for persistence unit 'jpa'
 14/03/2011 13:36:56  INFO  AnnotationBinder:419 - Binding entity from annotated class: projet.domain.Utilisateur
 14/03/2011 13:36:56  INFO  EntityBinder:422 - Bind entity projet.domain.Utilisateur on table user
 14/03/2011 13:36:56  INFO  AnnotationBinder:419 - Binding entity from annotated class: projet.domain.Groupe
 14/03/2011 13:36:56  INFO  EntityBinder:422 - Bind entity projet.domain.Groupe on table groupe
 14/03/2011 13:36:56  INFO  AnnotationBinder:419 - Binding entity from annotated class: projet.domain.UserGroupe
 14/03/2011 13:36:56  INFO  EntityBinder:422 - Bind entity projet.domain.UserGroupe on table user_groupe
 14/03/2011 13:36:56  INFO  CollectionBinder:650 - Mapping collection: projet.domain.Groupe.tachesDeReference -> ref_taches
 14/03/2011 13:36:56  INFO  HibernateSearchEventListenerRegister:53 - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
 14/03/2011 13:36:56  INFO  ConnectionProviderFactory:95 - Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
 14/03/2011 13:36:56  INFO  InjectedDataSourceConnectionProvider:37 - Using provided datasource
 14/03/2011 13:36:56  INFO  SettingsFactory:114 - RDBMS: MySQL, version: 5.1.51-community
 14/03/2011 13:36:56  INFO  SettingsFactory:115 - JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.10 ( Revision: ${svn.Revision} )
 14/03/2011 13:36:56  INFO  Dialect:175 - Using dialect: org.hibernate.dialect.MySQLDialect
 14/03/2011 13:36:56  INFO  TransactionFactoryFactory:62 - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
 14/03/2011 13:36:56  INFO  TransactionManagerLookupFactory:80 - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
 14/03/2011 13:36:56  INFO  SettingsFactory:161 - Automatic flush during beforeCompletion(): disabled
 14/03/2011 13:36:56  INFO  SettingsFactory:165 - Automatic session close at end of transaction: disabled
 14/03/2011 13:36:56  INFO  SettingsFactory:172 - JDBC batch size: 15
 14/03/2011 13:36:56  INFO  SettingsFactory:175 - JDBC batch updates for versioned data: disabled
 14/03/2011 13:36:56  INFO  SettingsFactory:180 - Scrollable result sets: enabled
 14/03/2011 13:36:56  INFO  SettingsFactory:188 - JDBC3 getGeneratedKeys(): enabled
 14/03/2011 13:36:56  INFO  SettingsFactory:196 - Connection release mode: after_transaction
 14/03/2011 13:36:56  INFO  SettingsFactory:220 - Maximum outer join fetch depth: 2
 14/03/2011 13:36:56  INFO  SettingsFactory:223 - Default batch fetch size: 1
 14/03/2011 13:36:56  INFO  SettingsFactory:227 - Generate SQL with comments: disabled
 14/03/2011 13:36:56  INFO  SettingsFactory:231 - Order SQL updates by primary key: disabled
 14/03/2011 13:36:56  INFO  SettingsFactory:235 - Order SQL inserts for batching: disabled
 14/03/2011 13:36:56  INFO  SettingsFactory:397 - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
 14/03/2011 13:36:56  INFO  ASTQueryTranslatorFactory:47 - Using ASTQueryTranslatorFactory
 14/03/2011 13:36:57  INFO  SettingsFactory:243 - Query language substitutions: {}
 14/03/2011 13:36:57  INFO  SettingsFactory:248 - JPA-QL strict compliance: enabled
 14/03/2011 13:36:57  INFO  SettingsFactory:253 - Second-level cache: enabled
 14/03/2011 13:36:57  INFO  SettingsFactory:257 - Query cache: enabled
 14/03/2011 13:36:57  INFO  SettingsFactory:382 - Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
 14/03/2011 13:36:57  INFO  RegionFactoryCacheProviderBridge:61 - Cache provider: net.sf.ehcache.hibernate.SingletonEhCacheProvider
 14/03/2011 13:36:57  INFO  SettingsFactory:267 - Optimize cache for minimal puts: disabled
 14/03/2011 13:36:57  INFO  SettingsFactory:276 - Structured second-level cache entries: disabled
 14/03/2011 13:36:57  INFO  SettingsFactory:361 - Query cache factory: org.hibernate.cache.StandardQueryCacheFactory
 14/03/2011 13:36:57  INFO  SettingsFactory:296 - Echoing all SQL to stdout
 14/03/2011 13:36:57  INFO  SettingsFactory:305 - Statistics: disabled
 14/03/2011 13:36:57  INFO  SettingsFactory:309 - Deleted entity synthetic identifier rollback: disabled
 14/03/2011 13:36:57  INFO  SettingsFactory:324 - Default entity-mode: pojo
 14/03/2011 13:36:57  INFO  SettingsFactory:328 - Named query checking : enabled
 14/03/2011 13:36:57  INFO  SessionFactoryImpl:193 - building session factory
 14/03/2011 13:36:57  INFO  SessionFactoryObjectFactory:105 - Not binding factory to JNDI, no JNDI name configured
 14/03/2011 13:36:57  INFO  UpdateTimestampsCache:57 - starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
 14/03/2011 13:36:57  INFO  StandardQueryCache:75 - starting query cache at region: org.hibernate.cache.StandardQueryCache
 14/03/2011 13:36:57  INFO  ClassPathXmlApplicationContext:1261 - Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
 14/03/2011 13:36:57  INFO  DefaultListableBeanFactory:532 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@bf47df: defining beans [groupeDao,histoStatutTacheDao,historiqueTacheDao,mailDao,parametrageWorkflowDao,parametreDao,resumeDao,statutTacheDao,tacheDeReferenceDao,userGroupeDao,utilisateurDao,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,project-properties,dataSource,jdbcTemplate,entityManagerFactory,transactionManager,connexion,sessionFactory,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,jpaProperties,jpaVendorAdapter,openEntityManagerInViewInterceptor]; root of factory hierarchy
false
 14/03/2011 13:36:57 ERROR  _ErrorPageWriter:460 - An exception occurred
javax.faces.FacesException: Error calling action method of component with id j_id7:valider_btn
	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
	at javax.faces.component.UICommand.broadcast(UICommand.java:141)
	at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
	at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
	at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
	at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:344)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:110)
	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:98)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:95)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:79)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:55)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:36)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:178)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:188)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:356)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:150)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:662)
Caused by: javax.faces.el.EvaluationException: javax.el.ELException: /connexion.xhtml @34,95 action="#{connexion.connecter}": javax.persistence.PersistenceException: org.hibernate.SessionException: Session is closed!
	at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:82)
	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
	... 59 more
Caused by: javax.el.ELException: /connexion.xhtml @34,95 action="#{connexion.connecter}": javax.persistence.PersistenceException: org.hibernate.SessionException: Session is closed!
	at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:74)
	at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:78)
	... 60 more
Caused by: javax.persistence.PersistenceException: org.hibernate.SessionException: Session is closed!
 
Caused by: org.hibernate.SessionException: Session is closed!
	at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:72)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1138)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
	at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67)
	... 69 more
tout parait bien sauf la ligne :

Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)


Merci d'avance