A two-year project is required to re-a test environment for updating maintenance. The original environment is: redhat7.3jdk1.3.1apache 1.3tomcat 4.03Mysql 3.23.51
Now the environment: redhat9jdk1.42tomcat 4.1.31mysql 4.10
After installing RedHat, Tomcat, MySQL and pour the data into MySQL, use MySQL's client to see the content within the database is correct. Run the Tomcat, run Tomcat, and WAR package automatically unspeak the Tomcat's WebApps. Open the page success, but when performing a page that needs to be read the database, the error log has util.getConnection () thrown java.sql.sqlexception: no suitable driver is determined to be JDBC does not cooperate. The procedure discovers the original JDBC is mm.mysql-2.0.11-bin.jar to http://www.mysql.com Download the new version of JDBC MySQL-Connector-Java-3.0.8-stable-bin.jar The ____ does not work. Replace the mysql to replace Mysql3.23.58, and then invert the data. Open the page and discover the normal Chinese page of the English page garbled. Executive export lang = zh_tw.big5export lc_all = zh_tw.big5 post-Chinese page normal, English page is chaos again to export lang = en_us.iso8859_1export lc_all = en_us.iso8859_1 Chinese and English page Normally. The default locale is originally redhat9 LANG = en_US.UTF8LC_CTYPE = "en_US.UTF8" LC_NUMERIC = "en_US.UTF8" LC_TIME = "en_US.UTF8" LC_COLLATE = "en_US.UTF8" LC_MONETARY = "en_US.UTF8" LC_MESSAGES = "en_US. UTF8 "LC_PAPER =" en_US.UTF8 "LC_NAME =" en_US.UTF8 "LC_ADDRESS =" en_US.UTF8 "LC_TELEPHONE =" en_US.UTF8 "LC_MEASUREMENT =" en_US.UTF8 "LC_IDENTIFICATION =" en_US.UTF8 "LC_ALL = en_US.UTF8
After the change of LANG = en_US.iso8859_1LC_CTYPE = "en_US.iso8859_1" LC_NUMERIC = "en_US.iso8859_1" LC_TIME = "en_US.iso8859_1" LC_COLLATE = "en_US.iso8859_1" LC_MONETARY = "en_US.iso8859_1" LC_MESSAGES = "en_US.iso8859_1" LC_PAPER = "en_US.iso8859_1" LC_NAME = "en_US.iso8859_1" LC_ADDRESS = "en_US.iso8859_1" LC_TELEPHONE = "en_US.iso8859_1" LC_MEASUREMENT = "en_US.iso8859_1" LC_IDENTIFICATION = "en_US.iso8859_1" LC_ALL = en_US.iso8859_1