Hi,all
I got the attraction example with SQLServer, and everything is fine except

WARNING: Security role name attraction used in an <auth-constraint> without being defined in a <security-role>
and When I logon
I got this
message /attraction/j_secruity_check
description The requested resource (/attraction/j_secruity_check) is not available.
Before I came here, I had gone around these resources:
http://tomcat.apache.org/tomcat-3.3-...alm-howto.html
http://www.onjava.com/pub/a/onjava/2002/06/12/form.html
http://p2p.wrox.com/topic.asp?TOPIC_...Authentication
and the Context in server.xml lies below:
<Context path="/attraction" docBase="attraction" debug="0" reloadable="true">
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="com.microsoft.jdbc.sqlserver.SQLServer Driver"
connectionURL="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MK;"
connectionPassword=""
connectionName="mk"
userTable="attraction"
userNameCol="user_id"
userCredCol="password"
userRoleTable="user_role"
roleNameCol="role_name"
/>
</Context>
In the Web.xml:
<security-constraint>
<auth-constraint>
<role-name>attraction</role-name>
</auth-constraint>
</security-constraint>
And I am sure about the basic environment is ok, such as struts.jar,connectionPool,struts-config.xml, Tomcat5.5.16,etc.
Please Help me out, or just communicate here.
I saw so much people come around this problem, but none get answered in this forum.
And Actually I surfing around the websites, maybe this is the last one I can do.
Any useful information on above is appreciated