Re: Problems with Realm

2012-09-29 Thread sohsoh
I resolved it by changing the column of login from "name" to user_name ,,, thanks to all those who want to help me -- View this message in context: http://tomcat.10.n6.nabble.com/Problems-with-Realm-tp4987265p4987275.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Problems with Realm

2012-09-29 Thread sohsoh
from log file 29 sept. 2012 08:50:36 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 29 sept. 2012 08:50:36 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 29 sept. 2012 08:51:52 org.apache.catalina.realm.JDBCR

Re: Problems with Realm

2012-09-29 Thread Konstantin Kolinko
2012/9/29 sohsoh : > Hello Tomcatters, > > I am beginner in development, I wanted to do the user authentication, I am I > followed a tutorial for it to the letter, but in the final step I fell into > a problem that I did not arrive for a week of web search to solve it > -- after login he goes searc

RE: Problems with Realm

2012-09-29 Thread Martin Gainty
Jose is correct did you implement these steps from the documentation: http://tomcat.apache.org/tomcat-7.0-doc/funcspecs/fs-jdbc-realm.html Acquire the one and only connection [Current] or acquire a connection from the connection pool [Requested]. MG>do you have a valid connection handle?

Re: Problems with Realm

2012-09-29 Thread Jose María Zaragoza
Have a look at Tomcat log files 2012/9/29 sohsoh : > I tried and the same problem ! > > > > -- > View this message in context: > http://tomcat.10.n6.nabble.com/Problems-with-Realm-tp4987265p4987268.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > ---

Re: Problems with Realm

2012-09-29 Thread sohsoh
I tried and the same problem ! -- View this message in context: http://tomcat.10.n6.nabble.com/Problems-with-Realm-tp4987265p4987268.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Problems with Realm

2012-09-29 Thread Jose María Zaragoza
Maybe the web page requested (under /pages/protected/admin/*) is allowed to visit after you login, but that page could need to access to resources stored under others folders non-authorized Try to access a simple web page ( a blank page ) stored under /pages/protected/admin/ to test if realm mecha