Resource Menu

posted by Sebastien Jourdain at Apr 14, 2007 5:54 PM
The CAS server seems to have trouble to open a connection to the database with the demo user.
  • Did you create the root user before ? (Register new user)
  • Can you see it in the database ? (table name something like "cas users")
  • Otherwise that might be the CAS server that is unable to access to the LibreSource database under localhost with a database user named demo and an empty password.


posted by JulienRevel at Apr 13, 2007 1:29 AM
After installing 2.1 version on a Win system, I get the following exception when I try to log in (with root/root) I added a 'demo' role to the 'libresource' pg database, that is correctly created. The password of 'demo' is empty, at least I hope this is the case, as I ccan't open the db with psql and demo user, with an empty pwd… Any idea ?

2007-04-13 01:19:40,938 : SEVERE : http-9043-Processor25 : StandardWrapperValve.invoke :    Servlet.service() for servlet Login threw exception
	at org.esupportail.cas.server.handlers.database.LSDatabaseHandler.authenticate(Unknown Source)
	at org.esupportail.cas.server.GenericHandler.authenticate(Unknown Source)
	at Source)
	at Source)
	at javax.servlet.http.HttpServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.access$000(
	at org.apache.catalina.core.ApplicationFilterChain$
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
	at org.apache.catalina.core.StandardContextValve.invoke(
	at org.objectweb.jonas.web.catalina55.ResetAuthenticationValve.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(