Use tool: Securefx 7.0,SECURECRT 7.0
1. Package a Web project
2. Upload the jar package to the WebApps directory of the Tomcat server
3. Launch the Tomcat server after uploading
Most Linux systems have OPENJDK installed by default, and if you do not set your own JDK priority higher, the system will start OPENJDK by default, and it will report an exception
Javax.crypto.BadPaddingException:Invalid Pad value!
At Sun.security.pkcs11.p11cipher$pkcs5padding.unpad (p11cipher.java:106) [sunpkcs11.jar:1.7.0_45]
At Sun.security.pkcs11.P11Cipher.implDoFinal (p11cipher.java:802) [sunpkcs11.jar:1.7.0_45]
At Sun.security.pkcs11.P11Cipher.engineDoFinal (p11cipher.java:542) [sunpkcs11.jar:1.7.0_45]
At Sun.security.pkcs11.P11Cipher.engineDoFinal (p11cipher.java:525) [sunpkcs11.jar:1.7.0_45]
At Javax.crypto.Cipher.doFinal (cipher.java:1922) [: 1.7.0_45]
At Com.idcq.appserver.utils.AESUtil.aesDecryptByBytes (aesutil.java:193) [Aesutil.class:]
At Com.idcq.appserver.utils.AESUtil.aesDecrypt (aesutil.java:211) [Aesutil.class:]
Workaround: http://www.cnblogs.com/xiaohai2010/p/8777156.html
4. Enter the IP:8080/project name on the browser after startup
If unreachable, check whether port 8080 is blocked by the firewall ping IP port number
If the connection fails, prove that the port number is blocked
Workaround: http://www.cnblogs.com/xiaohai2010/p/8777902.html
Linux under the Tomcat Server Deployment Web project