IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Spring Java Discussion :

Problème sessionFactory.getCurrentSession Spring


Sujet :

Spring Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre habitué
    Homme Profil pro
    Intégrateur Web
    Inscrit en
    Avril 2013
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Intégrateur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Avril 2013
    Messages : 10
    Par défaut Problème sessionFactory.getCurrentSession Spring
    j'ai un problème dans mon projet fin d'étude, j'ai reglé mon fichier de configuration de Spring (applicationContext.xml) et tous marche bien avec ce fichier, mais mon problème est dans la session qui se charge pas, sessionFactory.getCurrentSession ne marche pas: voici l'explication de mon existant:
    applicationContext.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
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:context="http://www.springframework.org/schema/context"
     xmlns:tx="http://www.springframework.org/schema/tx"
     xsi:schemaLocation="http://www.springframework.org/schema/beans
    <a href="http://www.springframework.org/schema/beans/spring-beans.xsd" target="_blank">http://www.springframework.org/schem...ring-beans.xsd</a>
      <a href="http://www.springframework.org/schema/tx" target="_blank">http://www.springframework.org/schema/tx</a>
    <a href="http://www.springframework.org/schema/tx/spring-tx-2.5.xsd" target="_blank">http://www.springframework.org/schem...ing-tx-2.5.xsd</a>
      <a href="http://www.springframework.org/schema/context" target="_blank">http://www.springframework.org/schema/context</a>
    http://www.springframework.org/schema/context/spring-context-2.5.xsd">
     
     
     <!-- Paramètres de connexion à la BD : Data Source-->
     <bean id="dataSource"
    class="org.springframework.jdbc.datasource.DriverManagerDataSource">
     <property name="driverClassName" value="oracle.jdbc.OracleDriver"/>
     <property name="url" value="jdbc:oracle:thin:@localhost:1521:XE"/>
     <property name="username" value="eduserv" />
     <property name="password" value="eduserv" />
      </bean>
     
      <!-- Paramètres d'Hibernate: Session Factory -->
    <bean id="mySessionFactory" 
       class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
     
        <property name="dataSource"  ref="dataSource"/>
     
        <property name="hibernateProperties">
           <props>
             <prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
             <prop key="hibernate.show_sql">true</prop>
             <prop key="hibernate.default_schema">EDUSERV</prop>         
           </props>
        </property>
     
        <property name="annotatedClasses">
     <list>
              <value>com.cnte.eduserv.persistance.Adresse</value>
              <value>com.cnte.eduserv.persistance.Classe</value>
              <value>com.cnte.eduserv.persistance.Comens</value>
              <value>com.cnte.eduserv.persistance.ComensId</value>
              <value>com.cnte.eduserv.persistance.Comp</value>
              <value>com.cnte.eduserv.persistance.Dateentree</value>
              <value>com.cnte.eduserv.persistance.DateentreeId</value>
              <value>com.cnte.eduserv.persistance.Diplom</value>
              <value>com.cnte.eduserv.persistance.Eleve</value>
              <value>com.cnte.eduserv.persistance.Enseignant</value>
              <value>com.cnte.eduserv.persistance.Etablissemen</value>
              <value>com.cnte.eduserv.persistance.Gouver</value>
              <value>com.cnte.eduserv.persistance.Gsm</value>
              <value>com.cnte.eduserv.persistance.Matier</value>
              <value>com.cnte.eduserv.persistance.Membre</value>
              <value>com.cnte.eduserv.persistance.Newsetab</value>
              <value>com.cnte.eduserv.persistance.Nationpers</value>
              <value>com.cnte.eduserv.persistance.Parent</value>
              <value>com.cnte.eduserv.persistance.Sexepers</value>
              <value>com.cnte.eduserv.persistance.Situfam</value>
              <value>com.cnte.eduserv.persistance.Suivielev</value>
              <value>com.cnte.eduserv.persistance.Trimestre</value>
              <value>com.cnte.eduserv.persistance.Typeetabli</value>
     
     </list>
        </property> 
    </bean>
     
    <!-- Paramètres de gestion  de transaction -->
    <bean id="transactionManager"
    class="org.springframework.orm.hibernate3.HibernateTransactionManager"> 
     <property name="sessionFactory" ref="mySessionFactory" /> 
    </bean>
     
    <!-- Configuration des annotations -->
    <tx:annotation-driven transaction-manager="transactionManager"/>
      <context:annotation-config />
    <context:component-scan base-package="com.cnte.eduserv" />
     
    <!-- declaration des DAO -->
    <bean id="AdresseHome" class="com.cnte.eduserv.dao.AdresseHome">
      <property name="factory" ref="mySessionFactory"></property>
    </bean>
     
     
     
    <!-- Declaration des classes Services -->
     
     
     
     
    </beans>
    adresseHome.java :
    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
    package com.cnte.eduserv.dao;
     
    // Generated 3 avr. 2013 12:06:50 by Hibernate Tools 3.4.0.CR1
     
    import java.util.List;
    import javax.naming.InitialContext;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.hibernate.LockMode;
    import org.hibernate.SessionFactory;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.stereotype.Repository;
    import org.springframework.stereotype.Service;
    import org.springframework.transaction.annotation.Transactional;
     
    import com.cnte.eduserv.persistance.Adresse;
     
    import static org.hibernate.criterion.Example.create;
     
    /**
     * Home object for domain model class Adresse.
     * @see com.cnte.dao.Adresse
     * @author Hibernate Tools
     */
    @Service("AdresseHome")
     
    @Transactional
     public class AdresseHome {
    	public String essey (){
    		return "succes";
    	}
     
    	private static final Log log = LogFactory.getLog(AdresseHome.class);
    	@Autowired
    	private SessionFactory factory ;
     
    	public SessionFactory getSessionFactory() {
    	 return factory; 
    	}
    	public void setSessionFactory(SessionFactory factory) {
    	 this.factory = factory;
    	}
     
    	/*public void persist(Adresse transientInstance) {
    		log.debug("persisting Adresse instance");
    		try {
    			sessionFactory.getCurrentSession().persist(transientInstance);
    		log.debug("persist successful");
    		} catch (RuntimeException re) {
    			log.error("persist failed", re);
    			throw re;
    		}
    	}
     
    	public void attachDirty(Adresse instance) {
    	log.debug("attaching dirty Adresse instance");
    		try {
    			sessionFactory.getCurrentSession().saveOrUpdate(instance);
    			log.debug("attach successful");
    		} catch (RuntimeException re) {
    			log.error("attach failed", re);
    			throw re;
    		}
    	}
     
    	public void attachClean(Adresse instance) {
    		log.debug("attaching clean Adresse instance");
    		try {
    			sessionFactory.getCurrentSession().lock(instance, LockMode.NONE);
    			log.debug("attach successful");
    		} catch (RuntimeException re) {
    			log.error("attach failed", re);
    			throw re;
    		}
    	}
     
    	public void delete(Adresse persistentInstance) {
    		log.debug("deleting Adresse instance");
    		try {
    			sessionFactory.getCurrentSession().delete(persistentInstance);
    			log.debug("delete successful");
    		} catch (RuntimeException re) {
    			log.error("delete failed", re);
    			throw re;
    		}
    	}
     
    	public Adresse merge(Adresse detachedInstance) {
    		log.debug("merging Adresse instance");
    		try {
    			Adresse result = (Adresse) sessionFactory.getCurrentSession()
    					.merge(detachedInstance);
    			log.debug("merge successful");
    			return result;
    		} catch (RuntimeException re) {
    			log.error("merge failed", re);
    			throw re;
    		}
    	}*/
     
    	public Adresse findById(long id) {
    		log.debug("getting Adresse instance with id: " + id);
    	//	try {
    			Adresse instance = (Adresse) factory.getCurrentSession()
    					.get("com.cnte.eduserv.dao.Adresse", id);
    			if (instance == null) {
    				log.debug("get successful, no instance found");
    			} else {
    				log.debug("get successful, instance found");
    			}
    			return instance;
    		//} catch (RuntimeException re) {
    		//	log.error("get failed", re);
    		//	throw re;
    		//}
    	}
     
    	public List<Adresse> findByExample(Adresse instance) {
    		log.debug("finding Adresse instance by example");
    		try {
    			List<Adresse> results = (List<Adresse>) factory
    					.getCurrentSession().createCriteria("com.cnte.dao.Adresse")
    					.add(create(instance)).list();
    			log.debug("find by example successful, result size: "
    					+ results.size());
    			return results;
    		} catch (RuntimeException re) {
    			log.error("find by example failed", re);
    			throw re;
    		}
    	}
    	public List<Adresse> findAll(){
    		System.out.println("la liste");
    		 log.debug("finding Livre instance by example");
    		 try {
    		  List<Adresse> results = (List<Adresse>) getSessionFactory()
    		    .getCurrentSession()
    		    .createCriteria(Adresse.class)
    		    .list();
    		  log.debug("find by example successful, result size: "
    		    + results.size());
    		  return results;
    		 } catch (RuntimeException re) {
    		  log.error("find-all failed", re);
    		  throw re;
    		 }
    }
    }
    Toute autre composant comme JSP, bean ou service sont simples
    jsp: <h:dataTable var="adresse" value="#{adresseBean.listAdresses}"> ....
    adresseBean: public List<Adresse> getListAdresses() {
    AdresseService AdresseService = new AdresseService();
    List<Adresse> listAdresses = AdresseService.getListAdresse();
    return listAdresses;
    AdresseService:public List<Adresse> getListAdresse(){
    System.out.println("la liste");
    AdresseHome a= new AdresseHome() ;
    return a.findAll();

    erreur :
    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
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    avr. 16, 2013 1:48:23 PM org.apache.catalina.core.AprLifecycleListener init
    Infos: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\PROGRAM FILES\AMD APP\BIN\X86;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\ATI TECHNOLOGIES\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES\INTEL\WIFI\BIN\;C:\PROGRAM FILES\COMMON FILES\INTEL\WIRELESSCOMMON\;C:\Program Files\Windows Live\Shared;C:\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\common;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Amine\Desktop\eclipse;;.
    avr. 16, 2013 1:48:23 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    Avertissement: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:eduserv' did not find a matching property.
    avr. 16, 2013 1:48:23 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["http-bio-8687"]
    avr. 16, 2013 1:48:23 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["ajp-bio-8011"]
    avr. 16, 2013 1:48:23 PM org.apache.catalina.startup.Catalina load
    Infos: Initialization processed in 834 ms
    avr. 16, 2013 1:48:23 PM org.apache.catalina.core.StandardService startInternal
    Infos: Démarrage du service Catalina
    avr. 16, 2013 1:48:23 PM org.apache.catalina.core.StandardEngine startInternal
    Infos: Starting Servlet Engine: Apache Tomcat/7.0.32
    avr. 16, 2013 1:48:28 PM org.apache.catalina.core.StandardContext addApplicationListener
    Infos: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
    avr. 16, 2013 1:48:28 PM com.sun.faces.config.ConfigureListener contextInitialized
    Infos: Initialisation de Mojarra 2.0.2 (FCS b10) pour le contexte '/eduserv'
    avr. 16, 2013 1:48:29 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    Infos: JSF1048 : Présence d''annotations PostConstruct/PreDestroy  Les méthodes de beans gérés marquées avec ces annotations auront des annotations dites traitées.
    avr. 16, 2013 1:48:30 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
    Infos: Running on PrimeFaces 3.5
    avr. 16, 2013 1:48:30 PM org.apache.catalina.core.ApplicationContext log
    Infos: Initializing Spring root WebApplicationContext
    avr. 16, 2013 1:48:30 PM org.springframework.web.context.ContextLoader initWebApplicationContext
    Infos: Root WebApplicationContext: initialization started
    avr. 16, 2013 1:48:30 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
    Infos: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@7d7f4d: display name [Root WebApplicationContext]; startup date [Tue Apr 16 13:48:30 CEST 2013]; root of context hierarchy
    avr. 16, 2013 1:48:30 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
    Infos: Loading XML bean definitions from file [C:\Users\Amine\workspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\eduserv\WEB-INF\classes\applicationContext.xml]
    avr. 16, 2013 1:48:30 PM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
    Infos: Overriding bean definition for bean 'AdresseHome': replacing [Generic bean: class [com.cnte.eduserv.dao.AdresseHome]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [com.cnte.eduserv.dao.AdresseHome]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\Amine\workspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\eduserv\WEB-INF\classes\applicationContext.xml]]
    avr. 16, 2013 1:48:30 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
    Infos: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@7d7f4d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@13c1b83
    avr. 16, 2013 1:48:31 PM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
    Infos: Loaded JDBC driver: oracle.jdbc.OracleDriver
    avr. 16, 2013 1:48:31 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.Version <clinit>
    Infos: Hibernate Annotations 3.3.0.GA
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.Environment <clinit>
    Infos: Hibernate 3.2.5
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.Environment <clinit>
    Infos: hibernate.properties not found
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.Environment buildBytecodeProvider
    Infos: Bytecode provider name : cglib
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.Environment <clinit>
    Infos: using JDK 1.4 java.sql.Timestamp handling
    avr. 16, 2013 1:48:31 PM org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
    Infos: Building new Hibernate SessionFactory
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Adresse
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Adresse on table ADRESSE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Classe
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Classe on table CLASSE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Comens
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Comens on table COMENS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Comp
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Comp on table COMP
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Dateentree
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Dateentree on table DATEENTREE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Diplom
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Diplom on table DIPLOM
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Eleve
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Eleve on table ELEVE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Enseignant
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Enseignant on table ENSEIGNANT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Etablissemen
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Etablissemen on table ETABLISSEMEN
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Gouver
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Gouver on table GOUVER
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Gsm
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Gsm on table GSM
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Matier
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Matier on table MATIER
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Membre
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Membre on table MEMBRE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Newsetab
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Newsetab on table NEWSETAB
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Nationpers
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Nationpers on table NATIONPERS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Parent
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Parent on table PARENT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Sexepers
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Sexepers on table SEXEPERS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Situfam
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Situfam on table SITUFAM
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Suivielev
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Suivielev on table SUIVIELEV
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Trimestre
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Trimestre on table TRIMESTRE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Typeetabli
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Typeetabli on table TYPEETABLI
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Classe.comenses -> COMENS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Classe.suivielevs -> SUIVIELEV
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Comp.comenses -> COMENS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Comp.suivielevs -> SUIVIELEV
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.dateentrees -> DATEENTREE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.gsms -> GSM
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.membres -> MEMBRE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.suivielevs -> SUIVIELEV
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.comenses -> COMENS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.gsms -> GSM
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.membres -> MEMBRE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.classes -> CLASSE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.dateentrees -> DATEENTREE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.membres -> MEMBRE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.newsetabs -> NEWSETAB
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Gouver.adresses -> ADRESSE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Gouver.etablissemens -> ETABLISSEMEN
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Matier.comenses -> COMENS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Matier.suivielevs -> SUIVIELEV
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.eleves -> ELEVE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.enseignants -> ENSEIGNANT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.etablissemens -> ETABLISSEMEN
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.parents -> PARENT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.elevesForIdparent -> ELEVE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.elevesForParIdparent -> ELEVE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.gsms -> GSM
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.membres -> MEMBRE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.eleves -> ELEVE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.enseignants -> ENSEIGNANT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.parents -> PARENT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.eleves -> ELEVE
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.enseignants -> ENSEIGNANT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.parents -> PARENT
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Trimestre.comenses -> COMENS
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Trimestre.suivielevs -> SUIVIELEV
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Typeetabli.etablissemens -> ETABLISSEMEN
    avr. 16, 2013 1:48:31 PM org.hibernate.cfg.AnnotationConfiguration secondPassCompile
    Infos: Hibernate Validator not found: ignoring
    avr. 16, 2013 1:48:31 PM org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
    Infos: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
    avr. 16, 2013 1:48:32 PM org.hibernate.dialect.Dialect <init>
    Infos: Using dialect: org.hibernate.dialect.Oracle10gDialect
    avr. 16, 2013 1:48:32 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    Infos: Using default transaction strategy (direct JDBC transactions)
    avr. 16, 2013 1:48:32 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    Infos: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Automatic flush during beforeCompletion(): disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Automatic session close at end of transaction: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC batch size: 15
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC batch updates for versioned data: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Scrollable result sets: enabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC3 getGeneratedKeys(): disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Connection release mode: on_close
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default schema: EDUSERV
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default batch fetch size: 1
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Generate SQL with comments: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Order SQL updates by primary key: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Order SQL inserts for batching: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    Infos: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    avr. 16, 2013 1:48:32 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    Infos: Using ASTQueryTranslatorFactory
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Query language substitutions: {}
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JPA-QL strict compliance: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Second-level cache: enabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Query cache: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory createCacheProvider
    Infos: Cache provider: org.hibernate.cache.NoCacheProvider
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Optimize cache for minimal puts: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Structured second-level cache entries: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Echoing all SQL to stdout
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Statistics: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Deleted entity synthetic identifier rollback: disabled
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default entity-mode: pojo
    avr. 16, 2013 1:48:32 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Named query checking : enabled
    avr. 16, 2013 1:48:32 PM org.hibernate.impl.SessionFactoryImpl <init>
    Infos: building session factory
    avr. 16, 2013 1:48:32 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
    Infos: Not binding factory to JNDI, no JNDI name configured
    avr. 16, 2013 1:48:32 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'sessionFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 1:48:32 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'sessionFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 1:48:32 PM org.springframework.orm.hibernate3.HibernateTransactionManager afterPropertiesSet
    Infos: Using DataSource [org.springframework.jdbc.datasource.DriverManagerDataSource@c70ebb] of Hibernate SessionFactory for HibernateTransactionManager
    avr. 16, 2013 1:48:32 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'transactionManager' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 1:48:32 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 1:48:32 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 1:48:32 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'org.springframework.transaction.config.internalTransactionAdvisor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 1:48:32 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
    Infos: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@13c1b83: defining beans [dataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,AdresseHome]; root of factory hierarchy
    avr. 16, 2013 1:48:33 PM org.springframework.web.context.ContextLoader initWebApplicationContext
    Infos: Root WebApplicationContext: initialization completed in 2800 ms
    avr. 16, 2013 1:48:33 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["http-bio-8687"]
    avr. 16, 2013 1:48:33 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["ajp-bio-8011"]
    avr. 16, 2013 1:48:33 PM org.apache.catalina.startup.Catalina start
    Infos: Server startup in 9236 ms
    la liste
    la liste
    avr. 16, 2013 1:48:35 PM com.cnte.eduserv.dao.AdresseHome findAll
    Grave: find-all failed
    java.lang.NullPointerException
    	at com.cnte.eduserv.dao.AdresseHome.findAll(AdresseHome.java:137)
    	at com.cnte.eduserv.services.AdresseService.getListAdresse(AdresseService.java:20)
    	at com.cnte.eduserv.bean.AdresseBean.getListAdresses(AdresseBean.java:16)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
    	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
    	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    	at org.apache.el.parser.AstValue.getValue(AstValue.java:183)
    	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
    	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:102)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178)
    	at javax.faces.component.UIData.getValue(UIData.java:554)
    	at javax.faces.component.UIData.getDataModel(UIData.java:1248)
    	at javax.faces.component.UIData.setRowIndex(UIData.java:447)
    	at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:81)
    	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
    	at javax.faces.component.UIData.encodeBegin(UIData.java:937)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
    	at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
    	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
    	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
    	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
     
    avr. 16, 2013 1:48:35 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
    Grave: Error Rendering View[/pages/essey.xhtml]
    javax.el.ELException: /pages/essey.xhtml @12,68 value="#{adresseBean.listAdresses}": Error reading 'listAdresses' on type com.cnte.eduserv.bean.AdresseBean
    	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:107)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178)
    	at javax.faces.component.UIData.getValue(UIData.java:554)
    	at javax.faces.component.UIData.getDataModel(UIData.java:1248)
    	at javax.faces.component.UIData.setRowIndex(UIData.java:447)
    	at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:81)
    	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
    	at javax.faces.component.UIData.encodeBegin(UIData.java:937)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
    	at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
    	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
    	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
    	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    	at com.cnte.eduserv.dao.AdresseHome.findAll(AdresseHome.java:137)
    	at com.cnte.eduserv.services.AdresseService.getListAdresse(AdresseService.java:20)
    	at com.cnte.eduserv.bean.AdresseBean.getListAdresses(AdresseBean.java:16)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
    	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
    	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    	at org.apache.el.parser.AstValue.getValue(AstValue.java:183)
    	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
    	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:102)
    	... 35 more
     
    avr. 16, 2013 1:48:35 PM org.apache.catalina.core.StandardWrapperValve invoke
    Grave: Servlet.service() for servlet [Faces Servlet] in context with path [/eduserv] threw exception [null] with root cause
    java.lang.NullPointerException
    	at com.cnte.eduserv.dao.AdresseHome.findAll(AdresseHome.java:137)
    	at com.cnte.eduserv.services.AdresseService.getListAdresse(AdresseService.java:20)
    	at com.cnte.eduserv.bean.AdresseBean.getListAdresses(AdresseBean.java:16)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
    	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
    	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    	at org.apache.el.parser.AstValue.getValue(AstValue.java:183)
    	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
    	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:102)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178)
    	at javax.faces.component.UIData.getValue(UIData.java:554)
    	at javax.faces.component.UIData.getDataModel(UIData.java:1248)
    	at javax.faces.component.UIData.setRowIndex(UIData.java:447)
    	at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:81)
    	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
    	at javax.faces.component.UIData.encodeBegin(UIData.java:937)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
    	at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
    	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
    	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
    	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    Je vous remercie, j’espère me aider

  2. #2
    Membre Expert
    Profil pro
    Inscrit en
    Août 2006
    Messages
    3 276
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 3 276
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    AdresseHome a= new AdresseHome() ;
    Quand tu écris ça, tu crées une nouvelle instance de ton objet, sans passer par le context Spring, et donc les propriétés comme ta sessionFactory ne seront pas injectés dans cet objet.

    Donc soit tu récupères ton objet dans le context Spring par son id, soit tu l'injectes dans un autre objet géré par Spring.

    C'est plus clair ?

  3. #3
    Membre habitué
    Homme Profil pro
    Intégrateur Web
    Inscrit en
    Avril 2013
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Intégrateur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Avril 2013
    Messages : 10
    Par défaut
    Citation Envoyé par fr1man Voir le message
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    AdresseHome a= new AdresseHome() ;
    Quand tu écris ça, tu crées une nouvelle instance de ton objet, sans passer par le context Spring, et donc les propriétés comme ta sessionFactory ne seront pas injectés dans cet objet.

    Donc soit tu récupères ton objet dans le context Spring par son id, soit tu l'injectes dans un autre objet géré par Spring.

    C'est plus clair ?
    j'ai tous compris, je suis débutant et je vais essayer d'appliquer ce que vous me dit, merci bien, je vais vous informer de toutes nouvelle

  4. #4
    Membre habitué
    Homme Profil pro
    Intégrateur Web
    Inscrit en
    Avril 2013
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Intégrateur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Avril 2013
    Messages : 10
    Par défaut
    j'ai changer comme vous avez indiquer, vu qu’il y a une dépendance déclaré dans le fichier« applicationContext.xml » entre les classes DAO et Service, alors il suffit de déclarer le DAO comme attribut d’instance (avec getter/setter). Spring prendra la charge d’instancier l’objet DAO de gérer son cycle de vie. De même les transactions seront gérées par Spring. j'ai fait comme suit:
    code:
    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 class AdresseService {
     
       private AdresseHome AdresseDAO ;
        
       /**
     * @return the adresseDAO
     */
    public AdresseHome getAdresseDAO() {
    	return AdresseDAO;
    }
    
    /**
     * @param adresseDAO the adresseDAO to set
     */
    public void setAdresseDAO(AdresseHome adresseDAO) {
    	AdresseDAO = adresseDAO;
    }
    
    public List<Adresse> getListAdresse(){
    	   System.out.println("la liste");
       
        return getAdresseDAO().findAll(); //java.lang.NullPointerException
        
       }
    mais le problème que qu'il accède même pas le DAO maintenant. grand problème depuis une semaine
    trace d’erreurs:
    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
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    
    avr. 16, 2013 3:57:17 PM org.apache.catalina.core.AprLifecycleListener init
    Infos: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\bin\x11;C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\PROGRAM FILES\AMD APP\BIN\X86;C:\Windows\SYSTEM32;C:\Windows;C:\Windows\SYSTEM32\WBEM;C:\Windows\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES\ATI TECHNOLOGIES\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES\INTEL\WIFI\BIN\;C:\PROGRAM FILES\COMMON FILES\INTEL\WIRELESSCOMMON\;C:\Program Files\Windows Live\Shared;C:\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin;C:\Program Files\Rational\ClearQuest;C:\Program Files\Rational\common;C:\Program Files\Rational\Rose\TopLink\;C:\Program Files\Rational\Rational Test;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\Amine\Desktop\eclipse;;.
    avr. 16, 2013 3:57:18 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    Avertissement: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:eduserv' did not find a matching property.
    avr. 16, 2013 3:57:18 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["http-bio-8687"]
    avr. 16, 2013 3:57:18 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["ajp-bio-8011"]
    avr. 16, 2013 3:57:18 PM org.apache.catalina.startup.Catalina load
    Infos: Initialization processed in 696 ms
    avr. 16, 2013 3:57:18 PM org.apache.catalina.core.StandardService startInternal
    Infos: Démarrage du service Catalina
    avr. 16, 2013 3:57:18 PM org.apache.catalina.core.StandardEngine startInternal
    Infos: Starting Servlet Engine: Apache Tomcat/7.0.32
    avr. 16, 2013 3:57:22 PM org.apache.catalina.core.StandardContext addApplicationListener
    Infos: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
    avr. 16, 2013 3:57:22 PM com.sun.faces.config.ConfigureListener contextInitialized
    Infos: Initialisation de Mojarra 2.0.2 (FCS b10) pour le contexte '/eduserv'
    avr. 16, 2013 3:57:23 PM com.sun.faces.spi.InjectionProviderFactory createInstance
    Infos: JSF1048 : Présence d''annotations PostConstruct/PreDestroy  Les méthodes de beans gérés marquées avec ces annotations auront des annotations dites traitées.
    avr. 16, 2013 3:57:24 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
    Infos: Running on PrimeFaces 3.5
    avr. 16, 2013 3:57:24 PM org.apache.catalina.core.ApplicationContext log
    Infos: Initializing Spring root WebApplicationContext
    avr. 16, 2013 3:57:24 PM org.springframework.web.context.ContextLoader initWebApplicationContext
    Infos: Root WebApplicationContext: initialization started
    avr. 16, 2013 3:57:24 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
    Infos: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@289bdd: display name [Root WebApplicationContext]; startup date [Tue Apr 16 15:57:24 CEST 2013]; root of context hierarchy
    avr. 16, 2013 3:57:24 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
    Infos: Loading XML bean definitions from file [C:\Users\Amine\workspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\eduserv\WEB-INF\classes\applicationContext.xml]
    avr. 16, 2013 3:57:24 PM org.springframework.beans.factory.support.DefaultListableBeanFactory registerBeanDefinition
    Infos: Overriding bean definition for bean 'AdresseHome': replacing [Generic bean: class [com.cnte.eduserv.dao.AdresseHome]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] with [Generic bean: class [com.cnte.eduserv.dao.AdresseHome]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in file [C:\Users\Amine\workspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\eduserv\WEB-INF\classes\applicationContext.xml]]
    avr. 16, 2013 3:57:24 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
    Infos: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@289bdd]: org.springframework.beans.factory.support.DefaultListableBeanFactory@14d5067
    avr. 16, 2013 3:57:24 PM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
    Infos: Loaded JDBC driver: oracle.jdbc.OracleDriver
    avr. 16, 2013 3:57:24 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.Version <clinit>
    Infos: Hibernate Annotations 3.3.0.GA
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.Environment <clinit>
    Infos: Hibernate 3.2.5
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.Environment <clinit>
    Infos: hibernate.properties not found
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.Environment buildBytecodeProvider
    Infos: Bytecode provider name : cglib
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.Environment <clinit>
    Infos: using JDK 1.4 java.sql.Timestamp handling
    avr. 16, 2013 3:57:25 PM org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
    Infos: Building new Hibernate SessionFactory
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Adresse
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Adresse on table ADRESSE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Classe
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Classe on table CLASSE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Comens
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Comens on table COMENS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Comp
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Comp on table COMP
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Dateentree
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Dateentree on table DATEENTREE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Diplom
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Diplom on table DIPLOM
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Eleve
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Eleve on table ELEVE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Enseignant
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Enseignant on table ENSEIGNANT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Etablissemen
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Etablissemen on table ETABLISSEMEN
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Gouver
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Gouver on table GOUVER
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Gsm
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Gsm on table GSM
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Matier
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Matier on table MATIER
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Membre
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Membre on table MEMBRE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Newsetab
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Newsetab on table NEWSETAB
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Nationpers
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Nationpers on table NATIONPERS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Parent
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Parent on table PARENT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Sexepers
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Sexepers on table SEXEPERS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Situfam
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Situfam on table SITUFAM
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Suivielev
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Suivielev on table SUIVIELEV
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Trimestre
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Trimestre on table TRIMESTRE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Typeetabli
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Typeetabli on table TYPEETABLI
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Classe.comenses -> COMENS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Classe.suivielevs -> SUIVIELEV
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Comp.comenses -> COMENS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Comp.suivielevs -> SUIVIELEV
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.dateentrees -> DATEENTREE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.gsms -> GSM
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.membres -> MEMBRE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.suivielevs -> SUIVIELEV
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.comenses -> COMENS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.gsms -> GSM
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.membres -> MEMBRE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.classes -> CLASSE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.dateentrees -> DATEENTREE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.membres -> MEMBRE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.newsetabs -> NEWSETAB
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Gouver.adresses -> ADRESSE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Gouver.etablissemens -> ETABLISSEMEN
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Matier.comenses -> COMENS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Matier.suivielevs -> SUIVIELEV
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.eleves -> ELEVE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.enseignants -> ENSEIGNANT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.etablissemens -> ETABLISSEMEN
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.parents -> PARENT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.elevesForIdparent -> ELEVE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.elevesForParIdparent -> ELEVE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.gsms -> GSM
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.membres -> MEMBRE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.eleves -> ELEVE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.enseignants -> ENSEIGNANT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.parents -> PARENT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.eleves -> ELEVE
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.enseignants -> ENSEIGNANT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.parents -> PARENT
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Trimestre.comenses -> COMENS
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Trimestre.suivielevs -> SUIVIELEV
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Typeetabli.etablissemens -> ETABLISSEMEN
    avr. 16, 2013 3:57:25 PM org.hibernate.cfg.AnnotationConfiguration secondPassCompile
    Infos: Hibernate Validator not found: ignoring
    avr. 16, 2013 3:57:25 PM org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
    Infos: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
    avr. 16, 2013 3:57:26 PM org.hibernate.dialect.Dialect <init>
    Infos: Using dialect: org.hibernate.dialect.Oracle10gDialect
    avr. 16, 2013 3:57:26 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    Infos: Using default transaction strategy (direct JDBC transactions)
    avr. 16, 2013 3:57:26 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    Infos: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Automatic flush during beforeCompletion(): disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Automatic session close at end of transaction: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC batch size: 15
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC batch updates for versioned data: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Scrollable result sets: enabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC3 getGeneratedKeys(): disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Connection release mode: on_close
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default schema: EDUSERV
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default batch fetch size: 1
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Generate SQL with comments: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Order SQL updates by primary key: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Order SQL inserts for batching: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    Infos: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    avr. 16, 2013 3:57:26 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    Infos: Using ASTQueryTranslatorFactory
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Query language substitutions: {}
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JPA-QL strict compliance: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Second-level cache: enabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Query cache: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory createCacheProvider
    Infos: Cache provider: org.hibernate.cache.NoCacheProvider
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Optimize cache for minimal puts: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Structured second-level cache entries: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Echoing all SQL to stdout
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Statistics: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Deleted entity synthetic identifier rollback: disabled
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default entity-mode: pojo
    avr. 16, 2013 3:57:26 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Named query checking : enabled
    avr. 16, 2013 3:57:26 PM org.hibernate.impl.SessionFactoryImpl <init>
    Infos: building session factory
    avr. 16, 2013 3:57:26 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
    Infos: Not binding factory to JNDI, no JNDI name configured
    avr. 16, 2013 3:57:26 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'sessionFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 3:57:26 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'sessionFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 3:57:26 PM org.springframework.orm.hibernate3.HibernateTransactionManager afterPropertiesSet
    Infos: Using DataSource [org.springframework.jdbc.datasource.DriverManagerDataSource@18b7d0f] of Hibernate SessionFactory for HibernateTransactionManager
    avr. 16, 2013 3:57:26 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'transactionManager' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 3:57:26 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 3:57:26 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 3:57:26 PM org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
    Infos: Bean 'org.springframework.transaction.config.internalTransactionAdvisor' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
    avr. 16, 2013 3:57:26 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
    Infos: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@14d5067: defining beans [dataSource,sessionFactory,transactionManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,AdresseHome]; root of factory hierarchy
    avr. 16, 2013 3:57:26 PM org.springframework.web.context.ContextLoader initWebApplicationContext
    Infos: Root WebApplicationContext: initialization completed in 2549 ms
    avr. 16, 2013 3:57:26 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["http-bio-8687"]
    avr. 16, 2013 3:57:26 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["ajp-bio-8011"]
    avr. 16, 2013 3:57:26 PM org.apache.catalina.startup.Catalina start
    Infos: Server startup in 8559 ms
    la liste
    avr. 16, 2013 3:57:28 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
    Grave: Error Rendering View[/pages/essey.xhtml]
    javax.el.ELException: /pages/essey.xhtml @12,68 value="#{adresseBean.listAdresses}": Error reading 'listAdresses' on type com.cnte.eduserv.bean.AdresseBean
    	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:107)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178)
    	at javax.faces.component.UIData.getValue(UIData.java:554)
    	at javax.faces.component.UIData.getDataModel(UIData.java:1248)
    	at javax.faces.component.UIData.setRowIndex(UIData.java:447)
    	at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:81)
    	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
    	at javax.faces.component.UIData.encodeBegin(UIData.java:937)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
    	at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
    	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
    	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
    	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    	at com.cnte.eduserv.services.AdresseService.getListAdresse(AdresseService.java:33)
    	at com.cnte.eduserv.bean.AdresseBean.getListAdresses(AdresseBean.java:16)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
    	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
    	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    	at org.apache.el.parser.AstValue.getValue(AstValue.java:183)
    	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
    	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:102)
    	... 35 more
    
    avr. 16, 2013 3:57:28 PM org.apache.catalina.core.StandardWrapperValve invoke
    Grave: Servlet.service() for servlet [Faces Servlet] in context with path [/eduserv] threw exception [null] with root cause
    java.lang.NullPointerException
    	at com.cnte.eduserv.services.AdresseService.getListAdresse(AdresseService.java:33)
    	at com.cnte.eduserv.bean.AdresseBean.getListAdresses(AdresseBean.java:16)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at javax.el.BeanELResolver.getValue(BeanELResolver.java:87)
    	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:67)
    	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
    	at org.apache.el.parser.AstValue.getValue(AstValue.java:183)
    	at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
    	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:102)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190)
    	at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178)
    	at javax.faces.component.UIData.getValue(UIData.java:554)
    	at javax.faces.component.UIData.getDataModel(UIData.java:1248)
    	at javax.faces.component.UIData.setRowIndex(UIData.java:447)
    	at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:81)
    	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
    	at javax.faces.component.UIData.encodeBegin(UIData.java:937)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
    	at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
    	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
    	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
    	at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:380)
    	at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
    	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
    	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    
    
    

  5. #5
    Membre habitué
    Homme Profil pro
    Intégrateur Web
    Inscrit en
    Avril 2013
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Intégrateur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Avril 2013
    Messages : 10
    Par défaut
    j'ai injecter le dao dans le service, mais si jappelle le dao dans le service linjection ne se fait pas et il entre pas dans le dao. je sais pas sil ya un probleme dans mon fichier de configuration de spring

  6. #6
    Membre Expert
    Profil pro
    Inscrit en
    Août 2006
    Messages
    3 276
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2006
    Messages : 3 276
    Par défaut
    J'imagine que tu as déplacé le problème d'un niveau.
    Si tu crées toi meme ton service, ce sera le meme problème, il faut le récupérer du contexte Spring.
    A partir de ton contexte, tu as une méthode getBean, sinon, il faut que l'objet de plus haut niveau qui utilise l'injection soit lui meme injecté.

Discussions similaires

  1. [JSP - HIBERNATE] Problème sessionFactory dans JSP
    Par vrossi59 dans le forum Servlets/JSP
    Réponses: 1
    Dernier message: 24/03/2009, 01h21
  2. [MVC] Problème de configuration " Spring "
    Par jdev23 dans le forum Spring Web
    Réponses: 1
    Dernier message: 29/12/2008, 10h35
  3. Réponses: 1
    Dernier message: 19/11/2008, 14h38
  4. Problème de configuration spring
    Par fluff dans le forum Spring
    Réponses: 4
    Dernier message: 30/06/2008, 16h27
  5. Problème mysql + hibernate + spring
    Par tmahatody dans le forum Hibernate
    Réponses: 1
    Dernier message: 05/03/2008, 18h35

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo