Hi mrcasa:

Check this out: 
https://groups.google.com/a/apereo.org/forum/#!mydiscussions/cas-user/owDv2KPDVxc
 

Regards

El jueves, 8 de diciembre de 2016, 0:14:15 (UTC-4), mrcasa escribió:
>
> Hello!
>
> I'm trying to get JPA service registry working using gradle overlay.  Here 
> is the exception I run into when I run cas.war - 
>
> 2016-12-07 02:06:49,062 ERROR 
> [org.springframework.boot.context.embedded.tomcat.TomcatStarter] - <Error 
> starting Tomcat context. Exception: 
> org.springframework.beans.factory.UnsatisfiedDependencyException. Message: 
> Error creating bean with name 'casLoggingConfiguration': Unsatisfied 
> dependency expressed through field 'ticketRegistrySupport'; nested 
> exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casCoreTicketsConfiguration': Unsatisfied 
> dependency expressed through field 'httpClient'; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'casCoreAuthenticationConfiguration': Unsatisfied 
> dependency expressed through field 'servicesManager'; nested exception is 
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
> creating bean with name 'servicesManager' defined in class path resource 
> [org/apereo/cas/config/CasCoreServicesConfiguration.class]: Unsatisfied 
> dependency expressed through method 'servicesManager' parameter 0; nested 
> exception is org.springframework.beans.factory.BeanCreationException: Error 
> creating bean with name 'jpaServiceRegistryDao': Injection of persistence 
> dependencies failed; nested exception is 
> org.springframework.beans.factory.BeanCreationException: Error creating 
> bean with name 'inspektrAuditEntityManagerFactory' defined in class path 
> resource 
> [org/apereo/cas/audit/config/CasSupportJdbcAuditConfiguration.class]: 
> Invocation of init method failed; nested exception is 
> javax.persistence.PersistenceException: [PersistenceUnit: 
> jpaInspektrAuditContext] Unable to build Hibernate SessionFactory>
> 2016-12-07 02:06:49,125 WARN 
> [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext]
>  
> - <Exception encountered during context initialization - cancelling refresh 
> attempt: org.springframework.context.ApplicationContextException: Unable to 
> start embedded container; nested exception is 
> org.springframework.boot.context.embedded.EmbeddedServletContainerException: 
> Unable to start embedded Tomcat>
>
> My build.gradle dependencies looks like -
>
> dependencies {
>     compile "org.apereo.cas:cas-server-webapp:${project.'cas.version'}@war"
>     compile 
> "org.apereo.cas:cas-server-support-jdbc:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-jdbc-drivers:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-audit-jdbc:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-jpa-service-registry:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-jpa-util:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-jpa-ticket-registry:${project.'cas.version'}"
> }
>
> Any help with figuring out the JPA dependencies will be much appreciated.
>
> Thank you!
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/31cc5e95-b17d-4165-8ac6-c8bcb12fbdc5%40apereo.org.

Reply via email to