测试jdon2.5 开源项目时安装错误


步骤一:

Setup Your Properties File Path Please Specify Working Directory for the properties file:
(if not sure just accept the default)

Note: This has to be part of your application classpath.


www.forumsoftware.ca

步骤二:


Setup Your Database Connection

Yazd needs to connect to a database in order to function properly. Fill in the following fields with the connection information for your database. Note: you should already have completed the import of the Yazd database schema as outlined in the installation guide.
connectionTimeout Time in days between connection resets. e.g. '.5'
password Database password. e.g. 'Tiger'
maxConnections Maximum # of connections in dynamic pool. Fifteen should give good performance for an average load.
minConnections Minimum # of connections to start with in pool. Three is the recommended minimum
logPath Absolute path name for log file. e.g. 'c:\logs\yazdDbLog.log'
driver JDBC driver. e.g. 'oracle.jdbc.driver.OracleDriver'
server JDBC connect string. e.g. 'jdbc:oracle:thin:@203.92.21.109:1526:orcl'
username Database username. e.g. 'Scott'

www.forumsoftware.ca

步骤三:


Error!

Could not load JDBC driver: com.mysql.jdbc.Driver. Be sure that the driver is in the classpath of your application server and then press the back button to try again.

www.forumsoftware.ca

步骤一,三都有图,二有点大,上传不上。请Banq大哥相助啊!

步骤一


我想连接的数据库是mysql数据库。数据库连接的包也导入到WEB-INF文件夹下的lib目录下了。可还是报错。不知道是哪里设置不对。。。

2012-12-06 21:41 "@xunmi258"的内容
数据库连接的包也导入到WEB-INF文件夹下的lib目录下 ...

Tomcat下数据库连接包mysql-connector-java-5.1.18-bin.jar或JavaMail包都要放到Tomcat自己的lib目录下,不能放到项目的WEB-INF的LIB下。

banq大哥,那个驱动加载的错误解决了。我把那个 mysql的驱动包移动到tomcat下的lib包下了。 但是又出现一个错误。

Error!

A connection to the database could not be made. Press the back button to ensure that all fields were filled in properly.

仔细想想,原来是数据库,表没有建好。就由用软件将sql语句导入,执行了下。把数据库,表都建好了。但还是出错。又看了看项目下的admin目录下的 dbInfo.jsp文件,还是解决不了。。