I'm sorry I can't help you, but it would be very sweet if you could share
your effective serviceticket or ticketgrantingticket table schema from the
times when you were using PostgrelSQL as ticket registry for CAS 5...

Regards,

Uxío Prego



Madiva Soluciones
CL / SERRANO GALVACHE 56
BLOQUE ABEDUL PLANTA 4
28033 MADRID
+34 917 56 84 94
www.madiva.com
www.bbva.com

The activity of email inboxes can be systematically tracked by colleagues,
business partners and third parties. Turn off automatic loading of images
to hamper it.

2018-02-07 9:03 GMT+00:00 Mike Kromarek <mkroma...@gmail.com>:

> I recently switched from the Postgresql JPA ticket registry to MongoDB and
> am having a strange issue.  The authentication succeeds, but then it fails
> to add the ticket to the mongo database, causing the process to fail and
> return to the login screen.
>
> -- cas.properties --
> cas.ticket.registry.mongo.host=localhost
> cas.ticket.registry.mongo.userId=<redacted>
> cas.ticket.registry.mongo.password=<redacted>
> cas.ticket.registry.mongo.databaseName=casdb
> cas.ticket.registry.mongo.collectionName=cas-ticket-registry
> cas.ticket.registry.mongo.dropCollection=false
> cas.ticket.registry.mongo.timeout=5000
> cas.ticket.registry.mongo.writeConcern=NORMAL
> cas.ticket.mongo.conns.lifetime=60000
> cas.ticket.mongo.conns.perHost=10
> cas.ticket.registry.mongo.idleTimeout=30000
>
>
> CAS connects to the database with the specified user, makes all the tables
> and seems like everything should be good.  Then it encodes the TGT, but
> fails to add it.
>
>
> 2018-02-07 00:46:30,024 DEBUG [org.apereo.cas.ticket.factory.
> DefaultTicketGrantingTicketFactory] - <Encoded ticket-granting ticket id
> [TGT-******************************************3wOfaglzGL-
> JNpegctV--qfA0S5-xCE-aws-stage-cas.highline.edu]>
> 2018-02-07 00:46:30,025 DEBUG 
> [org.apereo.cas.ticket.registry.MongoDbTicketRegistry]
> - <Adding ticket [TGT-******************************************
> 3wOfaglzGL-JNpegctV--qfA0S5-xCE-aws-stage-cas.highline.edu]>
> 2018-02-07 00:46:30,118 ERROR 
> [org.apereo.cas.ticket.registry.MongoDbTicketRegistry]
> - <Failed adding [TGT-******************************************
> 3wOfaglzGL-JNpegctV--qfA0S5-xCE-aws-stage-cas.highline.edu]: [java.lang.
> NullPointerException]>
> 2018-02-07 00:46:30,118 DEBUG [org.apereo.cas.
> AbstractCentralAuthenticationService] - <Publishing
> [org.apereo.cas.support.events.ticket.CasTicketGrantingTicketCreated
> Event@2c84b7f8[ticketGrantingTicket=TGT-*****
> *************************************3wOfaglzGL-JNpegctV--
> qfA0S5-xCE-aws-stage-cas.highline.edu]]>
>
> Has anyone else ran into this?
>
> --Mike K
>
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/051a23e8-bb02-48a3-ab26-
> 86b9a2fa3c40%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/051a23e8-bb02-48a3-ab26-86b9a2fa3c40%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CANidDKYVAdV7t0SdMHA1gF3MF4AN_seyJMS_bN8CWAYr3RmTOw%40mail.gmail.com.

Reply via email to