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

Hibernate Java Discussion :

Problème Hibernate Spring JSF


Sujet :

Hibernate Java

  1. #1
    Candidat au Club
    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
    Points : 4
    Points
    4
    Par défaut Problème Hibernate Spring JSF
    je travaille avec Spring JSF hibernate annotation, j'ai trouver un probleme ou je me bloque carément dans mon PFE

    voila ce que j'ai: (dynamic web project)
    AdresseBean:
    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
    package com.cnte.eduserv.bean;
     
    import java.util.List;
     
    import org.springframework.beans.factory.annotation.Autowired;
     
    import com.cnte.eduserv.dao.AdresseHome;
    import com.cnte.eduserv.persistance.*;
    import com.cnte.eduserv.services.AdresseService;
     
    import essey.essey;
     
     
    public class  AdresseBean {
     
    	public String getListAdresses() {
    		AdresseService AdresseService = new AdresseService();
    		String listAdresses =  AdresseService.getListAdresse();
    		return listAdresses;
     
    	}
     
    }
    AdresseHome
    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
    package com.cnte.eduserv.bean;
     
    import java.util.List;
     
    import org.springframework.beans.factory.annotation.Autowired;
     
    import com.cnte.eduserv.dao.AdresseHome;
    import com.cnte.eduserv.persistance.*;
    import com.cnte.eduserv.services.AdresseService;
     
    import essey.essey;
     
     
    public class  AdresseBean {
     
    	public String getListAdresses() {
    		AdresseService AdresseService = new AdresseService();
    		String listAdresses =  AdresseService.getListAdresse();
    		return listAdresses;
     
    	}
     
    }
    adresse:
    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
    package com.cnte.eduserv.persistance;
     
    // Generated 3 avr. 2013 12:00:47 by Hibernate Tools 3.4.0.CR1
     
    import java.util.HashSet;
    import java.util.Set;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.FetchType;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToMany;
    import javax.persistence.ManyToOne;
    import javax.persistence.Table;
     
    /**
     * Adresse generated by hbm2java
     */
    @Entity
    @Table(name = "ADRESSE")
    public class Adresse implements java.io.Serializable {
     
    	private long codeadresse;
    	private Gouver gouver;
    	private String rue;
    	private String ville;
    	private String codepostal;
    	private Set<Eleve> eleves = new HashSet<Eleve>(0);
    	private Set<Parent> parents = new HashSet<Parent>(0);
    	private Set<Enseignant> enseignants = new HashSet<Enseignant>(0);
     
    	public Adresse() {
    	}
     
    	public Adresse(long codeadresse, Gouver gouver, String rue,
    			String ville, String codepostal) {
    		this.codeadresse = codeadresse;
    		this.gouver = gouver;
    		this.rue = rue;
    		this.ville = ville;
    		this.codepostal = codepostal;
    	}
     
    	public Adresse(long codeadresse, Gouver gouver, String rue,
    			String ville, String codepostal, Set<Eleve> eleves,
    			Set<Parent> parents, Set<Enseignant> enseignants) {
    		this.codeadresse = codeadresse;
    		this.gouver = gouver;
    		this.rue = rue;
    		this.ville = ville;
    		this.codepostal = codepostal;
    		this.eleves = eleves;
    		this.parents = parents;
    		this.enseignants = enseignants;
    	}
     
    	@Id
    	@Column(name = "CODEADRESSE", unique = true, nullable = false, precision = 22, scale = 0)
    	public long getCodeadresse() {
    		return this.codeadresse;
    	}
     
    	public void setCodeadresse(long codeadresse) {
    		this.codeadresse = codeadresse;
    	}
     
    	@ManyToOne(fetch = FetchType.LAZY)
    	@JoinColumn(name = "CODEGOUV", nullable = false)
    	public Gouver getGouver() {
    		return this.gouver;
    	}
     
    	public void setGouver(Gouver gouver) {
    		this.gouver = gouver;
    	}
     
    	@Column(name = "RUE", nullable = false, length = 50)
    	public String getRue() {
    		return this.rue;
    	}
     
    	public void setRue(String rue) {
    		this.rue = rue;
    	}
     
    	@Column(name = "VILLE", nullable = false, length = 20)
    	public String getVille() {
    		return this.ville;
    	}
     
    	public void setVille(String ville) {
    		this.ville = ville;
    	}
     
    	@Column(name = "CODEPOSTAL", nullable = false, length = 10)
    	public String getCodepostal() {
    		return this.codepostal;
    	}
     
    	public void setCodepostal(String codepostal) {
    		this.codepostal = codepostal;
    	}
     
    	@ManyToMany(fetch = FetchType.LAZY, mappedBy = "adresses")
    	public Set<Eleve> getEleves() {
    		return this.eleves;
    	}
     
    	public void setEleves(Set<Eleve> eleves) {
    		this.eleves = eleves;
    	}
     
    	@ManyToMany(fetch = FetchType.LAZY, mappedBy = "adresses")
    	public Set<Parent> getParents() {
    		return this.parents;
    	}
     
    	public void setParents(Set<Parent> parents) {
    		this.parents = parents;
    	}
     
    	@ManyToMany(fetch = FetchType.LAZY, mappedBy = "adresses")
    	public Set<Enseignant> getEnseignants() {
    		return this.enseignants;
    	}
     
    	public void setEnseignants(Set<Enseignant> enseignants) {
    		this.enseignants = enseignants;
    	}
     
    	/* (non-Javadoc)
    	 * @see java.lang.Object#toString()
    	 */
    	@Override
    	public String toString() {
    		return "Adresse [gouver=" + gouver + ", rue=" + rue + ", ville="
    				+ ville + ", codepostal=" + codepostal + "]";
    	}
     
     
     
    }
    AdresseService:
    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
    package com.cnte.eduserv.services;
     
    import java.util.List;
     
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.transaction.annotation.Transactional;
     
     
    import com.cnte.eduserv.dao.*;
    import com.cnte.eduserv.persistance.*;
     
     
    public class AdresseService {
    	@Autowired
       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 String getListAdresse(){
    	   System.out.println("deb-service");
     
        return getAdresseDAO().essey();
     
     
       }
     //  public AdresseHome getLivreDAO() { 
     //return adresseDAO;
      // } 
      // public void setAdresseDAO(AdresseHome livreDAO) {
    // this.adresseDAO = livreDAO;
    //   }  
     
    }
    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
    91
    92
    93
    94
    <?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
    http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/tx
    http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
      http://www.springframework.org/schema/context
    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="sessionFactory" 
       class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
     
        <property name="dataSource">
          <ref bean="dataSource"/>
        </property>
        <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>  
     <prop key="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</prop>
                        <prop key="hibernate.id.new_generator_mappings">true</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="sessionFactory" /> 
    </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="adresseDAO" class="com.cnte.eduserv.dao.AdresseHome">
      <property name="sessionFactory" ref="sessionFactory"></property>
    </bean>
     
     
     
    <!-- Declaration des classes Services -->
     
     
    <bean id="adresseService" class="com.cnte.eduserv.services.AdresseService">
      <property name="adresseDAO" ref="adresseDAO"></property>
    </bean>
     
    </beans>
    web.xml:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0"
     xmlns="http://java.sun.com/xml/ns/javaee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
     <display-name>eduserv</display-name>
      <welcome-file-list>
      <welcome-file>index.jsp</welcome-file>
     </welcome-file-list>
     <context-param>
        <description>State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2</description>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>client</param-value>
      </context-param>
      <context-param>
        <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
        <param-value>resources.application</param-value>
      </context-param>
      <listener>
        <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
      </listener>
    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath*:applicationContext*.xml</param-value>
    </context-param>
     
    <listener>
        <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <listener>
    <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
    </listener>
     
     <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
     </servlet>
     
    	<servlet-mapping>
    		<servlet-name>Faces Servlet</servlet-name>
    		<url-pattern>*.jsf</url-pattern>
    	</servlet-mapping>
     
     
    </web-app>
    jsp:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    ...
    <h:dataTable var="adresse" value="#{adresseBean.listAdresses}">
    					<h:column >
    						<f:facet name="header">
    							<h:outputText value="rue"  />
    						</f:facet> 
    						<h:outputText value="#{adresse.rue}"></h:outputText>
    					</h:column>
     
     
    				</h:dataTable>
    ...
    trace du serveur:
    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
    avr. 17, 2013 1:41:40 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. 17, 2013 1:41:41 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["http-bio-8687"]
    avr. 17, 2013 1:41:41 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["ajp-bio-8011"]
    avr. 17, 2013 1:41:41 PM org.apache.catalina.startup.Catalina load
    Infos: Initialization processed in 1629 ms
    avr. 17, 2013 1:41:41 PM org.apache.catalina.core.StandardService startInternal
    Infos: Démarrage du service Catalina
    avr. 17, 2013 1:41:41 PM org.apache.catalina.core.StandardEngine startInternal
    Infos: Starting Servlet Engine: Apache Tomcat/7.0.32
    avr. 17, 2013 1:41:42 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
    Infos: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [190] milliseconds.
    avr. 17, 2013 1:41:42 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Déploiement du descripteur de configuration C:\Users\Amine\workspace1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\conf\Catalina\localhost\eduserv.xml
    avr. 17, 2013 1:41:42 PM org.apache.catalina.startup.SetContextPropertiesRule begin
    Avertissement: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:eduserv' did not find a matching property.
    avr. 17, 2013 1:41:49 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. 17, 2013 1:41:50 PM com.sun.faces.config.ConfigureListener contextInitialized
    Infos: Initialisation de Mojarra 2.0.2 (FCS b10) pour le contexte '/eduserv'
    avr. 17, 2013 1:41:51 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. 17, 2013 1:41:51 PM com.sun.faces.mgbean.BeanManager addBean
    Avertissement: JSF1074 : Le bean géré nommé 'localeManagedBean' a déjà été enregistré.  Remplacement du type de classe du bean géré existant com.cnte.propertiesBean.LocaleManagedBean par com.cnte.propertiesBean.LocaleManagedBean.
    avr. 17, 2013 1:41:51 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent
    Infos: Running on PrimeFaces 3.5
    avr. 17, 2013 1:41:52 PM org.apache.catalina.core.ApplicationContext log
    Infos: Initializing Spring root WebApplicationContext
    avr. 17, 2013 1:41:52 PM org.springframework.web.context.ContextLoader initWebApplicationContext
    Infos: Root WebApplicationContext: initialization started
    avr. 17, 2013 1:41:52 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
    Infos: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@75d1b8: display name [Root WebApplicationContext]; startup date [Wed Apr 17 13:41:52 CEST 2013]; root of context hierarchy
    avr. 17, 2013 1:41:52 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. 17, 2013 1:41:52 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
    Infos: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@75d1b8]: org.springframework.beans.factory.support.DefaultListableBeanFactory@106cec9
    avr. 17, 2013 1:41:52 PM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
    Infos: Loaded JDBC driver: oracle.jdbc.OracleDriver
    avr. 17, 2013 1:41:52 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. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.Version <clinit>
    Infos: Hibernate Annotations 3.3.0.GA
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.Environment <clinit>
    Infos: Hibernate 3.2.5
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.Environment <clinit>
    Infos: hibernate.properties not found
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.Environment buildBytecodeProvider
    Infos: Bytecode provider name : cglib
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.Environment <clinit>
    Infos: using JDK 1.4 java.sql.Timestamp handling
    avr. 17, 2013 1:41:53 PM org.springframework.orm.hibernate3.LocalSessionFactoryBean buildSessionFactory
    Infos: Building new Hibernate SessionFactory
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Adresse
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Adresse on table ADRESSE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Classe
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Classe on table CLASSE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Comens
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Comens on table COMENS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Comp
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Comp on table COMP
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Dateentree
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Dateentree on table DATEENTREE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Diplom
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Diplom on table DIPLOM
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Eleve
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Eleve on table ELEVE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Enseignant
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Enseignant on table ENSEIGNANT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Etablissemen
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Etablissemen on table ETABLISSEMEN
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Gouver
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Gouver on table GOUVER
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Gsm
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Gsm on table GSM
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Matier
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Matier on table MATIER
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Membre
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Membre on table MEMBRE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Newsetab
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Newsetab on table NEWSETAB
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Nationpers
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Nationpers on table NATIONPERS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Parent
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Parent on table PARENT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Sexepers
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Sexepers on table SEXEPERS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Situfam
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Situfam on table SITUFAM
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Suivielev
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Suivielev on table SUIVIELEV
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Trimestre
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Trimestre on table TRIMESTRE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationBinder bindClass
    Infos: Binding entity from annotated class: com.cnte.eduserv.persistance.Typeetabli
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    Infos: Bind entity com.cnte.eduserv.persistance.Typeetabli on table TYPEETABLI
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Classe.comenses -> COMENS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Classe.suivielevs -> SUIVIELEV
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Comp.comenses -> COMENS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Comp.suivielevs -> SUIVIELEV
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.dateentrees -> DATEENTREE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.gsms -> GSM
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.membres -> MEMBRE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Eleve.suivielevs -> SUIVIELEV
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.comenses -> COMENS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.gsms -> GSM
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Enseignant.membres -> MEMBRE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.classes -> CLASSE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.dateentrees -> DATEENTREE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.membres -> MEMBRE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Etablissemen.newsetabs -> NEWSETAB
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Gouver.adresses -> ADRESSE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Gouver.etablissemens -> ETABLISSEMEN
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Matier.comenses -> COMENS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Matier.suivielevs -> SUIVIELEV
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.eleves -> ELEVE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.enseignants -> ENSEIGNANT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.etablissemens -> ETABLISSEMEN
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Membre.parents -> PARENT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.elevesForIdparent -> ELEVE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.elevesForParIdparent -> ELEVE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.gsms -> GSM
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Parent.membres -> MEMBRE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.eleves -> ELEVE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.enseignants -> ENSEIGNANT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Sexepers.parents -> PARENT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.eleves -> ELEVE
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.enseignants -> ENSEIGNANT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Situfam.parents -> PARENT
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Trimestre.comenses -> COMENS
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Trimestre.suivielevs -> SUIVIELEV
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
    Infos: Mapping collection: com.cnte.eduserv.persistance.Typeetabli.etablissemens -> ETABLISSEMEN
    avr. 17, 2013 1:41:53 PM org.hibernate.cfg.AnnotationConfiguration secondPassCompile
    Infos: Hibernate Validator not found: ignoring
    avr. 17, 2013 1:41:53 PM org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
    Infos: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
    avr. 17, 2013 1:41:59 PM org.hibernate.dialect.Dialect <init>
    Infos: Using dialect: org.hibernate.dialect.Oracle10gDialect
    avr. 17, 2013 1:41:59 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    Infos: Using default transaction strategy (direct JDBC transactions)
    avr. 17, 2013 1:41:59 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. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Automatic flush during beforeCompletion(): disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Automatic session close at end of transaction: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC batch size: 15
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC batch updates for versioned data: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Scrollable result sets: enabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JDBC3 getGeneratedKeys(): disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Connection release mode: on_close
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default schema: EDUSERV
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default batch fetch size: 1
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Generate SQL with comments: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Order SQL updates by primary key: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Order SQL inserts for batching: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    Infos: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    avr. 17, 2013 1:41:59 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    Infos: Using ASTQueryTranslatorFactory
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Query language substitutions: {}
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: JPA-QL strict compliance: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Second-level cache: enabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Query cache: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory createCacheProvider
    Infos: Cache provider: org.hibernate.cache.NoCacheProvider
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Optimize cache for minimal puts: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Structured second-level cache entries: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Echoing all SQL to stdout
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Statistics: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Deleted entity synthetic identifier rollback: disabled
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Default entity-mode: pojo
    avr. 17, 2013 1:41:59 PM org.hibernate.cfg.SettingsFactory buildSettings
    Infos: Named query checking : enabled
    avr. 17, 2013 1:41:59 PM org.hibernate.impl.SessionFactoryImpl <init>
    Infos: building session factory
    avr. 17, 2013 1:42:00 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
    Infos: Not binding factory to JNDI, no JNDI name configured
    avr. 17, 2013 1:42:00 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. 17, 2013 1:42:00 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. 17, 2013 1:42:00 PM org.springframework.orm.hibernate3.HibernateTransactionManager afterPropertiesSet
    Infos: Using DataSource [org.springframework.jdbc.datasource.DriverManagerDataSource@1747d01] of Hibernate SessionFactory for HibernateTransactionManager
    avr. 17, 2013 1:42:00 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. 17, 2013 1:42:00 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. 17, 2013 1:42:00 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. 17, 2013 1:42:00 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. 17, 2013 1:42:00 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
    Infos: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@106cec9: 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. 17, 2013 1:42:00 PM org.springframework.web.context.ContextLoader initWebApplicationContext
    Infos: Root WebApplicationContext: initialization completed in 8597 ms
    avr. 17, 2013 1:42:00 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["http-bio-8687"]
    avr. 17, 2013 1:42:00 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["ajp-bio-8011"]
    avr. 17, 2013 1:42:00 PM org.apache.catalina.startup.Catalina start
    Infos: Server startup in 18987 ms
    deb-service
    avr. 17, 2013 1:42:02 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:34)
    	at com.cnte.eduserv.bean.AdresseBean.getListAdresses(AdresseBean.java:18)
    	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. 17, 2013 1:42:02 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:34)
    	at com.cnte.eduserv.bean.AdresseBean.getListAdresses(AdresseBean.java:18)
    	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 comprend pas pourquoi le context se charge pas.
    svp aidez moi.

  2. #2
    Futur Membre du Club
    Inscrit en
    Avril 2007
    Messages
    9
    Détails du profil
    Informations forums :
    Inscription : Avril 2007
    Messages : 9
    Points : 7
    Points
    7
    Par défaut spring
    bonjour
    avant tous je suis debutant (null ) au java ;
    svp comment ajouter les spring sous eclipse 3.5.2

Discussions similaires

  1. [Hibernate / Spring / JSF / Tomcat] Problème de mise à jour
    Par curieuseInformatique dans le forum JSF
    Réponses: 1
    Dernier message: 03/10/2011, 17h22
  2. [Security] Hibernate + Spring security + JSF. Problème d'authentification
    Par haile dans le forum Spring
    Réponses: 5
    Dernier message: 23/06/2011, 15h35
  3. probléme hibernate et jsf
    Par RouRa22 dans le forum Hibernate
    Réponses: 1
    Dernier message: 21/04/2008, 16h47
  4. Problème mysql + hibernate + spring
    Par tmahatody dans le forum Hibernate
    Réponses: 1
    Dernier message: 05/03/2008, 18h35
  5. Réponses: 1
    Dernier message: 29/02/2008, 11h07

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