哪位兄臺幫我看看JIVE安裝問題, 資料庫連線出錯!加急!!!

jiri發表於2004-02-26
環 境: Windows 2003 Ent 英文版
軟 體: jivejdon-2.5 (取自GRO)
JDBC : mm.mysql-2.0.14-bin.jar(軟體中lib自帶)
資料庫: mysql-5.0.0a-alpha-win
伺服器: jakarta-tomcat-5.0.18

1. 按說明操作, 將application下所有內容COPY到TOMCAT的WEBAPPS下的jive裡,並做配置檔案jive.xml
<Context path="/jive" docBase="jive"
debug="0" privileged="true">
</Context>
2. 將mm.mysql-2.0.14-bin.jar入到TOMCAT/COMMON/LIB裡, 並在WINDOWS的CLASSPATH裡指定這個JAR的路徑.
3. 在匯入資料庫指令碼後, 給MySQL建立了一個使用者(jive/jive).
執行http://localhost:8080/jive/admin/setup/可以進入安裝頁, 到第三步資料庫連線設定時出錯,org.gjt.mm.mysql.Driver, jdbc:mysql://localhost:3306/jive, jive/jive其它不改, 但測試無法連到資料庫, JIVEHOME裡的LOG記錄為:
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
TOMCAT後臺列印記錄為:
Warning: DbConnectionDefaultPool.getConnection() wascalled before the internal pool has been initialized.

哪位仁兄遇到過這類問題, 救俺一命吧.

相關文章