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

JSF Java Discussion :

Erreur incompréhensible JSF,.. qui peut déchiffrer cette devinette


Sujet :

JSF Java

  1. #1
    Membre du Club
    Homme Profil pro
    Inscrit en
    Février 2010
    Messages
    118
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 118
    Points : 43
    Points
    43
    Par défaut Erreur incompréhensible JSF,.. qui peut déchiffrer cette devinette
    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
    java.lang.UnsatisfiedLinkError: C:\developpement\tools\tomcat\bin\tcnative-1.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
    	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1758)
    	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1683)
    	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    	at java.lang.System.loadLibrary(System.java:1028)
    	at org.apache.tomcat.jni.Library.<init>(Library.java:42)
    	at org.apache.tomcat.jni.Library.initialize(Library.java:168)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListener.java:157)
    	at org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifecycleListener.java:81)
    	at org.apache.catalina.connector.Connector.setProtocol(Connector.java:513)
    	at org.apache.catalina.connector.Connector.<init>(Connector.java:69)
    	at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:62)
    	at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1283)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1544)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:560)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    17 mai 2011 17:11:31 org.apache.catalina.core.AprLifecycleListener init
    INFO: 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\jdk1.6.0_17\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\developpement\tools\tomcat\bin
    17 mai 2011 17:11:31 org.apache.tomcat.util.digester.SetPropertiesRule begin
    ATTENTION: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:skyTaxi' did not find a matching property.
    17 mai 2011 17:11:31 org.apache.coyote.http11.Http11Protocol init
    INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
    17 mai 2011 17:11:32 org.apache.coyote.ajp.AjpProtocol init
    INFO: Initializing Coyote AJP/1.3 on ajp-8009
    log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
    log4j:WARN Please initialize the log4j system properly.
    17 mai 2011 17:11:32 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1309 ms
    17 mai 2011 17:11:32 org.apache.catalina.core.StandardService startInternal
    INFO: Démarrage du service Catalina
    17 mai 2011 17:11:32 org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.2
    17 mai 2011 17:11:33 org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring root WebApplicationContext
    17 mai 2011 17:11:35 org.apache.catalina.core.StandardContext listenerStart
    GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.springframework.web.context.ContextLoaderListener
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mtbSessionFactory' defined in class path resource [dz/airplane/reservation/metier/ressources/applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: dz.airplane.reservation.metier.modele.Client
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1362)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
    	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:407)
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)
    	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:251)
    	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:190)
    	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4323)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4780)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:771)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:988)
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:275)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:427)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:649)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:585)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
    Caused by: org.hibernate.AnnotationException: No identifier specified for entity: dz.airplane.reservation.metier.modele.Client
    	at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:650)
    	at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498)
    	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277)
    	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
    	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
    	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:753)
    	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:691)
    	at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)
    	... 34 more
    17 mai 2011 17:11:35 com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b16-p02) for context '/skyTaxi'
    17 mai 2011 17:11:35 com.sun.faces.spi.InjectionProviderFactory createInstance
    INFO: JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.
    17 mai 2011 17:11:36 org.apache.catalina.core.StandardContext startInternal
    GRAVE: Error listenerStart
    17 mai 2011 17:11:36 org.apache.catalina.core.StandardContext startInternal
    GRAVE: Erreur de démarrage du contexte [/skyTaxi] suite aux erreurs précédentes
    17 mai 2011 17:11:36 org.apache.catalina.core.ApplicationContext log
    INFO: Closing Spring root WebApplicationContext
    17 mai 2011 17:11:36 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
    GRAVE: The web application [/skyTaxi] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

  2. #2
    Rédacteur
    Avatar de romaintaz
    Homme Profil pro
    Java craftsman
    Inscrit en
    Juillet 2005
    Messages
    3 790
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Java craftsman
    Secteur : Finance

    Informations forums :
    Inscription : Juillet 2005
    Messages : 3 790
    Points : 7 275
    Points
    7 275
    Par défaut
    L'erreur suivante est assez parlante, non ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Can't load AMD 64-bit .dll on a IA 32-bit platform
    Il semble que tu tentes d'exécuter du code 64 bits sur une plateforme 32 bits... Il y a un souci là !

  3. #3
    Membre du Club
    Homme Profil pro
    Inscrit en
    Février 2010
    Messages
    118
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 118
    Points : 43
    Points
    43
    Par défaut
    Merci de votre réponse,
    Je cherche maintenant une solution?

  4. #4
    Membre du Club
    Homme Profil pro
    Inscrit en
    Février 2010
    Messages
    118
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 118
    Points : 43
    Points
    43
    Par défaut
    Citation Envoyé par romaintaz Voir le message
    Ca aurait été bien de formatter ton message, mais bon...

    L'erreur suivante est assez parlante, non ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Can't load AMD 64-bit .dll on a IA 32-bit platform
    Il semble que tu tentes d'exécuter du code 64 bits sur une plateforme 32 bits... Il y a un souci là !
    j'ai vérifié,...c'est pas le problème exacte, j'ai d'autres projets qui s’exécute avec cette version de apache tomcat

  5. #5
    Rédacteur
    Avatar de romaintaz
    Homme Profil pro
    Java craftsman
    Inscrit en
    Juillet 2005
    Messages
    3 790
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Java craftsman
    Secteur : Finance

    Informations forums :
    Inscription : Juillet 2005
    Messages : 3 790
    Points : 7 275
    Points
    7 275
    Par défaut
    C'est peut être la JVM qui est en 64 bits. Un java -version devrait te l'indiquer...

  6. #6
    Expert éminent sénior
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Points : 48 807
    Points
    48 807
    Par défaut
    ou retirez simplement cette dll

  7. #7
    Membre du Club
    Homme Profil pro
    Inscrit en
    Février 2010
    Messages
    118
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 118
    Points : 43
    Points
    43
    Par défaut
    Citation Envoyé par tchize_ Voir le message
    ou retirez simplement cette dll
    Merci de votre attention,
    mais comment je retire cette dll ?

  8. #8
    Expert éminent sénior
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Points : 48 807
    Points
    48 807
    Par défaut
    touche "delete" du clavier? Tomcat n'as pas besoin de librairie native, il sait fonctionner sans.

  9. #9
    Membre du Club
    Homme Profil pro
    Inscrit en
    Février 2010
    Messages
    118
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 118
    Points : 43
    Points
    43
    Par défaut
    Citation Envoyé par tchize_ Voir le message
    touche "delete" du clavier? Tomcat n'as pas besoin de librairie native, il sait fonctionner sans.
    j'ai supprimer tous les lib de apach mais comme il marche...alors comment je procède?????

  10. #10
    Membre du Club
    Homme Profil pro
    Inscrit en
    Février 2010
    Messages
    118
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 118
    Points : 43
    Points
    43
    Par défaut
    LE PROBLÈME EST ICI


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    GRAVE: Erreur de démarrage du contexte [/vol] suite aux erreurs précédentes
    19 mai 2011 01:28:57 org.apache.catalina.core.ApplicationContext log
    INFO: Closing Spring root WebApplicationContext
    19 mai 2011 01:28:57 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
    GRAVE: The web application [/vol] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
    19 mai 2011 01:28:57 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
    GRAVE: The web application [/vol] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.

  11. #11
    Expert éminent sénior
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Points : 48 807
    Points
    48 807
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    GRAVE: Erreur de démarrage du contexte [/vol] suite aux erreurs précédentes
    Ce serait peut être bien qu'on aie les erreurs précédentes?

  12. #12
    Membre du Club
    Homme Profil pro
    Inscrit en
    Février 2010
    Messages
    118
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 118
    Points : 43
    Points
    43
    Par défaut
    puisque j'ai une machine windows x32, j'ai changé la jdk et apche apache, j'ai met jdk i586,j apache-tomcat-7.0.14-windows-x86...
    et avec ça j'ai minimisé l'erreur un peu....

Discussions similaires

  1. Qui peut expliquer cette difference de temps ?
    Par clincks dans le forum API standards et tierces
    Réponses: 0
    Dernier message: 25/11/2010, 00h09
  2. Qui Peut Reponde à cette question svp ?
    Par simosped dans le forum Général Dotnet
    Réponses: 1
    Dernier message: 29/11/2007, 15h43
  3. Qui peut trouver l'erreur ?
    Par jlb59 dans le forum Mise en page CSS
    Réponses: 2
    Dernier message: 16/08/2007, 09h39
  4. Réponses: 2
    Dernier message: 06/07/2007, 19h08

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