当我尝试登录我的应用程序时,收到以下错误消息:
Mar 13, 2014 11:56:56 AM org.apache.catalina.realm.DataSourceRealm getPassword
SEVERE: Exception retrieving password for username
一些配置:
<Resource auth="Container"
driverClassName="com.mysql.jdbc.Driver"
factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
global="jdbc/ARAIDB"
maxActive="100"
maxIdle="30"
maxWait="10000"
name="jdbc/ARAIDB"
password=""
type="javax.sql.DataSource"
url="jdbc:mysql://localhost:3306/arai_prod"
username="root"/>
<Realm className="org.apache.catalina.realm.DataSourceRealm"
dataSourceName="jdbc/ARAIDB"
roleNameCol="role_name"
userCredCol="password"
userNameCol="account_name"
userRoleTable="accounts_role"
userTable="active_account"/>
提前致谢