Hi,
I've some problems trying setup a JPA TicketRegistry. Tickets are not
being created in the database and I dont't know why.
1) I copied the ticketRegistry.xml from the Jasig CAS Wiki
2) I pasted the dependencies in pom.xml
3) When I try to authenticate with this new environment CAS thrown me
the typical error ("CAS is Unavailable") in the UI, but the logs are
empty of errors.
4) My datasource is working, I know. Actually, I'm using it with the
Service Manager.
Any ideas? Thanks in advance...
Environment
==========================================
CAS 3.3.5
OAS10G: 10.1.3
DB Oracle 9i : (9.2.0.6)
Toolkit PL/SQL: 9.0.4
JDK: 5 (1.5)
J2EE: 1.0
API Servlets: 2.4
JSP: 2.0
JDBC: 3.0
XDK: 10.1.3
This is the log output when I try to authenticate a
=========================================================================================================
2010-07-08 11:50:48,050 DEBUG
[org.jasig.cas.web.flow.InitialFlowSetupAction] - <Action
'InitialFlowSetupAction' beginning execution>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.support.CasArgumentExtractor] - <Extractor did not
generate service.>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.support.SamlArgumentExtractor] - <Extractor did not
generate service.>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.flow.InitialFlowSetupAction] - <Action
'InitialFlowSetupAction' completed execution; result is 'success'>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' beginning execution>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Executing
setupForm>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new
form object with name 'credentials'>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new
instance of form object class [class
org.jasig.cas.authentication.principal.UsernamePasswordCredentials]>
2010-07-08 11:50:48,051 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Putting form
object of type [class
org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in
scope Flow with name 'credentials'>
2010-07-08 11:50:48,052 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Creating new
form errors for object with name 'credentials'>
2010-07-08 11:50:48,052 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <No property
editor registrar set, no custom editors to register>
2010-07-08 11:50:48,052 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Putting form
errors instance in scope Flash>
2010-07-08 11:50:48,052 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' completed execution; result is 'success'>
2010-07-08 11:50:48,052 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' beginning execution>
2010-07-08 11:50:48,052 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' completed execution; result is 'success'>
2010-07-08 11:50:55,147 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' beginning execution>
2010-07-08 11:50:55,148 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Executing bind>
2010-07-08 11:50:55,148 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Found existing
form object with name 'credentials' of type [class
org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in
scope Flow>
2010-07-08 11:50:55,148 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <No property
editor registrar set, no custom editors to register>
2010-07-08 11:50:55,148 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Binding allowed
request parameters in map['password' -> 'XXXXXXXX', 'submit' ->
'Acceder', 'lt' ->
'_c88C503D9-C3A2-915B-39A6-1DA53EF155E9_kCB58C61C-EE42-8D7E-E281-3DF7F6D9AA6C',
'username' -> '[email protected]', '_eventId' -> 'submit'] to form object with name
'credentials', pre-bind formObject toString = [username: null]>
2010-07-08 11:50:55,148 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <(Any field is
allowed)>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Binding
completed for form object with name 'credentials', post-bind formObject
toString = [username: [email protected]]>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <There are [0]
errors, details: []>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Executing
validation>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Invoking
validator
org.jasig.cas.validation.usernamepasswordcredentialsvalida...@1e441e44>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Validation
completed for form object>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <There are [0]
errors, details: []>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Putting form
errors instance in scope Flash>
2010-07-08 11:50:55,149 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' completed execution; result is 'success'>
2010-07-08 11:50:55,150 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Action
'AuthenticationViaFormAction' beginning execution>
2010-07-08 11:50:55,150 DEBUG
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - <Found existing
form object with name 'credentials' of type [class
org.jasig.cas.authentication.principal.UsernamePasswordCredentials] in
scope Flow>
2010-07-08 11:50:55,150 DEBUG [org.hibernate.impl.SessionImpl] - <opened
session at timestamp: 12785826551>
2010-07-08 11:50:55,150 DEBUG
[org.hibernate.transaction.JDBCTransaction] - <begin>
2010-07-08 11:50:55,150 DEBUG [org.hibernate.jdbc.ConnectionManager] -
<opening JDBC connection>
2010-07-08 11:50:55,150 DEBUG
[org.hibernate.transaction.JDBCTransaction] - <current autocommit
status: true>
2010-07-08 11:50:55,150 DEBUG
[org.hibernate.transaction.JDBCTransaction] - <disabling autocommit>
2010-07-08 11:50:55,151 DEBUG
[org.jasig.cas.CentralAuthenticationServiceImpl] - <Attempting to create
TicketGrantingTicket for [username: [email protected]]>
2010-07-08 11:50:55,236 DEBUG
[org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] -
<Performing LDAP bind with credential:
uid=example,ou=Usuarios,dc=Telematica>
2010-07-08 11:50:57,459 INFO
[org.jasig.cas.authentication.AuthenticationManagerImpl] -
<AuthenticationHandler:
org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler successfully
authenticated the user which provided the following credentials:
[username: [email protected]]>
2010-07-08 11:50:57,459 DEBUG
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver]
- <Attempting to resolve a principal...>
2010-07-08 11:50:57,460 DEBUG
[org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver]
- <Creating SimplePrincipal for [[email protected]]>
2010-07-08 11:50:57,460 DEBUG
[org.hibernate.event.def.AbstractSaveEventListener] - <generated
identifier:
TGT-3-wXZvpcYN2N0KQf9KAleOzWGAtnQahbhN2iLiDNfF56Q6SoWGaF-caspruebas,
using strategy: org.hibernate.id.Assigned>
2010-07-08 11:50:57,461 DEBUG
[org.hibernate.ejb.AbstractEntityManagerImpl] - <mark transaction for
rollback>
2010-07-08 11:50:57,461 DEBUG
[org.hibernate.transaction.JDBCTransaction] - <rollback>
2010-07-08 11:50:57,461 DEBUG
[org.hibernate.transaction.JDBCTransaction] - <re-enabling autocommit>
2010-07-08 11:50:57,461 DEBUG
[org.hibernate.transaction.JDBCTransaction] - <rolled back JDBC
Connection>
2010-07-08 11:50:57,461 DEBUG [org.hibernate.jdbc.ConnectionManager] -
<aggressively releasing JDBC connection>
2010-07-08 11:50:57,462 DEBUG [org.hibernate.jdbc.ConnectionManager] -
<releasing JDBC connection [ (open PreparedStatements: 0, globally: 0)
(open ResultSets: 0, globally: 0)]>
=========================================================================================================
--
Juan José Vidal <[email protected]>
Universidad de Murcia
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user