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
| sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Nom version serveur : Apache Tomcat/10.1.11
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Serveur compilé : Jul 6 2023 13:45:39 UTC
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Version du serveur : 10.1.11.0
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Nom de l'OS : Windows 10
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Version OS : 10.0
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture : amd64
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home : C:\Program Files\Java\jdk-19
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Version JVM : 19.0.1+10-21
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Fournisseur de la JVM : Oracle Corporation
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE : C:\Users\akone.BRVMDCBR\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME : C:\Program Files\apache-tomcat-10.1.11
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : -Dcatalina.base=C:\Users\akone.BRVMDCBR\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : -Dcatalina.home=C:\Program Files\apache-tomcat-10.1.11
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : -Dwtp.deploy=C:\Users\akone.BRVMDCBR\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : --add-opens=java.base/java.lang=ALL-UNNAMED
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : --add-opens=java.base/java.io=ALL-UNNAMED
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : --add-opens=java.base/java.util=ALL-UNNAMED
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : -Dfile.encoding=windows-1252
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Argument de la ligne de commande : -XX:+ShowCodeDetailsInExceptionMessages
sept. 21, 2023 3:36:36 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: La librairie Apache Tomcat Native basée sur APR qui permet des performances optimales dans les environnements de production n'a pas été trouvée sur le java.library.path : [C:\Program Files\Java\jdk-19\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Parallels\Parallels Tools\Applications;C:\oraclexe\app\oracle\product\11.2.0\server\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Windows Live\Shared;C:\TPWS\tomcat\bin;C:\Program Files\Java\jdk-18.0.1.1\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files (x86)\EasyPHP-Devserver-17\eds-binaries\dbserver\mysql5717x86x230726092925\bin;C:\Program Files\Java\jdk-18.0.1.1\bin;.]
sept. 21, 2023 3:36:36 PM org.apache.coyote.AbstractProtocol init
INFO: Initialisation du gestionnaire de protocole ["http-nio-8080"]
sept. 21, 2023 3:36:36 PM org.apache.catalina.startup.Catalina load
INFO: L'initialisation du serveur a pris [881] millisecondes
sept. 21, 2023 3:36:36 PM org.apache.catalina.core.StandardService startInternal
INFO: Démarrage du service [Catalina]
sept. 21, 2023 3:36:36 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Démarrage du moteur de Servlets : [Apache Tomcat/10.1.11]
sept. 21, 2023 3:36:37 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
WARNING: La création de l'instance de SecureRandom pour le générateur d'id de session en utilisant [SHA1PRNG] a pris [132] millisecondes
sept. 21, 2023 3:36:38 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: Au moins un fichier JAR a été analysé pour trouver des TLDs mais il n'en contenait pas, le mode "debug" du journal peut être activé pour obtenir une liste complète de JAR scannés sans succès ; éviter d'analyser des JARs inutilement peut améliorer sensiblement le temps de démarrage et le temps de compilation des JSPs
sept. 21, 2023 3:36:38 PM org.apache.coyote.AbstractProtocol start
INFO: Démarrage du gestionnaire de protocole ["http-nio-8080"]
sept. 21, 2023 3:36:38 PM org.apache.catalina.startup.Catalina start
INFO: Le démarrage du serveur a pris [1384] millisecondes
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'performance_schema.session_variables' doesn't exist
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:484)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.Util.getInstance(Util.java:384)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3562)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3494)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1960)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2114)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2690)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2619)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1465)
at com.mysql.jdbc.ConnectionImpl.loadServerVariables(ConnectionImpl.java:3961)
at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3504)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2202)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:787)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:49)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:484)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:357)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:230)
at com.model.ConnexionDB.<clinit>(ConnexionDB.java:16)
at org.apache.jsp.show_jsp._jspService(show_jsp.java:128)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:676)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1740)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:1589)
null
sept. 21, 2023 3:36:39 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() du Servlet [jsp] dans le contexte au chemin [/GestionProduit] a retourné une exception [Une exception s'est produite lors du traitement de [show.jsp] à la ligne [7]
4: <%
5: Connection con = ConnexionDB.getConnection();
6: try{
7: PreparedStatement stmt = con.prepareStatement("SELECT * FROM produit");
8: ResultSet res = stmt.executeQuery();
9:
10: while (res.next()) {
Stacktrace:] avec la cause
java.lang.NullPointerException: Cannot invoke "java.sql.Connection.prepareStatement(String)" because "con" is null
at org.apache.jsp.show_jsp._jspService(show_jsp.java:130)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:380)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:328)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:676)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1740)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:1589) |
Partager