keytool error: java.lang.Exception: Failed to establish chain from reply

I’ve just discovered that the files godaddy supplied with my certificate are both intermediate certificates (in fact they seem to both be the same intermediate certificate). I got the correct root and intermediate certificates by double clicking on my certificate and looking at the certificate path… from here I could also download each of these … Read more

Tomcat 10.x throws java.lang.NoClassDefFoundError on javax.servlet.* [duplicate]

According to your logs, C:\Users\Ing.Girbson BIJOU\Documents\NetBeansProjects\apache-tomcat-10.0.4-windows-x64\apache-tomcat-10.0.4\conf\Catalina\localhost\VirtualStore.xml you’re thus using Tomcat 10.x which is based off Servlet API version 5.0 which in turn is part of Jakarta EE version 9. However, this exception is unexpected: java.lang.NoClassDefFoundError: javax/servlet/ServletRequestListener Basically, the deployed web application is looking for javax.servlet.*, but it should actually be looking for jakarta.servlet.*. Namely, the … Read more

how to refresh JSESSIONID cookie after login

You will not refresh after but just before. When executing the login action first do: HttpSession session = request.getSession(false); if (session!=null && !session.isNew()) { session.invalidate(); } Then do: HttpSession session = request.getSession(true); // create the session // do the login (store the user in the session, or whatever) FYI what you are solving with this … Read more

Tomcat manager/html is not available?

You have to check if you have the folder with name manager inside the folder webapps in your tomcat. Rubens-MacBook-Pro:tomcat rfanjul$ ls -la webapps/ total 16 drwxr-xr-x 8 rfanjul staff 272 21 May 12:20 . drwxr-xr-x 14 rfanjul staff 476 21 May 12:22 .. -rw-r–r–@ 1 rfanjul staff 6148 21 May 12:20 .DS_Store drwxr-xr-x 19 … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)