tomcat配置realm问题
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
connectionURL="jdbc:microsoft:sqlserver://camden:1433;DatabaseName=nmw;SelectMethod=cursor"
connectionName="sa" connectionPassword=""
userTable="USR" userNameCol="USR_ID" userCredCol="PWD"
userRoleTable="USR_ROLE" roleNameCol="ROLE_NAME" />
在Tomcat4.1中没有问题
但是在Jbuilder自带的Tomcat4.0中,用jb启动Tomcat,就会报错:
No Realm has been configured to authenticate against
why?